EveS {GrpString}R Documentation

Converts sequence of event names to a string

Description

EveS converts event names in a vector to a single string based on the conversion key.

Usage

EveS(eves.vec, eveName.vec, char.vec)

Arguments

eves.vec

Vector that stores event names to be converted.

eveName.vec

Event name vector in a conversion key.

char.vec

Character vector in a conversion key.

Details

The lengths of eveName.vec and char.vec are the same.

Each element (event name) in eveName.vec corresponds to an element (character) in char.vec.

An element in char.vec can be a letter, digit, or a special character.

Value

The function returns a string.

See Also

EveStr, EveString

Examples

event.vec <- c("aoi_1", "aoi_2", "aoi_3", "aoi_2", "aoi_1")
eve.names <- c("aoi_1", "aoi_2", "aoi_3")
labels <- c("a", "b", "c")
EveS(event.vec, eve.names, labels)


[Package GrpString version 0.3.2 Index]