qsmoothPlotWeights | R Documentation |
qsmooth
function.This function plots a scatterplot
showing the qsmoothWeights
along the y-axis
and the quantiles on the x-axis.
qsmoothPlotWeights( object, xLab = "quantiles", yLab = "weights", mainLab = "qsmooth weights" )
object |
a qsmooth object from |
xLab |
label for x-axis. Default is "quantiles" |
yLab |
label for y-axis. Default is "weights" |
mainLab |
title of plot. Default is "qsmooth weights" |
A scatterplot will be created showing the
qsmoothWeights
along the y-axis and the
quantiles on the x-axis.
dat <- cbind(matrix(rnorm(1000), nrow=100, ncol=10), matrix(rnorm(1000, .1, .7), nrow=100, ncol=10)) dat_qs <- qsmooth(object = dat, group_factor = rep(c(0,1), each=10)) qsmoothPlotWeights(dat_qs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.