Description Usage Arguments Details Value Author(s) See Also Examples
coef.durationFit and logLik.durationFit extract
components of a durationFit object, while is.durationFit
tests if its argument is such an object.
1 2 3 4 5 | ## S3 method for class 'durationFit'
coef(object,...)
## S3 method for class 'durationFit'
logLik(object,...)
is.durationFit(obj)
|
object |
a |
obj |
an object to be tested
against a |
... |
see |
Everything is trivial here.
coef.durationFit returns the coefficients or the estimates or
the fitted parameters of the object: a 2 elements named vector.
logLik.durationFit returns the loglikelihood value.
is.durationFit returns TRUE if its argument is a
durationFit object and FALSE otherwise.
Christophe Pouzat christophe.pouzat@gmail.com
compModels,
invgaussMLE,
lnormMLE,
llogisMLE,
rexpMLE,
gammaMLE,
weibullMLE
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
## load CAL1S data
data(CAL1S)
## convert the data into spikeTrain objects
CAL1S <- lapply(CAL1S,as.spikeTrain)
## look at the train of the 1sd neuron
CAL1S[["neuron 1"]]
## fit a invgauss model to the 1st neuron spike train
n1SDFig <- invgaussMLE(CAL1S[["neuron 1"]])
is.durationFit(n1SDFig)
coef(n1SDFig)
logLik(n1SDFig)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.