plot_flower: Flower plot

View source: R/plotflower.R

plot_flowerR Documentation

Flower plot

Description

Flower plot

Usage

plot_flower(.Data, title = NA, legend_include = TRUE, colors = NA,
  fixed_colors = FALSE, filename = NA)

Arguments

.Data

data frame containing scores to be plotted. Column names should include "score", "weight", "category", and "label"

title

optional title for the plot

legend_include

logical, whether to include a plot legend, defaults to TRUE

colors

an optional color palette to be used for the petal colors

fixed_colors

if TRUE, then use a discrete fixed color palette for coloring petals based on petal categories; defaults to FALSE,

filename

if not NA, save the figure using this filename (relative or absolute)

Value

ggplot object of the flowerplot

Examples


data(ohi)
plot_flower(ohi, "OHI Example")


mbjones/flowers documentation built on June 15, 2025, 1:51 p.m.