Learn R Programming

CNVtools (version 1.66.0)

get.model.spec: Get model specifications (internal function)

Description

Internal function to parse the formulas and extract codes for the model, as well as number of parameters

Usage

get.model.spec(model.component, model.mean, model.var, model.nu, design.matrix.mean, design.matrix.variance, ncomp, nbatch)

Arguments

model.component

model.mean

model.var

model.nu

design.matrix.mean

design.matrix.variance

ncomp

nbatch

Value

A list with two components: model code and number of parameters of the model.