cdss_tables2sa: Build matrices of taught and required, respectively, skills...

View source: R/cdss_tables2sa.R

cdss_tables2saR Documentation

Build matrices of taught and required, respectively, skills for learning objects from respective tables.

Description

cdss_tables2sa expects two data frames with two columns each. The first column contains the IDs of learning objects and the second row the IDs of single skills required or taught, respectively, by this learning object. It returns a list of two binary matrices, "taught" and "required". Each matrix has one row per learning object and one column per skill. The cells contain a "1" if the skill is taught or required, respectively, by the learning object and a "0" otherwise.

Usage

cdss_tables2sa(taught, required)

Arguments

taught

Data table containing the assignment of taught skills to learning objects

required

Data table containing the assignment of required skills to learning objects

Value

List of two binary matrices, "taught" and "required".

See Also

Other functions building skill (multi) assignment matrices: cdss_sa2sma()


CDSS documentation built on Oct. 9, 2023, 1:06 a.m.

Related to cdss_tables2sa in CDSS...