Learn R Programming

cropZoning (version 1.0.3)

tmean: Mean air temperature calculation

Description

This fuction will calculate the mean air temperature from minimum and maximum air temperature data.

Usage

tmean(tmax_stack, tmin_stack)

Value

Returns a SpatRaster object of mean air temperature.

Arguments

tmax_stack

stack of maximum air temperature

tmin_stack

stack of minimum air temperature

Examples

Run this code
if (FALSE) {

image_tmean <- tmean(tmax_stack = image_tmax, tmin_stack = image_tmin)
}

Run the code above in your browser using DataLab