plotBLB: Plot a Binary Logistic Biplot using a BiplotML object

View source: R/plotBLB.R

plotBLBR Documentation

Plot a Binary Logistic Biplot using a BiplotML object

Description

Plot the bootstrap binary logistic biplot and draw confidence ellipses on the individuals of an object BiplotML.

Usage

plotBLB(
  x,
  dim = c(1, 2),
  col.ind = NULL,
  col.var = "#0E185F",
  label.ind = FALSE,
  draw = c("biplot", "ind", "var"),
  titles = NULL,
  ellipses = FALSE,
  endsegm = 0.75,
  repel = FALSE,
  xylim = NULL
)

Arguments

x

Object class BiplotML.

dim

Dimensions plot. By default Dim1 and Dim2.

col.ind

Color for the individuals.

col.var

Color for the variables.

label.ind

By default the row points are not labelled.

draw

The graph to draw ("ind" for the individuals, "var" for the variables and "biplot" for the row and columns coordinates in the same graph)

titles

Title for the Biplot

ellipses

If ellipses=TRUE, draw confidence ellipses around the rows.

endsegm

Represents where the segment of a variable ends on the logit probability scale. By default endsegm=0.75

repel

Repel overlapping text labels.

xylim

vector specifying the minimum and maximum of the x-axis and y-axis. For example, you can use xylim=c(-10, 10).

Details

If draw = "ind", then the biplot is plotted only for individuals and if draw = "var" then is plotted only for the variables.

Value

Returns the Biplot of the individuals and variables.

Author(s)

Giovany Babativa <gbabativam@gmail.com>

References

Meulman, J. J., & Heiser, W. J. (1983). The display of bootstrap solutions in multidimensional scaling. Murray Hill, NJ: Bell Laboratories. (Technical memorandum)

Vicente-Villardon, J.L. and Galindo, M. Purificacion (2006), Multiple Correspondence Analysis and related Methods. Chapter: Logistic Biplots. Chapman-Hall

See Also

bootBLB

Examples


data("Methylation")
set.seed(123456)
outBLB <- bootBLB(x = Methylation, sup = TRUE, plot=FALSE)
plotBLB(x = outBLB, titles = "Methylation Logistic Biplot", ellipses = FALSE)
plotBLB(x = outBLB, titles = "Methylation LogBiplot", endsegm = 0.95)
plotBLB(x = outBLB, label.ind = TRUE, titles = "Methylation LogBiplot")


jgbabativam/BiplotML documentation built on July 31, 2022, 11:10 a.m.