plot.occTest: Display the filtering process

View source: R/plot.R

plot.occTestR Documentation

Display the filtering process

Description

Display the filtering process

Usage

## S3 method for class 'occTest'
plot(x, occFilter_list = NULL, show_plot = FALSE, ...)

Arguments

x

An occTest object returned by occTest, i.e. the unfiltered data.frame

occFilter_list

Optional, an occFilter object; a list returned by occFilter, the result of the filtering of x

show_plot

Logical, should the plots be plotted ?

...

not used

Details

If occFilter_list is provided, display how the occurences passed the different tests, otherwise only plot the coordinates filtering step

Value

list of ggplots objects, of varying length, depending on whether the filtering was done by testBlock or testType

Author(s)

Jeremy Borderieux (jeremy.borderieux@agroparistech.fr)

See Also

occFilter , occTest , the ggplot2 package

Examples

#load output from occTest
occTest_output <- readRDS (system.file('ext/out.rds',package = 'occTest'))
#filter dataset output from occTest
filtered_occTest <- occFilter (occTest_output)
#plot the outputs
descriptive_plots <- plot (x=occTest_output,occFilter_list=filtered_occTest)

occTest documentation built on Nov. 18, 2022, 5:07 p.m.