Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

predict() command has two different modes #33

Closed
lmiratrix opened this issue Sep 1, 2020 · 2 comments
Closed

predict() command has two different modes #33

lmiratrix opened this issue Sep 1, 2020 · 2 comments

Comments

@lmiratrix
Copy link

lmiratrix commented Sep 1, 2020

It appears as if predict( acsm, att=TRUE ) gives a different output than predict( acsm, att=FALSE ). Is that by design?

> p1 = predict( syn, att=TRUE )
> class( p1 )
[1] "numeric"
> p2 = predict( syn, att=FALSE )
> class( p2 )
[1] "matrix"
@ebenmichael
Copy link
Owner

I finally got to this! It was not by design, and it turns out leading to unnecessary code. Now everything should be a numeric vector.

@lmiratrix
Copy link
Author

lmiratrix commented Jan 15, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants