fexp: Exponential covariance function

View source: R/extrafunctions.R View source: R/RcppExports.R

fexpR Documentation

Exponential covariance function

Description

Exponential covariance function

Exponential covariance function

Usage

fexp(x)

fexp(x)

Arguments

x

A list with named elements 'pars' and 'data'. 'pars' is a vector with one parameter values, and 'data' is the data 'x'

par1

First parameter of the distribution

Details

θ_1 exp(-x/θ_2)

The function:

\dexp

f(x) = \theta_1*exp(-\theta_2*x)

Value

vector of values of the function

Examples

fexp(list(pars = c(1,0.2),data=runif(10)))

samuel-watson/glmmr documentation built on July 27, 2022, 10:30 p.m.