Learn R Programming

embryogrowth (version 7.1)

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, P_TRT, TSP.list, predict.tsd, stages, tsd_MHmcmc, tsd

Examples

Run this code
# NOT RUN {
library(embryogrowth)
eo <- subset(Database_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)
# }

Run the code above in your browser using DataLab