plotSmoothingComparison: Plot the comparison of smoothing methods.

Description Usage Arguments Value

View source: R/smoothing.R

Description

Plotting method for the results of compareSmoothing. The results are mapped by facetting over values of alpha and mapping the method (jitterAngle, jitterPoints, noSmoothing) to linestyle and color (black dashed, black dotted, red solid). By default legend drawing is turned off, but can be turned on via the lPos argument, e.g. setting to "bottom" for legend below the plot.

Usage

1
plotSmoothingComparison(smMat, lPos = "none")

Arguments

smMat

Result from compareSmoothing

lPos

Legend position passed to ggplot2 (default is none for no legend shown)

Value

ggplot visualisation of the comparison


spinebil documentation built on Aug. 28, 2019, 5:04 p.m.