coefWriteout: Create 'data.table' with 'bdotsObj' parameters

View source: R/helper.R

coefWriteoutR Documentation

Create data.table with bdotsObj parameters

Description

Creates an object of class data.table that matches parameter values for each observation. This can then be passed to the bdotsRefit function

Usage

coefWriteout(bdObj)

Arguments

bdObj

An object returned from bdotsFit or bdotsRefit

Value

A data.table matching parameter values to observations

Examples

## Not run: 
fit <- bdotsFit(data = cohort_unrelated,
                subject = "Subject",
                time = "Time",
                y = "Fixations",
                group = c("Group", "LookType"),
                curveType = doubleGauss(concave = TRUE),
                cor = TRUE,
                numRefits = 2,
                cores = 0,
                verbose = FALSE)
parDT <- coefWriteout(fit)

## End(Not run)

bdots documentation built on Jan. 7, 2023, 1:18 a.m.