StudentRecord-class: Class '"StudentRecord"'

StudentRecord-classR Documentation

Class "StudentRecord"

Description

This is a wrapper for the Bayesian network information for a particular student. It contains a local copy of the Bayesian network.

Objects from the Class

Objects can be created by calls to the function StudentRecord, uid, context, timestamp, smser, sm, stats, hist, evidence).

Slots

_id:

Object of class "character" The mongo ID of the object, empty character if it has not been saved in the database. If Mongo is not being used, this field can be used for other kinds of IDs.

app:

Object of class "character" that gives the identifier for the application this record is used with.

uid:

Object of class "character" which is the unique identifier for the user (student, player).

context:

Object of class "character" which identifies the scoring context (scoring window).

evidence:

Object of class "character" giving the IDs of the evidence sets applied to this student model.

timestamp:

Object of class "POSIXt" giving the timestamp of the last evidence set applied to this model.

sm:

Object of class "Pnet", the actual student model (or NULL if it is not yet built).

smser:

Object of class "list" the serialized student model.

seqno:

Object of class "integer" a sequence number, that is the number of evidence sets applied.

stats:

Object of class "list" the most recent statistics generated from this model.

hist:

Object of class "list" list of history lists for the designed history variables. There is one element for each history variable.

issues:

A character vector giving errors and warnings from processing evidence for this record.

prev_id:

Object of class "character" the Mongo ID of the previous student model.

Methods

app

signature(x = "StudentRecord"): returns the application id associated with this record.

as.jlist

signature(obj = "StudentRecord", ml = "list"): serialized the record as JSON

context

signature(x = "StudentRecord"): return the context (scoring window) identifier asociated with the last processed evidence set.

evidence

signature(x = "StudentRecord"): returns the ids of the aborbed evidence sets.

evidence<-

signature(x = "StudentRecord"): sets the ids of the aborbed evidence sets.

histNames

signature(sr = "StudentRecord"): returns the names of the history variables.

history

signature(sr = "StudentRecord", name = "character"): returns the history list for the variable.

seqno

signature(x = "StudentRecord"): returns the sequence number for this record.

seqno<-

signature(x = "StudentRecord"): sets the sequence number for this record.

show

signature(object = "StudentRecord"): prints the record.

sm

signature(x = "StudentRecord"): returns the Bayes net (Pnet) associated with this record.

sm<-

signature(x = "StudentRecord", value="ANY"): sets the Bayes net (Pnet) associated with this record.

stat

signature(sr = "StudentRecord", name = "character"): returns the current value of the named statistics.

statNames

signature(sr = "StudentRecord"): returns the names of the statistics.

stats

signature(x = "StudentRecord"): returns all of the statistics.

timestamp

signature(x = "StudentRecord"): returns the timestamp of the last absorbed evidence set.

toString

signature(x = "StudentRecord"): creates a printed representation.

uid

signature(x = "StudentRecord"): returns the ID for the student/player.

Author(s)

Russell Almond

References

Almond, R.G., Mislevy, R.J., Steinberg, L.S., Williamson, D.M. and Yan, D. (2015) Bayesian Networks in Educational Assessment. Springer. Chapter 13.

See Also

StudentRecord, EvidenceSet, StudentRecordSet

Examples

showClass("StudentRecord")



ralmond/EABN documentation built on Aug. 30, 2023, 12:52 p.m.