The function confirming the input variables fit the requirements of the tensorReg2D function.
Check_tidy_input(y, X, W, n_R, family)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.
A numerical vector. Dependent variable.
A numerical 3-D array. Independent variable(3-D tensor).
A numerical matrix. Independent variable.
A numerical constant. A predefined value determines the rank of the approximate matrix
Family of generalized linear model. Provide three options for model.(see more details in Details)