Learn R Programming

ggfortify (version 0.4.17)

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

Description

Convert stats::dist to data.frame

Usage

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

Value

data.frame

Arguments

model

stats::dist instance

data

original dataset, if needed

...

other arguments passed to methods

Examples

Run this code
fortify(eurodist)

Run the code above in your browser using DataLab