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.
Details
support.facto requires that the two first ordinary moments of f exist;
otherwise, support.facto returns the introduced limits.
Value
A two components vector with the de facto lower and upper limits of f.
Author(s)
Jose M. Pavia
See Also
area.between, dgeometric.test, inverse, random.function
and fan.test.
Examples
support.facto(dnorm)
Results
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(GoFKernel)
Loading required package: KernSmooth
KernSmooth 2.23 loaded
Copyright M. P. Wand 1997-2009
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/GoFKernel/support.facto.Rd_%03d_medium.png", width=480, height=480)
> ### Name: support.facto
> ### Title: "De Facto" Support
> ### Aliases: support.facto
>
> ### ** Examples
>
> support.facto(dnorm)
[1] -9.500817 9.500817
>
>
>
>
>
> dev.off()
null device
1
>