Learn R Programming

occTest (version 0.1.1)

plot.occTest: Display the filtering process

Description

Display the filtering process

Usage

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

Value

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

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

Author

Jeremy Borderieux (jeremy.borderieux@agroparistech.fr)

Details

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

See Also

occFilter , occTest , the ggplot2 package

Examples

Run this code
#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)

Run the code above in your browser using DataLab