fb_visualize: Visualize a summary of the field book data

Description Usage Arguments Examples

View source: R/fb_visualize.R

Description

Create histograms or boxplots of each trait in the field book table

Usage

1
2
fb_visualize(fbt, traits, graph = c("boxplot", "histogram"), bins = 30,
  nrow = NULL, ncol = NULL)

Arguments

fbt

A Field Book Table object.

traits

A character vector specifying the trait to plot. Defaults to all numeric traits.

graph

The type of plot to produce. Accepted values are "boxplot" (default) or "histogram".

bins

The number of bins to force in the histogram.

nrow

The number of graphs to display in a column. See facet_wrap.

ncol

The number of graphs to display in a row. See facet_wrap.

Examples

1
2
3
4
5
6
7
data("fbt_sample")

# For boxplots
fb_visualize(fbt = fbt_sample)

# For histograms
fb_visualize(fbt = fbt_sample, graph = "histogram")

neyhartj/fbutils documentation built on Feb. 10, 2020, 1:45 p.m.