Load data into a rgeoprofile_project
prior to analysis.
Data must be formatted as a dataframe with the formatting described bellow.
bind_data(project, df, data_type, name = NULL, check_delete_output = TRUE)
project | an |
---|---|
df | a dataframe with columns that must conform to the following rules:
|
data_type | the type of data, either "counts", "prevalence" or "point-pattern" |
name | optional name of the data set to aid in record keeping |
check_delete_output | whether to prompt the user before overwriting existing data |