| ct_get_effort | R Documentation |
Computes the monitoring effort (e.g., in days) for each camera deployment based on start and end timestamps.
ct_get_effort(
deployment_data,
start_column,
end_column,
deployment_column,
format = "%Y-%m-%d %H:%M:%OS",
time_zone = "",
time_unit = "days"
)
deployment_data |
A data frame containing camera trap deployment records. |
start_column |
The column name (unquoted or as a string) indicating deployment start datetime. |
end_column |
The column name (unquoted or as a string) indicating deployment end datetime. |
deployment_column |
The column name (unquoted or as a string) that uniquely identifies the deployment (e.g., camera ID). |
format |
A character string specifying the format of the datetime columns. Default is |
time_zone |
The time zone used to parse the datetime columns. Default is |
time_unit |
The unit in which to compute the effort duration.
Can be |
A data frame with columns:
deployment_column: Deployment identifier
effort: Numeric value of monitoring effort
effort_unit: The time unit used
ct_traprate_data()
data("ctdp")
deployments <- ctdp$data$deployments
ct_get_effort(deployment_data = deployments,
deployment_column = deploymentID,
start_column = start,
end_column = end)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.