seq_to_pos: Extract order from sequence

Description Usage Arguments Value

Description

Splits a sequence string and determines the position of each cmid in the sequence. Returns a mapping of unique cmids to positions.

Usage

1
seq_to_pos(seqs)

Arguments

seqs

A vector of strings, where each string specifies an ordered sequence of cmids belonging to a course section, as found in the course_sections database table.

Value

A tibble mapping cmids to their ordered position in their parent course section. Duplicates are removed.


TheFridayInstitute/fimoodler documentation built on May 28, 2019, 9:37 a.m.