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

View source: R/LD50_MHmcmc_p.R

LD50_MHmcmc_pR Documentation

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
)

Arguments

result

An object obtained after a LD50 fit

accept

If TRUE, the script does not wait user information

Details

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

Value

A matrix with the parameters

Author(s)

Marc Girondot marc.girondot@gmail.com

See Also

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

Examples

## Not run: 
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)

## End(Not run)

HelpersMG documentation built on Sept. 12, 2024, 9:35 a.m.