get_F_at_x.iclogcondist: Evaluate F(x) for Objects of Class 'iclogcondist'

View source: R/iclogcondist_functions.R

get_F_at_x.iclogcondistR Documentation

Evaluate F(x) for Objects of Class 'iclogcondist'

Description

Computes the value of the function F(x) for a given object of class iclogcondist.

Usage

## S3 method for class 'iclogcondist'
get_F_at_x(object, x = NA, log = FALSE, ...)

Arguments

object

An object of class iclogcondist. Must also belong to one of the subclasses: "ic_LCMLE", "ic_LCM_UMLE", or "ic_UMLE".

x

A numeric vector of values at which F(x) is evaluated. If not specified, the tau_no_Inf attribute of the object object is used.

log

Logical; if TRUE, returns the result in log-transformed form. Default is FALSE.

...

Additional arguments (not currently used).

Value

A numeric vector of values, either F(x) or log(F(x)).

Examples

# Example usage:
data(lgnm)

# Evaluate for LCMLE object
fit_LCMLE <- ic_LCMLE(lgnm)
get_F_at_x(fit_LCMLE)

# Evaluate for UMLE object
fit_UMLE <- ic_UMLE(lgnm)
x = seq(0.001, 6, length.out = 1000)
get_F_at_x(fit_UMLE, x = x)

iclogcondist documentation built on April 4, 2025, 5:18 a.m.