get_yearmon: create a set of directories to run disperseR

Description Usage Arguments Details Value

View source: R/get_yearmon.R

Description

'get_yearmon()' outputs a vector of months that you can loop over. For Jan-March 2005, you just have to use the 'get_yearmon()' 'start.year = "2005"', 'start.month = "01"', 'end.year = "2005"', and 'end.month = "03"'.

Usage

1
2
get_yearmon(start.year = NULL, start.month = NULL, end.year = NULL,
  end.month = NULL)

Arguments

start.year

what year do you want your vector to start with? eg. start.year = "2005"

start.month

what month of 'start.year' eg. start.month = "01"

end.year

what year do you want your vector to end with? This has to be a character eg. end.year = "2005"

end.month

what month of that year? eg. end.month = "03"

Details

get_yearmon

Value

vector of months that you can loop over


lhenneman/disperseR documentation built on Nov. 14, 2021, 6:24 p.m.