Learn R Programming

henna (version 0.3.4)

distFreq: Map values to distances from the center and find the frequency of these distances

Description

This function interprets values as distances from a center (high values = low distances) and calculates the frequencies of these distances.

Usage

distFreq(valuesDF)

Value

A data frame of distance frequencies.

Arguments

valuesDF

A data frame with names on the first column and positive integers on the second column.

Details

Used later to draw concentric circles with the frequencies representing the number of points on a circle of the same radius.