plot_speechmap: Plot Verifit speechmap results

Description Usage Arguments Value Examples

Description

Takes the data frame returned by speechmap_to_df and plots the data using ggplot2. Data are plotted on a logx scale with color coding for stimulus level. The function can be configured to either average across ears or separate the ears into facets.

Usage

1
plot_speechmap(x, separate.ears = FALSE, main.title = NULL)

Arguments

x

A data frame of Verifit speechmap data, as returned from speechmap_to_df

separate.ears

An optional boolean value to indicate if ears should be plotted separately in facets (TRUE) or averaged in a single plot (FALSE).

main.title

An optional string that will be used as a main title, if present.

Value

A ggplot2 plot of the data in x.

Examples

1
2
3
4
5
## Not run: 
df <- speechmap_to_df(speechmap.xml)
plot_speechmap(df)

## End(Not run)

kevindsp/verifitr documentation built on May 9, 2019, 8:09 p.m.