Learn R Programming

ggfortify (version 0.4.17)

fortify.factanal: Convert stats::factanal to data.frame

Description

Convert stats::factanal to data.frame

Usage

# S3 method for factanal
fortify(model, data = NULL, ...)

Value

data.frame

Arguments

model

stats::factanal instance

data

original dataset, if needed

...

other arguments passed to methods

Examples

Run this code
if (FALSE) {
d.factanal <- stats::factanal(state.x77, factors = 3, scores = 'regression')
fortify(d.factanal)
fortify(d.factanal, data = state.x77)
}

Run the code above in your browser using DataLab