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.

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
if (FALSE) {
shape_model_output(data = data, doy = doy)
}