as.paleoTSfit: Create a 'paleoTSfit' object

View source: R/basics.R

as.paleoTSfitR Documentation

Create a paleoTSfit object

Description

Create a paleoTSfit object

Usage

as.paleoTSfit(
  logL,
  parameters,
  modelName,
  method,
  K,
  n,
  se,
  convergence = NULL,
  logLFunction = NULL,
  ...
)

Arguments

logL

model log-likelihood

parameters

model parameter estimates

modelName

model name

method

parameterization, either "AD" or "Joint"

K

number of model parameters

n

sample size

se

standard errors of parameter estimates

convergence

code indicating optimization convergence

logLFunction

name of the log-likelihood function

...

optional additional elements added by some functions

Value

a paleoTSfit object

Note

All model-fitting functions use this function to package the resulting data-model fits. Users will not need to call this function.

Examples

#  fake example; users won't need to use this unless they make their own model-fitting functions
w <- as.paleoTSfit(logL = 10, parameters = 2, modelName = "StrictStasis",
                   method = "Joint", K = 1, n = 25, se = NULL)


paleoTS documentation built on Sept. 11, 2024, 9:18 p.m.