get_minval: Returns the default smallest allowed log-likelihood for given...

View source: R/MAINest.R

get_minvalR Documentation

Returns the default smallest allowed log-likelihood for given data.

Description

get_minval returns the default smallest allowed log-likelihood for given data.

Usage

get_minval(data)

Arguments

data

a numeric vector or class 'ts' object containing the data. NA values are not supported.

Details

This function exists simply to avoid duplication inside the package.

Value

Returns -(10^(ceiling(log10(length(data))) + 1) - 1)

See Also

fitGSMAR, GAfit


uGMAR documentation built on Aug. 19, 2023, 5:10 p.m.