Description Usage Arguments Value
View source: R/glm.iscluster.R
This function constructs a variable that indicates the locations and times that pertain to a cluster. Each position of the variable is equal to 1 if it corresponds to a location and time inside the cluster, and 0 otherwise. This is one of the explanatory variables used in the glmAndZIP.iscluster function to model the observed cases.
1 | SetVbleCluster(stfdf, idTime, idSpace)
|
stfdf |
spatio-temporal class object containing the data. |
idTime |
vector with the indexes of the stfdf object corresponding to the time inside the cluster. |
idSpace |
vector with the indexes of the stfdf object corresponding to the locations inside the cluster. |
vector with 1's or 0's that indicates the locations and times that pertain to a cluster.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.