plotParallel | R Documentation |
Parallel plot based on ggparcoord
.
plotParallel( result, xlab = NULL, ylab = NULL, yrange = NULL, splineFactor = 1, colorOption = "A", scale = "uniminmax", boxplot = FALSE, alphaLines = 0.1, showPoints = TRUE, title = "", probs = seq(0.25, 0.75, 0.25), ... )
result |
the result list returned by |
xlab |
character, the value of the independent variable |
ylab |
character, the value of the dependent variable predicted by the corresponding model. |
yrange |
a two-element vector that specifies the range of y values to consider (data outside of that range will be excluded). |
splineFactor |
logical or numeric operator indicating whether spline interpolation should be used.
Numeric values will multiplied by the number of columns, TRUE will default to cubic interpolation,
AsIs to set the knot count directly and 0, FALSE, or non-numeric values will not use spline interpolation. See
|
colorOption |
A character string indicating the colormap
option to use. Four options are available:
"magma" (or "A"),
"inferno" (or "B"),
"plasma" (or "C"),
"viridis" (or "D", the default option) and
"cividis" (or "E"). See |
scale |
method used to scale the variables. Default: |
boxplot |
logical operator indicating whether or not boxplots should underlay the distribution of each variable |
alphaLines |
value of alpha scaler for the lines of the parcoord plot or a column name of the data. Default: 0.1 |
showPoints |
logical operator indicating whether points should be plotted or not. Default: TRUE |
title |
character string denoting the title of the plot. Default:
|
probs |
quantile probabilities. Default: |
... |
additional parameters to be passed to
|
plotly parallel coordinate plot ('parcoords') visualization (based on
plot_ly
)
plotFunction
, plotData
require("SPOT") res <- spot(x=NULL, funSphere, lower=rep(-1,3), upper=rep(1,3), control=list(funEvals=25)) plotParallel(res, scale="std")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.