Learn R Programming

lares (version 4.7)

gg_pie: Density plot for discrete and continuous values

Description

This function plots discrete and continuous values results

Usage

gg_pie(df, var, table = FALSE, save = FALSE, subdir = NA)

Arguments

df

Dataframe Event, role, label, or row.

var

Variable to group, count and plot

table

Boolean. Print results as table?

save

Boolean. Save the output plot in our working directory

subdir

Character. Into which subdirectory do you wish to save the plot to?