gr: Group indicator covariance function

View source: R/extrafunctions.R

grR Documentation

Group indicator covariance function

Description

Group indicator covariance function

Usage

gr(x)

Arguments

x

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

Details

The function:

\dexp

f(x) = 1(x==0)*\theta_1

Value

vector of values of the function

Examples

fexp(list(pars = c(0.8),data=c(0,1,0,2,3,4,0)))

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