shape_model_output: Shapes model output

View source: R/helper_functions.R

shape_model_outputR Documentation

Shapes model output

Description

The final output is based upon the class of the input data and valid model estimates. Mainly, reshapes data to a spatial raster format when required and traps NA and Inf values during optimization schemes.

Usage

shape_model_output(data, doy)

Arguments

data

input data generated using the format_*() functions

doy

phenophase estimates as a doy value

Value

raster or vector with estimated phenophase timing (in DOY)

Examples


# Should not be run stand-alone
## Not run: 
shape_model_output(data = data, doy = doy)

## End(Not run)

khufkens/phenor documentation built on June 28, 2024, 2:30 p.m.