fh_date_cols: select all date stamps based on a input year

Description Usage Arguments Details Value Author(s)

View source: R/fh_date_cols.R

Description

select all date stamps based on a input year

Usage

1

Arguments

df

- a data frame or data table

year

- a string, this specifies the year of date stamps to select, i.e. if year = "2016" all date stamps from 2016 are selected and returned as vector

Details

this functions returns a vector with the colnames of all time stamps of a df so you could subset your df based on that vector and cut out all columns which are date stamps

Value

a formatted NDVI Data table, from an list of NDVI values

Author(s)

Eric Krueger


EricKrg/ForestHealth documentation built on May 23, 2019, 6:08 p.m.