initialize_x: intialize_x

Description Usage Arguments Value Note Examples

View source: R/initialize_x.R

Description

Initialize all x values to the value of concordance

Usage

1
initialize_x(Model, concordance = 1, cores = 1, verbose = FALSE)

Arguments

Model

a Model object of class gemini.model

concordance

a numeric value to initialize x

cores

a numeric indicating the number of cores to use. See gemini_parallelization default 1.

verbose

default FALSE

Value

a Model object of class gemini.model including new slots for x values and internal-use hashes

Note

As there is much hashing involved in this function, this tends to be computationally intensive. As such, we have enabled parallelization of most hash steps, but this may still be rate-limited by the amount of memory consumed.

Examples

1
2
data("Model", package = "gemini")
Model %<>% initialize_x()

gemini documentation built on Nov. 8, 2020, 8:22 p.m.