viz_biplot: Build a Biplot

View source: R/biplot.R

viz_biplotR Documentation

Build a Biplot

Description

Build a Biplot

Usage

viz_biplot(
  coord_row,
  coord_col,
  ...,
  rows = TRUE,
  columns = TRUE,
  labels = c("rows", "columns", "individuals", "variables"),
  xlim = NULL,
  ylim = NULL,
  main = NULL,
  sub = NULL,
  xlab = NULL,
  ylab = NULL,
  axes = TRUE,
  frame.plot = axes,
  ann = graphics::par("ann"),
  panel.first = NULL,
  panel.last = NULL,
  legend = list(x = "topleft")
)

Arguments

coord_row

A data.frame returned by prepare().

coord_col

A data.frame returned by prepare().

rows

A logical scalar: should the rows be drawn?

columns

A logical scalar: should the columns be drawn?

labels

A character vector specifying whether "rows"/"individuals" and/or "columns"/"variables" names must be drawn. Any unambiguous substring can be given.

xlim

A length-two numeric vector giving the x limits of the plot. The default value, NULL, indicates that the range of the finite values to be plotted should be used.

ylim

A length-two numeric vector giving the y limits of the plot. The default value, NULL, indicates that the range of the finite values to be plotted should be used.

main

A character string giving a main title for the plot.

sub

A character string giving a subtitle for the plot.

xlab, ylab

A character vector giving the x and y axis labels.

axes

A logical scalar: should axes be drawn on the plot?

frame.plot

A logical scalar: should a box be drawn around the plot?

ann

A logical scalar: should the default annotation (title and x and y axis labels) appear on the plot?

panel.first

An expression to be evaluated after the plot axes are set up but before any plotting takes place. This can be useful for drawing background grids.

panel.last

An expression to be evaluated after plotting has taken place but before the axes, title and box are added.

legend

A list of additional arguments to be passed to graphics::legend(); names of the list are used as argument names. If NULL, no legend is displayed.

Author(s)

N. Frerebeau


dimensio documentation built on Nov. 25, 2023, 1:08 a.m.