filter_by_month {forcis} | R Documentation |
Filter FORCIS data by month of sampling
Description
Filters FORCIS data by month of sampling.
Usage
filter_by_month(data, months)
Arguments
data |
a |
months |
a |
Value
A tibble
containing a subset of data
for the desired months.
Examples
# Import example dataset ----
file_name <- system.file(file.path("extdata", "FORCIS_net_sample.csv"),
package = "forcis")
net_data <- read.csv(file_name)
# Dimensions of the data.frame ----
dim(net_data)
# Filter by months ----
net_data_sub <- filter_by_month(net_data, months = 1:2)
# Dimensions of the data.frame ----
dim(net_data_sub)
[Package forcis version 1.0.1 Index]