Check_tidy_input: The function confirming the input variables fit the...

View source: R/tensorReg2D.R

Check_tidy_inputR Documentation

The function confirming the input variables fit the requirements of the tensorReg2D function.

Description

The function confirming the input variables fit the requirements of the tensorReg2D function.

Usage

Check_tidy_input(y, X, W, n_R, family)

Arguments

y

A numerical vector. Dependent variable.

X

A numerical 3-D array. Independent variable(3-D tensor).

W

A numerical matrix. Independent variable.

n_R

A numerical constant. A predefined value determines the rank of the approximate matrix

family

Family of generalized linear model. Provide three options for model.(see more details in Details)

Value

A list. DATA: list of input data.DATA$y is the dependent variable. DATA$X is the 3-D tensor independent variables. DATA$W is other independent variables.

fm: The model expression shown in summary.tsglm.


TensorTest2D documentation built on Sept. 11, 2024, 5:34 p.m.