| sm | R Documentation |
A characteristic of the EABN model is that each code
StudentRecord is associated with a student
model–a Pnet which tracks our knowledge about
the student's knowledge skills and abilities. The function sm
accesses the net.
sm(x)
sm(x) <- value
x |
An object of class |
value |
A |
The function sm returns an object which implements the
Pnet protocol, or none is the student model has
not been generated.
The setter version returns the student record.
Russell Almond
fetchSM, unpackSM,
setupDefaultSR
library(PNetica)
##Start with manifest
sess <- RNetica::NeticaSession()
RNetica::startSession(sess)
## BNWarehouse is the PNetica Net Warehouse.
## This provides an example network manifest.
config.dir <- file.path(library(help="Peanut")$path, "auxdata")
netman1 <- read.csv(file.path(config.dir,"Mini-PP-Nets.csv"),
row.names=1, stringsAsFactors=FALSE)
net.dir <- file.path(library(help="PNetica")$path, "testnets")
Nethouse <- PNetica::BNWarehouse(manifest=netman1,session=sess,key="Name",
address=net.dir)
dsr <- StudentRecord("*DEFAULT*",app="ecd://epls.coe.fsu.edu/P4Test",
context="*Baseline*")
sm(dsr) <- WarehouseSupply(Nethouse,"miniPP_CM")
PnetCompile(sm(dsr))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.