transform11: Transform a design to [-1, 1]^d

Description Usage Arguments Value Examples

View source: R/fit_SSM.R

Description

This function transforms a design (supplied as a matrix) into the space [-1, 1]^d. This has numerical and computational advantages when using smooth supersaturated models and is assumed by the default fit.ssm behaviour.

Usage

1
transform11(design)

Arguments

design

A matrix where each row is a design point.

Value

A matrix where each column contains values in [-1, 1]^d.

Examples

1
2
X <- transform11(quakes[, 1:4])
apply(X, 2, range)

SSM documentation built on May 1, 2019, 10:09 p.m.