Learn R Programming

ggfortify (version 0.4.17)

fortify.lfda: Convert lfda::lfda or lfda::klfda or lfda::self to data.frame

Description

Convert lfda::lfda or lfda::klfda or lfda::self to data.frame

Usage

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

Value

data.frame

Arguments

model

lfda::lfda or lfda::klfda or lfda::self instance

data

original dataset, if needed

...

other arguments passed to methods

Examples

Run this code
if (FALSE) {
model <- lfda::lfda(iris[, -5], iris[, 5], 3, metric = "plain")
fortify(model)
}

Run the code above in your browser using DataLab