Plot Dirichlet-Distributed Data

Share:

Description

With this function you can plot Dirichlet-distributed data in 2, 3 and 4 dimensions.

Usage

1
2
3
4
5
## S3 method for class 'DirichletRegData'
plot(x, dims, ticks = TRUE, ref.lines = NULL, dim.labels, a2d = list(colored =
  TRUE, c.grid = TRUE, col.scheme = c("dims", "entropy"), entropy.contours =
  FALSE, entropy.colors = FALSE), a3d = list(rgl = TRUE, ...), rug = TRUE,
  reset_par = TRUE, ...)

Arguments

x

data prepared with DR_data

dims

select two, three, or four Dimensions of your data x to plot

ticks

display ticks?

ref.lines

.

dim.labels

a character vector giving labels for the dimensions/variables

a2d

a named list of settings for ternary plots (3 variables), see Details

a3d

a named list of settings for quaternary plots (4 variables), see Details

rug

display a rug for a one-dimensional plot (2 variables)

reset_par

reset graphical parameters of DR_data after creating a two-dimensional plot (2 variables), see Details

...

further graphical arguments as col, pch, cex, ...

Author(s)

Marco J. Maier

Examples

1
2
3
4
5
# plot of "Sand" in the Arctic Lake data set
plot(DR_data(ReadingSkills[, 1]), main="Reading Accuracy")

# ternary plot of Arctic Lake data
plot(DR_data(ArcticLake[, 1:3]), a2d = list(colored = FALSE))