Learn R Programming

embryogrowth (version 6.4)

tsd_MHmcmc_p: Generates set of parameters to be used with tsd_MHmcmc()

Description

Interactive script used to generate set of parameters to be used with tsd_MHmcmc().

Usage

tsd_MHmcmc_p(result = stop("An output from tsd() must be provided"), accept = FALSE)

Arguments

result
An object obtained after a tsd fit
accept
If TRUE, the script does not wait user information

Value

A matrix with the parameters

Details

tsd_MHmcmc_p generates set of parameters to be used with tsd_MHmcmc()

See Also

Other Functions.for.temperature.dependent.sex.determination: DatabaseTSD, TSP.list, predict.tsd, stages, tsd_MHmcmc, tsd

Examples

Run this code
## Not run: 
# library(embryogrowth)
# eo <- subset(STSRE_TSD, Species=="Emys orbicularis", c("Males", "Females", 
#                                        "Incubation.temperature"))
# eo_logistic <- with(eo, tsd(males=Males, females=Females, 
#                                  temperatures=Incubation.temperature))
# pMCMC <- tsd_MHmcmc_p(eo_logistic, accept=TRUE)
# ## End(Not run)

Run the code above in your browser using DataLab