Removes site information from a set of parameters.

Description

This function is used to remove the information of the site from a set of parameters. It can be used to other timeseries after.

Usage

1
remove_site(parameters = NULL, help = FALSE)

Arguments

parameters

Set of parameters

help

If TRUE, an help is displayed

Details

remove_site removes beach information from a set of parameters.

Value

Return a set of modified parameters

Author(s)

Marc Girondot

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
library(phenology)
# Read a file with data
## Not run: 
Gratiot<-read.delim("http://max2.ese.u-psud.fr/epc/conservation/BI/Complete.txt", header=FALSE)

## End(Not run)
data(Gratiot)
# Generate a formatted list nammed data_Gratiot 
data_Gratiot<-add_phenology(Gratiot, name="Complete", 
		reference=as.Date("2001-01-01"), format="%d/%m/%Y")
# Generate initial points for the optimisation
parg<-par_init(data_Gratiot, parametersfixed=NULL)
# Run the optimisation
## Not run: 
result_Gratiot<-fit_phenology(data=data_Gratiot, 
		parametersfit=parg, parametersfixed=NULL, trace=1)

## End(Not run)
data(result_Gratiot)
# Extract parameters form result
parg<-extract_result(result_Gratiot)
# Remove site information
parg1<-remove_site(parg)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.