Plotting radar using rAmCharts

Share:

Description

radar computes a radarplot of the given data values.

Usage

1
2
amRadar(data, col = NULL, backTransparency = 0.5, type = "polygons",
  pch = "round", xlim = NULL, ...)

Arguments

data

data.frame first column is named "label" (character), other columns are series of values, see data_radar.

col

character, color(s) of serie(s) hexadecimal like "#00FF00".

backTransparency

numeric, background transparency, between 0 and 1.

type

character, type of radar. Possible values are : "polygons" or "circle".

pch

character, points symbols. Possible values are : "round", "square", "triangleUp", "triangleDown", "triangleLeft", "triangleRight", "bubble", "diamond", "xError", "yError".

xlim

numeric, x range.

...

see amOptions for more options.

See Also

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
data("data_radar")
amRadar(data_radar)


# Other examples available which can be time consuming depending on your configuration.

require(pipeR)

# Change color
amRadar(data_radar, col = "#FF0000")
amRadar(data_radar, col = c("#0000FF", "#00FF00", "#FF0000"))


# Change backTransparency
amRadar(data_radar, backTransparency = 0.6)
amRadar(data_radar, backTransparency = c(0, 0.4, 0.6))


# Change type
amRadar(data_radar, type = "circles")

# Change pch
amRadar(data_radar,  pch = "triangleRight")
amRadar(data_radar,  pch = "triangleLeft")

#Min-Max
amRadar(data_radar, xlim = c(0, 8))

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.