as.separate: Split an object of class 'experiment' into a list of...

as.separateR Documentation

Split an object of class experiment into a list of univariate datasets

Description

Split an experiment object into univariate designs; return a list with elements suitable for univariate analysis with the emulator package.

Usage

as.separate(expt)

Arguments

expt

Object of class experiment

Author(s)

Robin K. S. Hankin

Examples

require(emulator)

data(mtoys)
d <- obs_maker(toy_mm, toy_mhp, toy_LoF, toy_beta)

ex <- experiment(toy_mm, d)
jj <- as.separate(ex)   #list of 3: temp,rain,humidity


# now use it in a univariate emulator:
kk <- jj$temp
interpolant.quick(x=latin.hypercube(3,4),d=kk$obs,xold=kk$val,scales=rep(1,4))






multivator documentation built on Aug. 22, 2023, 9:10 a.m.