SetVbleCluster: Constructs a variable that indicates the locations and times...

Description Usage Arguments Value

Description

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.

Usage

1
SetVbleCluster(stfdf, idTime, idSpace)

Arguments

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.

Value

vector with 1's or 0's that indicates the locations and times that pertain to a cluster.



Search within the DClusterm package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.