get_n_non_exercise_slides_before_question: Gets 'n' non exercise slide transitions before the...

Description Usage Arguments Value

Description

It searches for the longest slide transition for 'question.slide' and then it tries to find ‘n' consecutive slide transitions that don’t contain an exercise. It will return all the non-exercise slide transitions it could find (up to 'n') plus the question.slide transition.

Usage

1
2
get_n_non_exercise_slides_before_question(slide.transitions, session,
  question.slide, n = 3)

Arguments

slide.transitions

a data.frame with the available slide.transitions that contain 'question.slide'

session

the session where the 'question.slide' belongs

question.slide

the name of the slide that contains the question of interest

n

the number of consecutive non-exercise slides to search for

Value

a data.frame with the n+1 slide transitions


triglian/asqr documentation built on May 31, 2019, 7:53 p.m.