Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

lekgrps

Create optional barplot for lekprofile groups


Description

Create optional barplot of constant values of each variable for each group used with lekprofile

Usage

lekgrps(grps, position = "dodge", grp_nms = NULL)

Arguments

grps

data.frame of values for each variable in each group used to create groups in lekprofile

position

chr string indicating bar position (e.g., 'dodge', 'fill', 'stack'), passed to geom_bar

grp_nms

optional chr string of alternative names for groups in legend

Value

A ggplot object

Examples

## enters used with kmeans clustering
x <- neuraldat[, c('X1', 'X2', 'X3')]
grps <- kmeans(x, 6)$center

lekgrps(grps)

NeuralNetTools

Visualization and Analysis Tools for Neural Networks

v1.5.2
CC0
Authors
Marcus W. Beck [aut, cre]
Initial release
2018-07-26

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.