powered by
This function is depreciated. Please use ll instead.
ll
Display name, class, size, and dimensions of each element in a given object.
elem(object=1, unit=c("KB","MB","bytes"), digits=0, dimensions=FALSE)
object containing named elements, perhaps a model or data frame.
required unit for displaying element size: "KB", "MB", "bytes", or first letter.
number of decimals to display when rounding element size.
whether element dimensions should be returned.
A data frame with named rows and the following columns:
element class.
element size (see notes).
element dimensions (optional).
A verbose alternative to names().
names()
names, str, and summary display different information about object elements.
names
str
summary
ll and env are related to elem.
env
elem
# NOT RUN { data(infert) elem(infert) model <- glm(case~spontaneous+induced, family=binomial, data=infert) elem(model, dim=TRUE) elem(model$family) # }
Run the code above in your browser using DataLab