Learn R Programming

HelpersMG (version 6.2)

LD50_MHmcmc_p: Generates set of parameters to be used with LD50_MHmcmc()

Description

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

Usage

LD50_MHmcmc_p(
  result = stop("An output from LD50() must be provided"),
  accept = FALSE
)

Value

A matrix with the parameters

Arguments

result

An object obtained after a LD50 fit

accept

If TRUE, the script does not wait user information

Author

Marc Girondot marc.girondot@gmail.com

Details

LD50_MHmcmc_p generates set of parameters to be used with LD50_MHmcmc()

See Also

Other LD50 functions: LD50(), LD50_MHmcmc(), logLik.LD50(), plot.LD50(), predict.LD50()

Examples

Run this code
if (FALSE) {
library("HelpersMG")
data <- data.frame(Doses=c(80, 120, 150, 150, 180, 200),
Alive=c(10, 12, 8, 6, 2, 1),
Dead=c(0, 1, 5, 6, 9, 15))
LD50_logistic <- LD50(data, equation="logistic")
pmcmc <- LD50_MHmcmc_p(LD50_logistic, accept=TRUE)
}

Run the code above in your browser using DataLab