Learn R Programming

DirichletReg (version 0.6-2)

plot.DirichletRegData: Plot Dirichlet-Distributed Data

Description

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

Usage

## S3 method for class 'DirichletRegData':
%\method{lines(x, indep, groups, \dots, cumul = FALSE, orig.scale = FALSE)ed =
  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, ...

encoding

UTF-8

Examples

Run this code
# 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))

Run the code above in your browser using DataLab