mk_model: Make a new model object

Description Usage Arguments Value See Also

View source: R/mk_model.R

Description

This function is a wrapper calling Tucker_model$new() or CP_model$new() depending on whether params$decomp=='Tucker' or params$decomp=='CP'

Usage

1
mk_model(d, params)

Arguments

d

An input_data object. See input_data.

params

A list of parameter values get_model_params.

Value

CP_model or Tucker_model object

See Also

Tucker_model, CP_model


nathanlazar/BaTFLED3D documentation built on May 23, 2019, 12:19 p.m.