Learn R Programming

phenology (version 5.1)

add_SD: Add SD for a fixed parameter.

Description

This function is used to add standard deviation for a fixed parameter.

Usage

add_SD(parametersfixed = NULL, parameters = NULL, SD = NULL, help = FALSE)

Arguments

parametersfixed
Set of fixed parameters
parameters
Set of current parameters
SD
Standard deviation value to be added
help
If TRUE, an help is displayed

Value

The parameters set with the new SD value

Details

add_SD adds SD for a fixed parameter.

Examples

Run this code
library(phenology)
# Generate a set of fixed parameter: Flat and Min
pfixed<-c(Flat=0, Min=0)
# Add SD for the Flat parameter
pfixed<-add_SD(parametersfixed=pfixed, parameters="Flat", SD=5)

Run the code above in your browser using DataLab