plotDataExplorer: Explore Data in an Interactive Plot

View source: R/plotDataExplorer.R

plotDataExplorerR Documentation

Explore Data in an Interactive Plot

Description

Creates an interactive plot of detector data. Allows user to choose which numeric data to plot, and will allow user to both color and facet the plot by any columns that are characters or factors

Usage

plotDataExplorer(x, callType = NULL, maxCategories = 15)

Arguments

x

data to plot, can be an AcousticStudy, AcousticEvent, data.frame or a list of AcousticEvent objects

callType

the specific type of call to plot. If NULL (default), will prompt user to choose which type if more than one is present.

maxCategories

maximum number of categories to color and facet by. Only character and factor data with a number of unique values less than or equal to this number will be shown as options for selecting colors and facets. Not recommended to increase this value much beyond 20, trying to plot a large number of colors will cause R to be sad.

Value

nothing, just plots

Author(s)

Taiki Sakai taiki.sakai@noaa.gov

Examples


data(exStudy)

if(interactive()) plotDataExplorer(exStudy)
if(interactive()) plotDataExplorer(exStudy, callType='click')


PAMpal documentation built on Aug. 12, 2023, 1:06 a.m.