R/getInitiallbc.R

Defines functions getInitiallbc

Documented in getInitiallbc

getInitiallbc <-
function(theta, sigmaP)
{
   if (length(theta) != length(sigmaP))
      stop("incompatible dimensions!")
   dat <- data.frame(theta, sigmaP)
   ini <- getInitial(sigmaP ~ SSlbc(theta, b0, b1),
      data = dat)
   return(ini)
}

Try the soilphysics package in your browser

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

soilphysics documentation built on June 7, 2022, 5:06 p.m.