plot_raw_arm: Plot raw pin measurements, first averaged to arm level, by...

View source: R/plot_raw_arm.R

plot_raw_armR Documentation

Plot raw pin measurements, first averaged to arm level, by date

Description

Plot raw pin measurements, first averaged to arm level, by date

Usage

plot_raw_arm(data, columns = 4, pointsize = 2, sdline = TRUE,
  sdlinesize = 1, scales = "free_y")

Arguments

data

a data frame with one row per pin reading, and the following columns, named exactly: date, set_id, arm_position, pin_height

columns

number of columns for the faceted graph

pointsize

size of points for 'geom_point()' layer

sdline

logical; include error bars for +/- one standard deviation?

sdlinesize

size for width of error bars

scales

passed to 'facet_wrap'; same fixed/free options as that function

Value

a ggplot object

Examples

plot_raw_arm(example_sets)
plot_raw_arm(example_sets, columns = 1, pointsize = 3)
plot_raw_arm(example_sets, sdline = FALSE)

swmpkim/SETr documentation built on May 6, 2024, 11:15 p.m.