Learn R Programming

GoFKernel (version 2.1-1)

support.facto: "De Facto" Support

Description

support.facto computes the de facto numerical limits of a density function with theoretical infinite support. This function is an (internal) function of the GoFKernel package.

Usage

support.facto(f, lower = -Inf, upper = Inf)

Arguments

f

a density function.

lower

theoretical lower limit of the support of the random variable, default -Inf.

upper

theoretical upper limit of the support of the random variable, default, Inf.

Value

A two components vector with the de facto lower and upper limits of f.

Details

support.facto requires that the two first ordinary moments of f exist; otherwise, support.facto returns the introduced limits.

See Also

area.between, dgeometric.test, inverse, random.function and fan.test.

Examples

Run this code
# NOT RUN {
support.facto(dnorm)
# }

Run the code above in your browser using DataLab