Description Usage Arguments Author(s) Examples
View source: R/plot.DirichletRegData.R
With this function you can plot Dirichlet-distributed data in 2, 3 and 4 dimensions.
1 2 3 4 5 |
x |
data prepared with |
dims |
select two, three, or four Dimensions of your data |
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 |
... |
further graphical arguments as |
Marco J. Maier
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))
|
Loading required package: Formula
Loading required package: rgl
Warning messages:
1: In rgl.init(initValue, onlyNULL) : RGL: unable to open X11 display
2: 'rgl_init' failed, running with rgl.useNULL = TRUE
3: .onUnload failed in unloadNamespace() for 'rgl', details:
call: fun(...)
error: object 'rgl_quit' not found
only one variable in [0, 1] supplied - beta-distribution assumed.
check this assumption.
Warning in DR_data(ArcticLake[, 1:3]) :
not all rows sum up to 1 => normalization forced
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.