sim.tensor.cov {TULIP} | R Documentation |
Simulate data
Description
Simulate a data set with tensor predictor and covariates.
Usage
sim.tensor.cov(tesize = 100)
Arguments
tesize |
Number of observations in testing data. |
Details
The function simulates a data set with 10\times 10\times 10
tensor and covariate being a two-dimensional vector. Response are binary.
Value
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 |
Author(s)
Yuqing Pan, Qing Mai, Xin Zhang
[Package TULIP version 1.0.2 Index]