star_plot: Reordered and scaled star plot

View source: R/plot.R

star_plotR Documentation

Reordered and scaled star plot

Description

Automatically reorders and scales the variables to make a readable star plot.

Usage

star_plot(x, draw.segments = T, proto = T, reorder = T, scale = T, ...)

Arguments

x

a matrix or data frame. Each row makes one star.

proto

If TRUE and the response variable is a factor, then only the mean value for each response is plotted. See prototypes.

reorder

If TRUE, the rows and columns are reordered so that the data along each row and each column follows a linear trend. Can also be a vector of two logicals, indicating separately whether to reorder rows and/or columns.

scale

If TRUE, each column is scaled to have minimum 0 and maximum 1.

...

additional arguments for stars.

Author(s)

Tom Minka

See Also

stars

Examples

data(iris)
star_plot(iris)

paulemms/datamining documentation built on March 1, 2023, 4:01 p.m.