Draws the concise three-criterion rank-selection plot for an object
returned by nmfkc.rank (or nmfkc.net.rank,
nmfkc.signed.rank, nmfae.rank, nmfae.signed.rank):
r.squared (red) and the effective-rank utilization
eff.rank (green) on the left \([0, 1]\) axis, and the
cross-validation error sigma.ecv (blue) on the right axis, each
with points, rank-number labels and a highlighted best marker.
Usage
# S3 method for class 'nmf.rank'
plot(
x,
main = NULL,
xlab = "Rank (Q)",
ylab = "R-squared / eff.rank (0-1)",
lwd = 3,
...
)Arguments
- x
An object of class
"nmf.rank".- main
Plot title (defaults to the title stored in
x).- xlab, ylab
Axis labels.
- lwd
Line width of the criterion curves.
- ...
Further arguments passed to the initial
plot.