timefunction.bridge: Timefunction and bridge

View source: R/kovMat.R

timefunction.bridgeR Documentation

Timefunction and bridge

Description

Creates a 'bridged' time function, i.e. a combination of an 'ordinary' time function and a bridge covariance. As the result is a time function, it can be used in conjunction with kovMat.

Usage

timefunction.bridge(s, t, coef, timefunction, ...)

Arguments

s, t
coef

Coefficients for bridge

timefunction

A timefunction

...

Parameters passed to timefunction

Value

A time function structure.

Examples


f <- function(s, t, param) timefunction.bridge(s, t, coef = c(param[1],param[2]), OUtid, lambda = param[3])

ti <- seq(0, 1, 0.02)

outer(ti , ti, f, param = c(0.2, 1, 0.7)) 
outer(ti , ti, f, param = c(1, 0, 0.7)) 
# Try make a contour plot to see the differences



naolsen/simm.fda documentation built on June 28, 2022, 2:41 a.m.