compare_attributes: Compare attributes

Description Usage Arguments

View source: R/compare_attributes.R

Description

Compare attributes of two objects, including only the attributes in compare_attrs and ignoring classes in ignore_classes.

Usage

1
2
3
4
5
6
compare_attributes(
  x,
  y,
  compare_attrs = c("class", "names", "groups", "row.names"),
  ignore_classes = "spec_tbl_df"
)

Arguments

x, y

Objects for which to compare attributes.

compare_attrs

String or vector of strings of attributes to compare. Default is to compare only class, groups, names, and row.names attributes. Use NULL to compare all attributes.

ignore_classes

String or vector of strings of classes to ignore. Default is to ignore spec_tbl_df class. Use NULL to not ignore classes.


stanford-datalab/dcl documentation built on March 24, 2021, 8:44 a.m.