Learn R Programming

spider (version 1.5.1)

plot.slidWin: Plot a 'slidWin' object

Description

Graphical representation of the summary statistics derived from slideAnalyses and slideBoxplots

Usage

# S3 method for slidWin
plot(x, outliers = FALSE, ...)

Value

Plots graphs depending on the options given to slideAnalyses or slideBoxplots.

Arguments

x

An object of class `slidWin'.

outliers

Logical. When the results of slideBoxplots are being called, should the outliers be plotted? Default of FALSE.

...

Other arguments to be passed to plot.

Author

Samuel Brown <s_d_j_brown@hotmail.com>

Details

When boxplots of methods nonCon and interAll, the y-axis limits are constrained to the midpoint of the range covered by the boxplots, so that the intra-specific variation can be seen.

See Also

slideAnalyses, slideBoxplots.

Examples

Run this code

data(dolomedes)
doloSpp <- substr(dimnames(dolomedes)[[1]], 1, 5)

doloSlide <- slideAnalyses(dolomedes,  doloSpp, 200, interval=10, treeMeasures=TRUE)

graphics::plot(doloSlide)

doloBox <- slideBoxplots(dolomedes,  doloSpp, 200, interval=10, method="overall")

graphics::plot(doloBox)


data(anoteropsis)
anoSpp <- sapply(strsplit(dimnames(anoteropsis)[[1]], split="_"), 
    function(x) paste(x[1], x[2], sep="_"))

anoBox <- slideBoxplots(anoteropsis,  anoSpp, 200, interval=10, method="interAll")

graphics::plot(anoBox)
graphics::plot(anoBox, outliers=TRUE)


Run the code above in your browser using DataLab