total_fig_height: Get fig.height for RMarkdown-junk using explore_all()

View source: R/tools.R

total_fig_heightR Documentation

Get fig.height for RMarkdown-junk using explore_all()

Description

Get fig.height for RMarkdown-junk using explore_all()

Usage

total_fig_height(
  data,
  var_name_n,
  var_name_target,
  nvar = NA,
  ncol = 2,
  size = 3
)

Arguments

data

A dataset

var_name_n

Weights variable for count data? (TRUE / MISSING)

var_name_target

Target variable (TRUE / MISSING)

nvar

Number of variables to plot

ncol

Number of columns (default = 2)

size

fig.height of 1 plot (default = 3)

Value

Number of rows

Examples

total_fig_height(iris)
total_fig_height(iris, var_name_target = "Species")
total_fig_height(nvar = 5)

explore documentation built on Sept. 11, 2024, 7:40 p.m.