Get parameter values used in ensemble
Usage
get.ensemble.samples(
ensemble.size,
pft.samples,
env.samples,
method = "random",
param.names = NULL,
...
)Arguments
- ensemble.size
number of runs in model ensemble
- pft.samples
random samples from parameter distribution, e.g. from a MCMC chain
- env.samples
env samples
- method
the method used to generate the ensemble samples. Random generators: uniform, uniform with latin hypercube permutation. Quasi-random generators: halton, sobol, torus. Random generation draws random variates whereas quasi-random generation is deterministic but well equidistributed. Default is uniform. For small ensemble size with relatively large parameter number (e.g ensemble size < 5 and # of traits > 5) use methods other than halton.
- param.names
a list of parameter names that were fitted either by MA or PDA, important argument, if NULL parameters will be resampled independently
- ...
Other arguments passed on to the sampling method