Learn R Programming

lares (version 4.4)

pass: Pass Through a dplyr's Pipeline

Description

This function lets the user print, save or do something inside a pipeline without affecting the output or pipeline.

Usage

pass(df, fun)

Arguments

df

Dataframe

fun

Function. What function do you wish to run? For example: pass(. %>% ncol %>% print)