Learn R Programming

accumulate (version 1.0.0)

object_list: Create a classed list

Description

Classed lists are used to pretty-print a list that is stored in a data frame.

Usage

object_list(x)

# S3 method for object_list format(x, ...)

# S3 method for object_list print(x, ...)

# S3 method for object_list [(x, i, j, ..., drop = TRUE)

Arguments

x

a list

Examples

Run this code
object_list(list(lm(speed ~ dist, data=cars)))

Run the code above in your browser using DataLab