path: The Learning Path

Description Usage Arguments Value Author(s) References

Description

path returns a vector of references pointing to the chronologically ordered Performance objects, the person of interest has completed.

Usage

1
2
3
   path( x, ix=NULL )

   path( x, from=NULL, to=Sys.time() )

Arguments

x

a Person object.

ix

optional: numeric vector with the index positions of the performances to be returned. Using this, path will reshuffle the performances in the desired order.

from

character string containing a valid start date with time in the format "%Y-%m-%d %H:%M:%S". All performances before the from timestamp will be ignored.

to

optional: character string containing a valid end date with time in the format "%Y-%m-%d %H:%M:%S". If to is missing, the current date and time will be used. All performances after the to timestamp will be ignored.

Value

NULL or vector with references pointing to the matching Performance objects, sorted ascending by date (from oldest to latest).

Author(s)

Fridolin Wild <wild@brookes.ac.uk>

References

Fridolin Wild (2016): Learning Analytics in R with SNA, LSA, and MPIA, Springer:Berlin.


mpia documentation built on May 2, 2019, 4:18 p.m.