Learn R Programming

phenology (version 10.1)

Tools to Manage a Parametric Function that Describes Phenology and More

Description

Functions used to fit and test the phenology of species based on counts. Based on Girondot, M. (2010) for the phenology function, Girondot, M. (2017) for the convolution of negative binomial, Girondot, M. and Rizzo, A. (2015) for Bayesian estimate, Pfaller JB, ..., Girondot M (2019) for tag-loss estimate, Hancock J, ..., Girondot M (2019) for nesting history, Laloe J-O, ..., Girondot M, Hays GC (2020) for aggregating several seasons.

Copy Link

Version

Install

install.packages('phenology')

Monthly Downloads

568

Version

10.1

License

GPL-2

Maintainer

Last Published

August 23rd, 2024

Functions in phenology (10.1)

IPPredict

Predict the possible clutch number based on observed Internesting Period.
LnRI_norm

Return a remigration interval.
Parameter_Global_Year

Transform a set of parameters from Year to global effect, or reverse
MinBMinE_to_Min

Transform a set of parameters from MinB and MinE to Min
MarineTurtles_2002

Database of tagged marine turtles in 2002
RI

Return an expected remigration interval.
TableECFOCF

Format a CMR dataset into a file that fitCF can use.
L_to_LBLE

Transform a set of parameters from Length format to LengthB LengthE
LBLE_to_L

Transform a set of parameters from LengthB LengthE format to Length
LBLE_to_BE

Transform a set of parameters from LengthB LengthE to Begin End.
Tagloss_mcmc_p

Generates set of parameters to be used with Tagloss_mcmc()
Tagloss_simulate

Return a list with the number of days different kinds of individuals are seen.
Tagloss_mcmc

Bayesian model of tag loss using a CMR database.
Tagloss_model

Return the daily rate of tag loss.
Tagloss_daymax

Return the maximum number of days an individual has been observed in a dataset.
Tagloss_cumul

Return the cumulative rate of tag loss.
Tagloss_format

Format a CMR dataset into a file that Tagloss_L can use.
Tagloss_fit

fit a model of tag loss using a CMR database.
Tagloss_LengthObs

Return a list with the number of days for different kinds of individuals are seen.
Tagloss_L

Return the -log likelihood of a set of individuals under a model of tagloss.
add_SE

Add standard error for a fixed parameter.
adapt_parameters

Extract the parameters from a set of parameters to be used with another dataset.
fitCF_MHmcmc_p

Generate set of parameters to be used with fitCF_MHmcmc()
add_phenology

Create a new dataset or add a timeserie to a previous dataset.
fitCF

Fit a model of Clutch Frequency for marine turtles.
fitRMU_MHmcmc

Run the Metropolis-Hastings algorithm for RMU.data
fitRMU

Adjust incomplete timeseries with various constraints.
extract_result

Extract the set of parameters from a result object.
fitCF_MHmcmc

Run the Metropolis-Hastings algorithm for ECFOCF data
fitRMU_MHmcmc_p

Generates set of parameters to be used with fitRMU_MHmcmc()
logLik.Tagloss

Return Log Likelihood of a fit generated by Tagloss_fit
logLik.phenology

Return Log Likelihood of a fit generated by fit_phenology
generateCF

Generate a set of data to test Clutch Frequency for marine turtles.
lnLCF

Calculate the -log likelihood of data within a model.
map_Gratiot

Likelihood map of Leatherback nest counts
fixed.parameters0

Generate a set of fixed parameters for series with only 0 counts
fit_phenology

Fit the phenology parameters to timeseries of counts.
likelihood_phenology

Estimate the likelihood of timeseries based on a set of parameters.
logLik.fitRMU

Return Log Likelihood of a fit generated by fitRMU
phenology_MHmcmc_p

Generates set of parameters to be used with phenology_MHmcmc()
phenology_MHmcmc

Run the Metropolis-Hastings algorithm for data
phenology2fitRMU

Create the data to be used with fitRMU() for a summary(phenology).
map_phenology

Generate a likelihood map varying Phi and Delta.
o_4p_p1p2

Model of tagloss based on Rivalan data
phenology-package

Tools to Manage a Parametric Function that Describes Phenology and More
phenology

Run a shiny application for basic functions of phenology package
par_init

Calculate initial set of parameters.
logLik.ECFOCF

Return Log Likelihood of a fit done using fitCF
outLR

Database of leatherback CMR in French Guiana
plot.fitRMU

Plot the synthesis of RMU fit.
plot.TaglossData

Plot data used for tagloss analysis.
plot.TableECFOCF

Plot a TableECFOCF dataset.
plot.Tagloss

Plot the daily rate of tag loss.
plot.ECFOCF

Plot a result of clutch frequency fit.
plot_phi

Plot the best likelihood for fixed Phi value.
plot_delta

Plot a likelihood lineplot obtained after map_phenology.
plot.IP

Plot a result of Internesting Period fit or data.
plot.Remigration

Plot the remigration intervals.
result_Gratiot2

Result of the fit of Leatherback nest counts
remove_site

Removes site information from a set of parameters.
print.phenologyout

Print the information from a ouput x.
toggle_Min_PMin

Transform a set of parameters from Min, MinB or MinE to PMin, PminB or PminE, or reverse
print.phenologymap

Print information on a phenologymap object.
print.phenology

Print the result information from a result x.
summary.IP

Print the result information from a IP object.
result_Gratiot_mcmc

Result of the mcmc for Leatherback nest counts
summary.phenology

Print the result information from a result object.
shift_sinusoid

Shift sinusoid information.
plot.phenology

Plot the phenology from a result.
plot.phenologymap

Plot a likelihood map with Delta and Phi varying.
summary.phenologymap

Print information on a phenologymap object.
result_Gratiot1

Result of the fit of Leatherback nest counts
result_Gratiot

Result of the fit of Leatherback nest counts
result_Gratiot_Flat

Result of the fit of Leatherback nest counts
summary.phenologyout

Print the summary information from a ouput object.
Bayesian.remigration

Return a posterior remigration interval.
Gratiot

Leatherback nest counts from Gratiot et al. (2006) Figure 1
ECFOCF_f

Calculate a table of probabilities of ECF and OCF.
IPFit

Fit a model of Internesting Period for marine turtles.
ExponentialRegression

Non-biased exponential regression
AutoFitPhenology

Automatic fit for phenology and tests
BE_to_LBLE

Transform a set of parameters from Begin End to LengthB LengthE.
IPModel

Estimates the pattern of internesting intervals for a set of parameters.
ECFOCF_full

Calculate a table of probabilities of ECF and OCF.
CI.RMU

Calculate the confidence interval of the results of fitRMU()