Last chance! 50% off unlimited learning
Sale ends in
elev(x, ...)## S3 method for class 'default':
elev(x, \dots)
## S3 method for class 'grouped.data':
elev(x, \dots)
## S3 method for class 'elev':
print(x, digits = getOption("digits") - 2, ...)
## S3 method for class 'elev':
summary(object, \dots)
## S3 method for class 'elev':
knots(Fn, \dots)
## S3 method for class 'elev':
plot(x, \dots, main = NULL, xlab = "x", ylab = "Empirical LEV")
"grouped.data"
(in
which case only the first column of frequencies is used); for the
methods, an object of class "elev"
, typically.print
."ogive"
.elev
, a function of class "elev"
, inheriting from the
"function"
class. Methods of elev
exist for individual data or for grouped data
created with grouped.data
. The formula in this case is
too long to show here. See the reference for details.
grouped.data
to create grouped data objects;
stepfun
for related documentation (even though the
empirical LEV is not a step function).data(gdental)
lev <- elev(gdental)
lev
summary(lev)
knots(lev) # the group boundaries
lev(knots(lev)) # empirical lev at boudaries
lev(c(80, 200, 2000)) # and at other limits
plot(lev, type = "o", pch = 16)
Run the code above in your browser using DataLab