sys_CalculateGroupPath: Calculate Group Path This function is derived from the...

View source: R/sys_CalculateGroupPath.R

sys_CalculateGroupPathR Documentation

Calculate Group Path This function is derived from the 'ggradar' package. https://github.com/ricardo-bion/ggradar/. Converts variable values into a set of radial x-y coordinates

Description

Calculate Group Path This function is derived from the 'ggradar' package. https://github.com/ricardo-bion/ggradar/. Converts variable values into a set of radial x-y coordinates

Usage

sys_CalculateGroupPath(df)

Arguments

df

a dataframe with Col 1 is group ('unique' cluster / group ID of entity) and Col 2-n are v1.value to vn.value - values (e.g. group/cluser mean or median) of variables v1 to v.n

Value

a dataframe of the calculated axis paths

Source

Code adapted from a solution posted by Tony M to https://stackoverflow.com/questions/9614433/creating-radar-chart-a-k-a-star-plot-spider-plot-using-ggplot2-in-r/.


sysAgNPs documentation built on April 4, 2025, 3:27 a.m.