Skip to contents

biplFig() was renamed to plot().

Usage

# S3 method for class 'missmi'
plot(
  missbp,
  engine = c("ggplot2", "base"),
  Z.col = "#61223b",
  CLP.col = "#b79962",
  Z.pch = 19,
  CLP.pch = 15,
  Z.cex = 1.5,
  CLP.cex = 1.7,
  title = NULL,
  ...
)

biplFig(
  missbp,
  engine = c("ggplot2", "base"),
  Z.col = "#61223b",
  CLP.col = "#b79962",
  Z.pch = 19,
  CLP.pch = 15,
  Z.cex = 1.5,
  CLP.cex = 1.7,
  title = NULL,
  ...
)

Arguments

missbp

An object of class missbp obtained from preceding function missmi().

engine

Select whether the plot should be generated with ggplot2 or base, with default ggplot2.

Z.col

Colour of sample coordinates

CLP.col

Colour of category level point coordinates

Z.pch

Plotting character of sample coordinates

CLP.pch

Plotting character of category level point coordinates

Z.cex

Size of plotting character for sample points

CLP.cex

Size of plotting character for category level point points

title

Title of the GPAbin biplot.

Value

  • If compdat = NULL in evalMeas, only a GPAbin biplot will be constructed.

  • If a complete data set (compdat) was specified in evalMeas, two biplots will be constructed: (1) Complete MCA biplot and (2) GPAbin biplot.

Details

Creates a multiple correspondence analysis (MCA) biplot

Examples

data(implist)
missbp <- missmi(implist)|> DRT() |> GPAbin() |> plot(title = "GPAbin biplot")

data(compdat)
missmi(implist) |> DRT() |> GPAbin() |> evalMeas(compdat=compdat) |> plot()


#> [1] "There are 5 imputations / variations of your data available."