Learn R Programming

safi (version 1.0)

accessSafiDesign: Print functional input design as convenient matrix

Description

The functional input design is printed at a chosen number of time points to allow for data transfer to the output model.

Usage

accessSafiDesign(s.d, n.timepoints)

Arguments

s.d
safidesign-object
n.timepoints
number of desired time points at which to evaluate the functions, either one value (the same number for all inputs) or a vector of length d.f (different numbers for the inputs)

Value

List of matrices of input design functions (one for each input)

Examples

Run this code
# 1 functional input
s.d <- createSafiDesign(d.f = 1)
s.d2 <- splitSafiDesign(s.d = s.d, new.split.points = list(c(0.25, 0.75)))
accessSafiDesign(s.d2, n.timepoints = 20)

# 3 functional inputs
s.d <- createSafiDesign(d.f = 3)
s.d2 <- splitSafiDesign(s.d = s.d, new.split.points = list(c(0.5), c(0.25, 0.75), 
  c(0.25, 0.5, 0.75)))
accessSafiDesign(s.d = s.d2, n.timepoints = c(2, 4, 10)) 

Run the code above in your browser using DataLab