returns the ranges of an /empirical/

Share:

Description

Returns the different supports of an /empirical/ that is the minimum segment where stand the variation of the random variable, taking into account (or not) the @sup slot. See the section 'value' for details.

Usage

1

Arguments

empi

The empirical to consider.

Details

empi is not normalized, so the range can exceed the @sup.

Value

A list with four components: $rcon: the range of the continuous part (code{c(NA,NA)} if it does not exist). $rdis: the set of possible values for the discrete part (code{numeric(0)} if it does not exist). $remp: the range of both parts not taking into account the slot @sup. $rang: the range of both parts taking into account the slot @sup, identical to $remp after normalisation.

Examples

1
2
 rbsb3k("RESET"); # for R checking compliance (useless)
 range5empirical(new("empirical"));

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.