EvidenceSet-class: Class '"EvidenceSet"'

EvidenceSet-classR Documentation

Class "EvidenceSet"

Description

An EvidenceSet is a collection of observables that comes from a particular context (scoring window, task). It also has information about where it appears in the sequence of evidence that is recorded about a student. It is an extension of the P4Message class.

Objects from the Class

Objects can be created calls to the function EvidenceSet(uid, context, timestamp, obs, app, mess, sender).

Slots

seqno:

Object of class "integer" which contains the order in which this object was processed.

_id:

Object of class "character" which contains the database ID.

app:

Object of class "character" which gives a guid for the application.

uid:

Object of class "character" which gives an id for the student.

context:

Object of class "character" which gives an id for the scoring context.

sender:

Object of class "character" which gives an ID for the source of the evidence.

mess:

Object of class "character" which gives a message about what is contained in the message.

timestamp:

Object of class "POSIXt" which tells when the evidence was collected.

processed:

Object of class "logical" which is a flag to tell of the evidence has been incorporated into the StudentRecord.

pError:

Object of class "ANY" which contains processing error.

data:

Named list which contains the evidence.

Extends

Class "P4Message", directly.

Methods

as.jlist

signature(obj = "EvidenceSet", ml = "list"): This is a helper function used in serialization. See as.json.

observables

signature(x = "EvidenceSet"): returns a named list of observables (the data) field.

seqno

signature(x = "EvidenceSet"): returns the sequence number.

seqno<-

signature(x = "EvidenceSet"): sets the sequence number.

show

signature(object = "EvidenceSet"): prints a summary of the evidence set.

toString

signature(x = "EvidenceSet"): provides a summary string for the evidence set.

Author(s)

Russell Almond

See Also

StudentRecord, accumulateEvidence, handleEvidence, logEvidence,

parseEvidence, seqno, observables

Examples

showClass("EvidenceSet")

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