filter_to_days: Filter To Days

Description Usage Arguments Value Examples

View source: R/filter_to_days.R

Description

Filters crop dataset to only crops which have sufficient time left to grow.

Usage

1
2
3
4
5
filter_to_days(
  day_of_season,
  crop_data = croptimizer::crops,
  seasonal_values = croptimizer::seasonal_values
)

Arguments

day_of_season

integer or numeric representing the date (current day number) of current season

crop_data

data.frame containing crop data, defaults to package data 'crops'

Value

data.frame containing crop data filtered to crops which have sufficient time left in the season to grow

Examples

1
filter_to_days(day = 25)

aftonsteps/croptimizer documentation built on Jan. 28, 2021, 12:50 p.m.