Learn R Programming

diffdf (version 1.1.1)

print.diffdf: Print diffdf objects

Description

Print nicely formatted version of an diffdf object

Usage

# S3 method for diffdf
print(x, row_limit = 10, as_string = FALSE, ...)

Arguments

x

comparison object created by diffdf().

row_limit

Max row limit for difference tables (NULL to show all rows)

as_string

Return printed message as an R character vector?

...

Additional arguments (not used)

Examples

Run this code
x <- subset(iris, -Species)
x[1, 2] <- 5
COMPARE <- diffdf(iris, x)
print(COMPARE)
print(COMPARE, row_limit = 5)

Run the code above in your browser using DataLab