Open skiptoniam opened 2 years ago
@cvisintin any chance we can add extra parameters to the carry capacity function rather than writing a custom cc function each time.
https://github.com/steps-dev/steps/blob/51c081f399f5ebbc643e7408613eb12c11f72b0f/R/utils.R#L75
Something like:
res <- cc(landscape, timestep, ...)
Would also require dots in the get_carrying_capacity function
get_carrying_capacity
So when you define a function for cc you also add the extra parameter values to the landscape function
landscape
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.
@cvisintin any chance we can add extra parameters to the carry capacity function rather than writing a custom cc function each time.
https://github.com/steps-dev/steps/blob/51c081f399f5ebbc643e7408613eb12c11f72b0f/R/utils.R#L75
Something like:
res <- cc(landscape, timestep, ...)
Would also require dots in the
get_carrying_capacity
functionSo when you define a function for cc you also add the extra parameter values to the
landscape
function