powered by
Generates simulated data for use in experiments
sim_data(type = "step1D", ds = 0.001, n = 300L, sigma2y = NULL)
sim_data returns a list containing the following items:
sim_data
Process locations on a fine grid with spacing ds
ds
Observation locations
The warping function (when this is also simulated)
The true process on the fine grid
The simulated observation data
type of function. Can be 'step1D', 'Monterrubio1D', 'dampedwave1D', 'step2D', 'AWU_RBF_2D', or 'AWU_RBF_LFT_2D'
spatial grid length
number of data points
measurement-error variance
# \donttest{ if (reticulate::py_module_available("tensorflow")) { sim <- sim_data(type = "step1D", ds = 0.001) } # }
Run the code above in your browser using DataLab