plot_writer_profiles: Plot Writer Profiles

View source: R/cluster_plot.R

plot_writer_profilesR Documentation

Plot Writer Profiles

Description

Create a line plot of writer profiles for one or more documents.

Usage

plot_writer_profiles(profiles, color_by = "docname", ...)

Arguments

profiles

A data frame of writer profiles created with {get_writer_profiles}.

color_by

A column name. 'ggplot2' will always group by docname, but will use this column to assign colors.

...

Additional arguments passed to ggplot2::facet_wrap, such as facets, nrow, etc.

Value

A line plot

Examples


docs <- system.file(file.path("extdata"), package = "handwriter")
profiles <- get_writer_profiles(docs, measure = "counts")
plot_writer_profiles(profiles)

profiles <- get_writer_profiles(docs, measure = "rates")
plot_writer_profiles(profiles)



CSAFE-ISU/handwriter documentation built on Feb. 8, 2025, 6:25 a.m.