kappa4nlsJack: Sigmoidal curve fitting.

Description Usage Arguments Details Value Methods (by class)

Description

Bias corrected jackknife estimates, along with standard errors and confidence intervals, of a nonlinear model, resulting from nonlinear least squares fitting of the four-parameter kappa sigmoidal function.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
kappa4nlsJack(formula, data = list(), xin, lower, upper, tol, maxiter,
  jackName, ...)

## Default S3 method:
kappa4nlsJack(formula, data = list(), xin, lower = c(0,
  -5, -5), upper = c(10, 1, 1), tol = 1e-15, maxiter = 50000, jackName,
  ...)

## S3 method for class 'kappa4nlsJack'
print(x, ...)

## S3 method for class 'kappa4nlsJack'
summary(object, ...)

## S3 method for class 'summary.kappa4nlsJack'
print(x, ...)

## S3 method for class 'formula'
kappa4nlsJack(formula, data = list(), xin, lower, upper,
  tol, maxiter, jackName, ...)

## S3 method for class 'kappa4nlsJack'
predict(object, newdata = NULL, ...)

Arguments

formula

An LHS ~ RHS formula, specifying the linear model to be estimated.

data

A data.frame which contains the variables in formula.

xin

Numeric vector of length 3 containing initial values, for σ, h, and k.

lower

A vector of lower constraints for the parameters to be estimated; defaults to c(0, -5, -5).

upper

A vector of upper constraints for the parameters to be estimated; defaults to c(10, 1, 1).

tol

Error tolerance level; defaults to 1e-15.

maxiter

The maximum number of iterations allowed; defaults to 50000.

jackName

The name of the .rds file to store the kappa4nlsJack object. May include a path.

...

Arguments to be passed on to the differential evolution function JDEoptim.

x

A kappa4nlsJack object.

object

A kappa4nlsJack object.

newdata

The data on which the estimated model is to be fitted.

Details

On systems where the pbMPI package is available, this code will run in parallel.

Value

A generic S3 object with class kappa4nlsJack.

kappa4nlsJack.default: A list object (saved using saveRDS in the specified location) with the following components:

summary.kappa4nlsJack: A list of class summary.kappa4nlsJack with the following components:

print.summary.kappa4nlsJack: The object passed to the function is returned invisibly.

predict.kappa4nlsJack: A vector of predicted values resulting from the estimated model.

Methods (by class)


mtloots/alR documentation built on May 23, 2019, 8:18 a.m.