Description Usage Arguments Details Value Author(s)
View source: R/sim.tensor.cov.R
Simulate a data set with tensor predictor and covariates.
1 | sim.tensor.cov(tesize = 100)
|
tesize |
Number of observations in testing data. |
The function simulates a data set with 10\times 10\times 10 tensor and covariate being a two-dimensional vector. Response are binary.
x |
Simulated tensor predictor. |
z |
Simulated covariate. |
testx |
Simulated testing tensor predictor. |
testz |
Simualted testing covariate. |
vec_x |
Vectorization of |
vec_testx |
Vectorization of |
y |
Response corresponding to |
testy |
Response corresponding to |
Yuqing Pan, Qing Mai, Xin Zhang
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.