restrict_data {MaxWiK} | R Documentation |
Function to restrict data in the size to accelerate the calculations
Description
restrict_data()
is based on rejection ABC method to restrict original dataset
Usage
restrict_data(par.sim, stat.sim, stat.obs, size = 300)
Arguments
par.sim |
Data frame of parameters |
stat.sim |
Data frame of outputs of simulations |
stat.obs |
Data frame of observation point |
size |
Integer number of points to leave from original dataset |
Value
restrict_data()
returns the list of:
par.sim - restricted parameters which are close to observation point
stat.sim - restricted stat.sim which are close to observation point
Examples
MaxWiK::MaxWiK_templates(dir = tempdir()) # See the templates and vignettes for usage.
[Package MaxWiK version 1.0.5 Index]