Learn R Programming

explore (version 0.8.0)

get_nrow: Get number of rows for a grid plot (deprecated, use total_fig_height() instead)

Description

Get number of rows for a grid plot (deprecated, use total_fig_height() instead)

Usage

get_nrow(varnames, exclude = 0, ncol = 2)

Value

Number of rows

Arguments

varnames

List of variables to be plotted

exclude

Number of variables that will be excluded from plot

ncol

Number of columns (default = 2)

Examples

Run this code
get_nrow(names(iris), ncol = 2)

Run the code above in your browser using DataLab