Last chance! 50% off unlimited learning
Sale ends in
Prints a useful summary of each item in a list of things.
# S3 method for listof
summary(object, …)
An object of class "listof"
.
Ignored.
This is a method for the generic function summary
.
An object of the class "listof"
is effectively a list
of things which are all of the same class.
This function extracts a useful summary of each of the items in the list.
# NOT RUN {
x <- list(A=runif(10), B=runif(10), C=runif(10))
class(x) <- c("listof", class(x))
summary(x)
# }
Run the code above in your browser using DataLab