Learn R Programming

clustur (version 0.1.2)

get_distance_df: Get Distance Data Frame

Description

This function will generate a `data.frame` that contains the distances of all the indexes.

Usage

get_distance_df(distance_object)

Value

a distance `data.frame`.

Arguments

distance_object

The output from the `read.dist()` function.

Examples

Run this code
cutoff <- 0.2
count_table <- read_count(example_path("amazon.full.count_table"))
distance_data <- read_dist(example_path("amazon_column.dist"),
                                        count_table, cutoff, FALSE)
count_table <- get_count_table(distance_data)

Run the code above in your browser using DataLab