IntervalData-class | R Documentation |
Each nonempty compact real interval K can be alternatively characterized in terms of either its lower and upper bounds (also called infimum and supremum, respectively) through what is usually known as its inf/sup-characterization or either its mid-point and spread (also named center and radius, respectively) by means of its mid/spr-characterization as follows,
K = [\inf K,\sup K]=[\mathrm{mid}~K \mp \mathrm{spr}~K],
where both \inf K ≤q \sup K and \mathrm{spr}~K ≥q 0 conditions are fulfilled. The existing equivalence relation between these two characterizations is given by the following two equations:
\mathrm{mid}~K = \frac{\sup K + \inf K}{2} \qquad \mathrm{and} \qquad \mathrm{spr}~K = \frac{\sup K - \inf K}{2}.
mid
:A single real number saved as a unique numeric
value specifying the mid-point of the interval.
spr
:A single real number saved as a unique numeric
value specifying the spread of the interval.
José García-García garciagarjose@uniovi.es
Objects of IntervalData
class should be created through
IntervalData()
function. Besides IntervalData
class,
the IntervalQuestionStat package also incorporates
IntervalList-class
and IntervalMatrix-class
for dealing with interval-valued data in R environment.
showClass("IntervalData") showMethods(classes = "IntervalData")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.