make_xray: Make data xray by a grouping variable

View source: R/make_xray.R

make_xrayR Documentation

Make data xray by a grouping variable

Description

Create comprehensive tibble of variable metadata using Hmisc::describe as engine, with option for grouping

Usage

make_xray(data, by = NULL)

Arguments

data

A data frame.

by

Optional name of grouping ("by") variable as character string.

Value

A tibble containing variable metadata with 1 row per group.

Examples


diamonds <- ggplot2::diamonds
make_xray(diamonds)

make_xray(diamonds, by = 'cut')


agstn/dataxray documentation built on Oct. 16, 2023, 11:16 p.m.