View source: R/repgrid-plots.r
biplotPseudo3d | R Documentation |
biplotPseudo3d
for its use.
Draws a biplot of the grid in 2D with depth impression (pseudo 3D).This version is basically a 2D biplot.
It only modifies color and size of the symbols in order to create a 3D impression
of the data points.
This function will call the standard biplot2d
function with some
modified arguments. For the whole set of arguments that can be used
see biplot2d
. Here only the arguments special to
biplotPseudo3d
are outlined.
biplotPseudo3d(
x,
dim = 1:2,
map.dim = 3,
e.point.col = c("white", "black"),
e.point.cex = c(0.6, 1.2),
e.label.col = c("white", "black"),
e.label.cex = c(0.6, 0.8),
e.color.map = c(0.4, 1),
c.point.col = c("white", "darkred"),
c.point.cex = c(0.6, 1.2),
c.label.col = c("white", "darkred"),
c.label.cex = c(0.6, 0.8),
c.color.map = c(0.4, 1),
...
)
x |
|
dim |
Dimensions (i.e. principal components) to be used for biplot
(default is |
map.dim |
Third dimension (depth) used to map aesthetic attributes to
(default is |
e.point.col |
Color(s) of the element symbols. Two values can be entered that will
create a color ramp. The values of |
e.point.cex |
Size of the element symbols. Two values can be entered that will
represents the lower and upper size of a range of cex the values of |
e.label.col |
Color(s) of the element labels. Two values can be entered that will
create a color ramp. The values of |
e.label.cex |
Size of the element labels. Two values can be entered that will
represents the lower and upper size of a range of cex the values of |
e.color.map |
Value range to determine what range of the color ramp defined in
|
c.point.col |
Color(s) of the construct symbols. Two values can be entered that will
create a color ramp. The values of |
c.point.cex |
Size of the construct symbols. Two values can be entered that will
represents the lower and upper size of a range of cex the values of |
c.label.col |
Color(s) of the construct labels. Two values can be entered that will
create a color ramp. The values of |
c.label.cex |
Size of the construct labels. Two values can be entered that will
represents the lower and upper size of a range of cex the values of |
c.color.map |
Value range to determine what range of the color ramp defined in
|
... |
Additional parameters passed to |
Unsophisticated biplot: biplotSimple
;
2D biplots:
biplot2d
,
biplotEsa2d
,
biplotSlater2d
;
Pseudo 3D biplots:
biplotPseudo3d
,
biplotEsaPseudo3d
,
biplotSlaterPseudo3d
;
Interactive 3D biplots:
biplot3d
,
biplotEsa3d
,
biplotSlater3d
;
Function to set view in 3D:
home
.
## Not run:
# biplot with 3D impression
biplotPseudo3d(boeker)
# Slater's biplot with 3D impression
biplotPseudo3d(boeker, g=1, h=1, center=1)
# show 2nd and 3rd dim. and map 4th
biplotPseudo3d(boeker, dim=2:3, map.dim=4)
# change elem. colors
biplotPseudo3d(boeker, e.color=c("white", "darkgreen"))
# change con. colors
biplotPseudo3d(boeker, c.color=c("white", "darkgreen"))
# change color mapping range
biplotPseudo3d(boeker, c.colors.map=c(0, 1))
# set uniform con. text size
biplotPseudo3d(boeker, c.cex=1)
# change text size mapping range
biplotPseudo3d(boeker, c.cex=c(.4, 1.2))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.