sommix_bar: Plots SOM profiles using bar charts

Description Usage Arguments Details Value

View source: R/sommixplot.R

Description

Barplots are used to represent standardized summary values of components under each SOM profile using bars of various lengths.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
sommix_bar(
  som_obj,
  varnames = NULL,
  colormod = NULL,
  nodelab = TRUE,
  labtype = "IDs",
  labsize = 1,
  addFreq = FALSE,
  freqtype = "frq",
  freqsize = 1,
  legsymsize = 2,
  leglabsize = 1,
  legtxtlas = 2,
  barstat = "MED"
)

Arguments

som_obj

a SOM object

varnames

specifies variable names

colormod

can be used to customize plot color schemes. The default is terrain.colors().

nodelab

whether or not to display reference labels aon each node

labtype

determines type of node referencing to display. "IDs" and "XYs" are available

labsize

sets size of node labels

addFreq

whether or not to display frequency labels

freqtype

determines type of frequency labels. Relative frequencies can be specified with "frq" or counts with "cnts"

freqsize

frequency label cex value

legsymsize

legend symbol cex value

leglabsize

legend text cex value

legtxtlas

legend text position rotation passed to las. Numeric in 0,1,2,3; the style of axis label.

barstat

specifies summary statistic to plot as bars. "MED" and "AVG" are available

Details

Barplots are a straighforward way to show patterns in component values under each SOM profile. The size of the bar represents the component summary under each profile. Error bars are also provided. between obser

Value

a kohonen plot that uses barplots to describe the profiles for each map node.


johnlpearce/sommix documentation built on Jan. 7, 2021, 11:38 p.m.