Learn R Programming

MaxWiK (version 1.0.6)

restrict_data: 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)

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

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

Examples

Run this code
MaxWiK::MaxWiK_templates(dir = tempdir()) # See the templates and vignettes for usage.

Run the code above in your browser using DataLab