generate_test_data: Generate multi-dimensional test data for spline smoothing.

Description Usage Arguments Value Examples

View source: R/test_data_functions.R

Description

Generate a P-dimensional test data set based on a sigmoid function.

Usage

1

Arguments

n

Numer of samples

P

Spatial dimension

split

A value between 0 and 1 for the train / test split.

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

1

mgss documentation built on May 10, 2021, 9:07 a.m.