covFracBM function

covFracBM

covFracBM

This is a constructor function for the "covFracBM" class, representing a fractional Brownian motion component in terms of a continuous variable. The object created is a special type of corStruct.

covFracBM(value = c(1, 0.5), form = ~1)

Arguments

  • value: Vector of length 2 providing starting values for optimisation of the scale parameter of fractional Brownian motion process relative to residual error variance and the Hurst parameter, respectively.
  • form: A one-sided formula of the form ~t|g, where t represents a continuous variable (usually time) and g represents a grouping factor, i.e. with a separate fractional Brownian motion process modelled at each level.

Returns

An object of class "covFracBM" and inheriting from "corStruct".

Examples

cov2<-covFracBM(form=~time|group)
  • Maintainer: Oliver Stirrup
  • License: GPL-3
  • Last published: 2015-10-14

Useful links