kappa4alJack: Sigmoidal curve fitting.

Description Usage Arguments Value Methods (by class)

View source: R/kappa4alJack.R

Description

Bias corrected jackknife estimates, along with standard errors and confidence intervals, of a nonlinear model, resulting from arc length 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
kappa4alJack(formula, data = list(), xin, lower, upper, q1, q2, tol, maxiter,
  jackName, ...)

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

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

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

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

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

## S3 method for class 'kappa4alJack'
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).

q1, q2

Numeric vectors, for the lower and upper bounds of the intervals over which arc lengths are to be computed.

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 kappa4alJack object. May include a path.

...

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

x

A kappa4alJack object.

object

A kappa4alJack object.

newdata

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

Value

A generic S3 object with class kappa4alJack.

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

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

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

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

Methods (by class)


alR documentation built on Dec. 7, 2017, 5:03 p.m.