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

Suggestion: Warn user when ddep = 0 and K != Inf #110

Open
Neves-P opened this issue Aug 3, 2020 · 0 comments
Open

Suggestion: Warn user when ddep = 0 and K != Inf #110

Neves-P opened this issue Aug 3, 2020 · 0 comments
Labels
enhancement New feature or request suggestion

Comments

@Neves-P
Copy link
Collaborator

Neves-P commented Aug 3, 2020

In the DAISIE_ML() functions, the user can specify the type of diversity dependence (DD) to be considered by setting the ddep argument to different integers.

ddep = 0 by default, results in no diversity dependence being considered in the MLE. However, a user can still specify a "valid" value of K to the estimation routine, which implies that diversity dependence is being considered. This is compounded by the fact that in the DAISIE_sim() functions, DD is specified by setting K in pars to be != Inf. It is easy for a user to mean DD in the routine, but leave ddep = 0 by mistake as it is the default (see Neves-P/DAISIErobustness#43). I suggest we add a warning() when ddep = 0 and K != Inf in initparsopt to mitigate this issue.

@Neves-P Neves-P added the enhancement New feature or request label Aug 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request suggestion
Projects
None yet
Development

No branches or pull requests

1 participant