Learn R Programming

embryogrowth (version 8.0)

HatchingSuccess.model: Return the hatching success according the set of parameters and temperatures

Description

Set of functions to study the hatching success.

Usage

HatchingSuccess.model(par, temperature)

Arguments

par

A set of parameters.

temperature

A vector of temperatures.

Value

Return the hatching success according the set of parameters and temperatures

Details

HatchingSuccess.model returns the hatching success according the set of parameters and temperatures

See Also

Other Hatching success: HatchingSuccess.MHmcmc_p(), HatchingSuccess.MHmcmc(), HatchingSuccess.fit(), HatchingSuccess.lnL(), logLik.HatchingSuccess(), nobs.HatchingSuccess(), plot.HatchingSuccess(), predict.HatchingSuccess()

Examples

Run this code
# NOT RUN {
library(embryogrowth)
totalIncubation_Cc <- subset(DatabaseTSD, 
                             Species=="Caretta caretta" & 
                               Note != "Sinusoidal pattern" & 
                               !is.na(Total) & Total != 0)

par <- c(S.low=0.5, S.high=0.3, 
         P.low=25, deltaP=10, MaxHS=0.8)
         
HatchingSuccess.lnL(par=par, data=totalIncubation_Cc)

g <- HatchingSuccess.fit(par=par, data=totalIncubation_Cc)

HatchingSuccess.lnL(par=g$par, data=totalIncubation_Cc)

plot(g)
# }

Run the code above in your browser using DataLab