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

Any chance we can pass multiple options to cc function via dots? #36

Open
skiptoniam opened this issue Oct 4, 2022 · 1 comment
Open

Comments

@skiptoniam
Copy link
Collaborator

skiptoniam commented Oct 4, 2022

@cvisintin any chance we can add extra parameters to the carry capacity function rather than writing a custom cc function each time.

res <- cc(landscape, timestep)

Something like:

res <- cc(landscape, timestep, ...)

Would also require dots in the get_carrying_capacity function

So when you define a function for cc you also add the extra parameter values to the landscape function

@skiptoniam
Copy link
Collaborator Author

Just to clarify, I mean for multiple simulations. Where I have a ccfun, but what changes is the parameter values, rather than the function it's self.

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

1 participant