Description Usage Arguments Value Author(s)
View source: R/ldhmm-calc_stats_from_obs.R
This utility computes the statistics (mean, sd, kurtosis, length) for each state.
It can be based on the local or global decoding result. The concept of asymptotic
statistics can be applied by which the largest N observations (in absolute term)
can be dropped to avoid distortion from outliers.
It is assumed the object already has come with filled data in
observations, states.prob, states.local, states.global
slots.
1 2 3 | ldhmm.calc_stats_from_obs(object, drop = 0, use.local = TRUE)
ldhmm.drop_outliers(x, drop = 1)
|
object |
an ldhmm object that contains the observations. |
drop |
numeric, an integer to drop the largest N observations, default is zero. |
use.local |
logical, use local decoding result, default is |
x |
numeric, the observations. |
an ldhmm object containing results of decoding
Stephen H. Lihn
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.