Learn R Programming

sourceR (version 1.1.0)

Q: Constructs initial values for q

Description

The Q constructor returns a R6 Q_ class which feeds sanitised initial values for q into the model.

Usage

Q(data, q, type)

Arguments

data

long-format data.frame containing type-name and q-value for each observation.

q

name of 'q' column

type

name of type column

Value

A Q_ data structure for use in sourceR models