filter_graphemes: Filter graphemes of a single participant

View source: R/filter_graphemes.R

filter_graphemesR Documentation

Filter graphemes of a single participant

Description

Takes in a list of Grapheme objects and a character vector. Returns a list of Grapheme objects, consisting of the participant's graphemes which had a symbol included in the character vector to filter by.

Usage

filter_graphemes(graphemes, symbol_vector = NULL)

Arguments

graphemes

A list of Grapheme objects.

symbol_vector

A character vector of symbols to filter the participant's graphemes by. Alternatively NULL (default), in which case no filtering will be done and the full grapheme list is returned.

Value

A list of Grapheme objects.


synr documentation built on June 22, 2024, 7:25 p.m.