| plot.occTest | R Documentation |
Display the filtering process
## S3 method for class 'occTest' plot(x, occFilter_list = NULL, show_plot = FALSE, ...)
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 |
show_plot |
Logical, should the plots be plotted ? |
... |
not used |
If occFilter_list is provided, display how the occurences passed the different tests, otherwise only plot the coordinates filtering step
list of ggplots objects, of varying length, depending on whether the filtering was done by testBlock or testType
Jeremy Borderieux (jeremy.borderieux@agroparistech.fr)
occFilter , occTest , the ggplot2 package
#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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.