read_aaa | R Documentation |
It reads a file or a list of files with data exported from AAA. The data are automatically transformed from a wide to a long format (each row has values of X or Y axes for each fan line). The imported tibble can then be used for plotting and statistical analysis.
read_aaa(
file,
coordinates = "cartesian",
format = "long",
na_rm = FALSE,
knots = NULL,
column_names = NULL,
fan_lines = NULL
)
file |
The path of the file with AAA data. It can also be a character vector with multiple paths as separate strings.. |
coordinates |
A string specifying the coordinate system. Possible values are |
format |
A string specifying the data format. Possible values are |
na_rm |
Remove NAs (the default is |
knots |
The number of spline knots or fan lines. |
column_names |
The names of the columns without including the splines columns. |
fan_lines |
The number of fan lines in legacy fan-line data. |
A tibble.
columns <- c("speaker","seconds","rec_date","prompt","label",
"TT_displacement","TT_velocity","TT_abs_velocity","TD_displacement",
"TD_velocity","TD_abs_velocity")
file_path <- system.file("extdata", "it01.tsv", package = "rticulate")
tongue <- read_aaa(file_path, knots = 42, column_names = columns)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.