Learn R Programming

jaatha (version 3.2.5)

create_jaatha_data: Prepare the observed data for Jaatha

Description

By default, this function assumes that the observed data is in a format identical to the format of the simulation results, before the summary statistics are calculated.

Usage

create_jaatha_data(data, model, ...)

# S3 method for default create_jaatha_data(data, model, ...)

Arguments

data

The data to be analysed with Jaatha. It should be in a format identical to the simulation results (see create_jaatha_model).

model

The jaatha model, see create_jaatha_model.

...

Currently ignored.

Methods (by class)

  • create_jaatha_data(default): The data's format is identicial to the simulated data.

Demographic Inference

When used with coala, coala::calc_sumstats_from_data() should create output that is compatible with this function.