Learn R Programming

pmc (version 0.0-8)

simulate_and_update: Internal helper function Simulates under model A, updates both A and B based on that data

Description

Internal helper function Simulates under model A, updates both A and B based on that data

Usage

simulate_and_update(A, B)

Arguments

A
model with simulate & update methods
B
another model with simulate & update methods

Value

  • a list of with fit of A on data simulated under A, the fit on B on data simulated under A, and the simulated data itself