Description Usage Arguments Value Examples
get_means
computes the linear combination of parameters defined to be the data model mean for a given set of sampled states.
1 |
states |
A three dimensional array of sampled states such as that given by |
harmonics |
An integer in 1 to 6 specifiying the number of harmonics to model seasonality.
Must be consistent with specification in |
crime_types |
Character vector specifying the types of crimes to include in the analysis. The function requires at least two crime types. |
Returns a list with two objects: ts_means and crime_types. ts_means is a three dimensional array where dimension one corresponds to the sample/iteration, dimension two corresponds to the number of time points, and dimension three corresponds to the crime type. crime_types returns the crime_types argument specified in the function. This serves as a reminder of the ordering of crime types, which is important for interpreting the ts_means output as well as making sure that the order of crime types is consistent between other functions.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.