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

Minor inconsistency in output of lambda() #57

Closed
Aariq opened this issue Apr 20, 2022 · 2 comments
Closed

Minor inconsistency in output of lambda() #57

Aariq opened this issue Apr 20, 2022 · 2 comments

Comments

@Aariq
Copy link
Contributor

Aariq commented Apr 20, 2022

A very minor inconsistency, but the output of lambda() on a deterministic IPM is a named vector and the output on a stochastic IPM is unnamed.

lambda(ipm_det)

#    lambda 
# 0.9790214 

lambda(ipm_det_ff) %>% names()
# [1] "lambda"

lambda(ipm_stoch)
# log(lambda) is returned by default for stochastic models. Set 'log = FALSE' for lambda on linear scale.
# [1] -0.02078642

lambda(ipm_stoch_ff) %>% names()
# log(lambda) is returned by default for stochastic models. Set 'log = FALSE' for lambda on linear scale.
# NULL
@levisc8
Copy link
Collaborator

levisc8 commented Apr 20, 2022

hm, that is not great - sorry about that. I'll get to this when I address #50

@levisc8
Copy link
Collaborator

levisc8 commented Apr 26, 2022

Believe this is fixed now as well, but let me know if you still have issues!

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