Learn R Programming

phenology (version 10.1)

fixed.parameters0: Generate a set of fixed parameters for series with only 0 counts

Description

This function generates a set of fixed parameters for series with only 0 counts.
The parameter series must be a result from add_phenology().

Usage

fixed.parameters0(
  series = stop("A result from add_phenology() must be provided.")
)

Value

Return a set of parameters

Arguments

series

Set of series generated with add_phenology()

Author

Marc Girondot

Details

fixed.parameters0 generates a set of fixed parameters for series with only 0 counts

Examples

Run this code
if (FALSE) {
refdate <- as.Date("2001-01-01")
data_Gratiot <- add_phenology(Gratiot, name="Complete", 
	reference=refdate, format="%d/%m/%Y")
pfixed <- fixed.parameters0(data_Gratiot)
}

Run the code above in your browser using DataLab