View source: R/fortify_stats.R
fortify.prcomp | R Documentation |
stats::prcomp
, stats::princomp
to data.frame
Convert stats::prcomp
, stats::princomp
to data.frame
## S3 method for class 'prcomp'
fortify(model, data = NULL, ...)
model |
|
data |
original dataset, if needed |
... |
other arguments passed to methods |
data.frame
## Not run:
fortify(stats::prcomp(iris[-5]))
fortify(stats::prcomp(iris[-5]), data = iris)
fortify(stats::princomp(iris[-5]))
fortify(stats::princomp(iris[-5]), data = iris)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.