purrr (version 0.2.2)

get-attr: Infix attribute accessor

Description

Infix attribute accessor

Usage

x %@% name

Arguments

x
Object
name
Attribute name

Examples

Run this code
factor(1:3) %@% "levels"
mtcars %@% "class"

Run the code above in your browser using DataLab