| generate_test_data {mgss} | R Documentation |
Generate multi-dimensional test data for spline smoothing.
Description
Generate a P-dimensional test data set based on a sigmoid function.
Usage
generate_test_data(n, P, split = 0.8)
Arguments
n |
Numer of samples |
P |
Spatial dimension |
split |
A value between |
Value
A list of the covarite matrices for the train and test data X_train and X_test and of the variable of interest y_train and y_test.
Examples
generate_test_data(100, 2)
[Package mgss version 1.2 Index]