weights.Plot method for objects of class weights.
# S3 method for weights
plot(
x,
log = FALSE,
breaks = "Scott",
main = "Distribution of weights",
xlab = if (log) "log(weight)" else "weight",
ylab = "frequency",
col = "cyan",
...
)object of class weights as returned by function uweights.
whether to log-transform the weights.
breaks argument of function hist. Default is "Scott".
main title of plot.
x-axis label.
y-axis label.
colour.
additional arguments passed to hist.