getKernel {smmR} | R Documentation |
Method to get the semi-Markov kernel
Description
Computes the semi-Markov kernel .
Usage
getKernel(x, k, var = FALSE, klim = 10000)
Arguments
x |
An object of S3 class |
k |
A positive integer giving the time horizon. |
var |
Logical. If |
klim |
Optional. The time horizon used to approximate the series in the
computation of the mean sojourn times vector |
Value
An array giving the value of at each time between 0
and
k
if var = FALSE
. If var = TRUE
, a list containing the
following components:
x: an array giving the value of
at each time between 0 and
k
;sigma2: an array giving the asymptotic variance of the estimator
.
[Package smmR version 1.0.3 Index]