View source: R/001_data_simulation.R
TRR_GGM_simulated_data | R Documentation |
Simulated data for tensor response regression with Gaussian graphical model
TRR_GGM_simulated_data(
subjects = 20,
regions = 10,
max_time = 200,
margin_sizes = c(10, 10, 10),
SNR = 1,
CNR = 0.05,
conn_regions = 2,
conn_level = 0.9
)
subjects |
The number of subjects in the data (a scalar) |
regions |
The number of response tensors per subject in the simulated data |
max_time |
The length of the tensor time series (a scalar) |
margin_sizes |
The sizes of the tensor coefficients (a vector) |
SNR |
The signal-to-noise ratio (a scalar), as defined in Welvaert, M., & Rosseel, Y. (2013). On the definition of signal-to-noise ratio and contrast-to-noise ratio for fMRI data. PloS one, 8(11), e77089. |
CNR |
The contrast-to-noise ratio (a scalar), as defined in Welvaert, M., & Rosseel, Y. (2013). On the definition of signal-to-noise ratio and contrast-to-noise ratio for fMRI data. PloS one, 8(11), e77089. |
conn_regions |
The number of response tensors that should have nonzero partial correlations |
conn_level |
The partial correlation for the connected regions |
A list with class TRR_GGM_data
with elements Y
,
x
, true_d
, true_B
, and true_d_covar
## Not run:
input <- TRR_GGM_simulated_data()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.