purrr (version 0.2.4)

get-attr: Infix attribute accessor

Description

Infix attribute accessor

Usage

x %@% name

Arguments

x

Object

name

Attribute name

Examples

Run this code
# NOT RUN {
factor(1:3) %@% "levels"
mtcars %@% "class"
# }

Run the code above in your browser using DataCamp Workspace