% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/apca.R
\name{plot.apca}
\alias{plot.apca}
\title{Plot Method for APCA Objects}
\usage{
\method{plot}{apca}(
  x,
  pc_x = 1,
  pc_y = 2,
  col = "steelblue",
  pch = 16,
  cex = 1.2,
  las = 1,
  ...
)
}
\arguments{
\item{x}{An object of class "apca".}

\item{pc_x}{Integer. The principal component to plot on the X-axis (default: 1).}

\item{pc_y}{Integer. The principal component to plot on the Y-axis (default: 2).}

\item{col}{Color of the points (default: "steelblue").}

\item{pch}{Point character (default: 16).}

\item{cex}{Point size (default: 1.2).}

\item{las}{Axis label orientation (default: 1).}

\item{...}{Additional graphical parameters passed to the base plot function.}
}
\value{
No return value, called for side effects (plotting).
}
\description{
Generates a scatter plot of the principal component scores.
}
\examples{
data(mtcars)
res <- apca(mtcars, n_components = 3, method = "svd", scale = TRUE)

# Plot PC1 vs PC2 (Default)
plot(res)

# Plot PC1 vs PC3 with custom base R graphical parameters
plot(res, pc_x = 1, pc_y = 3, col = "red", pch = 19)
}
