dontrepeat: Indicate that when printing repeat values should be hidden.

Description Usage Arguments Examples

View source: R/dontrepeat.R

Description

Indicate that when printing repeat values should be hidden.

Usage

1
dontrepeat(x, replace.with = "")

Arguments

x

a vector

replace.with

what to replace the value with.

Examples

1
2
3
4
5
6
7
library(dplyr)
library(tibble)
x <- cursory_all(group_by(iris, Species), lst(mean, sd))
x <- as.data.frame(arrange(x, Species))
print(x)
x[[1]] <- dontrepeat(x[[1]], replace.with='"')
print(x)

cursory documentation built on Aug. 22, 2019, 9:03 a.m.