Learn R Programming

bdots (version 1.2.5)

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

Value

A data.table matching parameter values to observations

Arguments

bdObj

An object returned from bdotsFit or bdotsRefit

Examples

Run this code
if (FALSE) {
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)
}

Run the code above in your browser using DataLab