summary.phenology: Print the result information from a result object.

Description Usage Arguments Details Value Author(s) Examples

View source: R/summary.phenology.R

Description

The function summary.phenology shows result and estimates confidence interval.

Usage

1
2
3
4
## S3 method for class 'phenology'
summary(object, resultmcmc = NULL, chain = 1,
  series = "all", replicate.CI.mcmc = "all", replicate.CI = 10000,
  level = 0.95, print = TRUE, ...)

Arguments

object

A result file generated by fit_phenology

resultmcmc

A mcmc object

chain

The number of chain to be used in resultmcmc

series

Names of the series to be analyzed or "all"

replicate.CI.mcmc

Number of iterations to be used or "all"

replicate.CI

Number of replicates for ML resampling

level

Level to estimate confidence interval or credibility interval

print

Should information be shown

...

Not used

Details

summary.phenology prints the information from a result object.

Value

A list with four objects: synthesis is a data.frame with global estimate of nesting.
details_MCMC, details_ML and details_mean are lists with day by day information for each series.

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
## Not run: 
library(phenology)
# Read a file with data
Gratiot<-read.delim("http://max2.ese.u-psud.fr/epc/conservation/BI/Complete.txt", header=FALSE)
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, fixed.parameters=NULL)
# Run the optimisation
result_Gratiot<-fit_phenology(data=data_Gratiot, 
		fitted.parameters=parg, fixed.parameters=NULL, trace=1)
data(result_Gratiot)
# Display information from the result
summary(result_Gratiot)
# Using mcmc
summary(result_Gratiot, resultmcmc=result_Gratiot_mcmc)

## End(Not run)

phenology documentation built on May 30, 2017, 5:23 a.m.