powered by
restrict_data() is based on rejection ABC method to restrict original dataset
restrict_data()
restrict_data(par.sim, stat.sim, stat.obs, size = 300)
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
Data frame of parameters
Data frame of outputs of simulations
Data frame of observation point
Integer number of points to leave from original dataset
MaxWiK::MaxWiK_templates(dir = tempdir()) # See the templates and vignettes for usage.
Run the code above in your browser using DataLab