tmean_monthly_stack: Monthly mean air temperature estimation to generate the...

Description Usage Arguments Value Examples

View source: R/tmean_monthly_stack.R

Description

This function will calculate the mean monthly air temperature based on the period of time selected (start_date and end_date).

Usage

1
tmean_monthly_stack(tmean_stack, start_date, end_date)

Arguments

tmean_stack

Stack of mean air temperature based on minimum and maximum air temperature Rasterstack

start_date

Date that start the investigation, should be in the following format (1958-01-01 /Year-Month-Day)

end_date

Date that end the investigation, should be in the following format (2017-12-31 /Year-Month-Day)

Value

Returns a Rasterstack object with a monthly mean air temperature from a period of time.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 

start_date <- c('2000-01-01')
end_date <- c('2017-12-01')

tmean_monthly <- tmean_monthly_stack(tmean_stack = img_tmean,
                                    start_date = start_date,
                                    end_date = end_date)

## End(Not run)

cropZoning documentation built on March 21, 2021, 1:08 a.m.