response-methods: Methods for Additional Response Models

Description Usage Arguments

Description

Various methods for uniform, von Mises, and gamma response models to be used with depmixS4.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
## S4 method for signature 'unif'
show(object)

## S4 method for signature 'response'
getpars(object, which = "pars", ...)

## S4 method for signature 'unif'
setpars(object, values, which = "pars", ...)

## S4 method for signature 'unif'
predict(object)

## S4 method for signature 'unif'
simulate(object, nsim = 1, seed)

## S4 method for signature 'vMF'
show(object)

## S4 method for signature 'response'
getpars(object, which = "pars", ...)

## S4 method for signature 'vMF'
setpars(object, values, which = "pars", ...)

## S4 method for signature 'vMF'
predict(object)

## S4 method for signature 'vMF'
simulate(object, nsim = 1, seed)

## S4 method for signature 'gamma2'
show(object)

## S4 method for signature 'response'
getpars(object, which = "pars", ...)

## S4 method for signature 'gamma2'
setpars(object, values, which = "pars", ...)

## S4 method for signature 'gamma2'
predict(object)

## S4 method for signature 'gamma2'
simulate(object, nsim = 1, seed)

Arguments

object

An object of class 'depmix', 'depmix.fitted', or 'response'.

which

A single character element. Either 'pars', resulting in the parameters of the object, or 'fixed', resulting in the logical vector of which parameters are fixed.

...

Further arguments to be passed to setpars or getpars

values

A vector of values to be set as the parameters of the object.

nsim

A single integer indicating how many times a data set should be simulated from the object.

seed

A single integer to determine the seed used for data simulation.


maltelueken/gazeHMM documentation built on Oct. 6, 2020, 11:10 a.m.