View source: R/similarity_var.R
similarity_var | R Documentation |
sim_fit
objectCalculate the similarity between a single path generated by sim_fit and the observed path used in the SSM fit. In this context, similarity is calculated using the mean, median, variance, standard deviation, sum, min, or max of a user-supplied variable appended to the observed and simulated tracks.
similarity_var(track, sim_track, var, FUN = "mean", ...)
track |
a dataframe containing longitude and latitudes of the observed path used in the SSM fit |
sim_track |
a dataframe containing the longitude and latitude of a single simulated path from sim_fit |
FUN |
the function used to summarise the user-supplied variable |
a single value representing the similarity between the two paths
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.