View source: R/gaussian_param_by_factor.R
gaussian_param_by_factor | R Documentation |
Calculate the parameters of Gaussian speeds
gaussian_param_by_factor(logspeeds, byFactor, states = NULL)
logspeeds |
A numeric vector of speed observations (in km/h) on the (natural) log-scale, of size |
byFactor |
A vector of factors (link + time bin) of size |
state_prob |
An |
gaussian_param_by_factor
returns a list of two matrices of identical dimensions m X nQ
where m = number of levels
(links + timeBins). The first list mean
contains the vector of means
for each level and state. The second list sigma2
contains the vector of variances for each level and state.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.