inst/non_lin_models/Mod_betap.R

#Beta-P function (cumulative)
model = list(
  name = c("Beta-P cumulative"),
  formula = expression(S == d*(1-(1+(A/c)^z)^-f)),
  exp = expression(d*(1-(1+(A/c)^z)^-f)),
  shape = "sigmoid",
  asymp = function(pars)pars["d"],
  parLim  =  c("Rplus","R","R","R"),
  #initial values function
  init = function(data){c(max(data$S)+1,.5,.5,.5)}
)

Try the sars package in your browser

Any scripts or data that you put into this service are public.

sars documentation built on Dec. 28, 2022, 2:38 a.m.