viz: Vizualize POK structure

Description Usage Arguments Value Author(s) See Also Examples

Description

Vizualize POK structure

Usage

1
viz(po)

Arguments

po

the dependency matrix of POKS to be vizualized

Value

a list with two components ks and comp, being the original po and analyzed connected components of po respectively, each component of comp is itself a list with two components matrix and level.sizes, being the corresponding subgraph of po and a vector indicates the number of items on each level of depth.

Author(s)

Hoang-Trieu trinh, thtrieu@apcs.vn

See Also

plotmat

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# Example: Vizualising Partial Order structure
# Declare a context where there are 15 students and 20 items
p <- pars(students = 15, items = 20)
# Add information that the Partial Order Structure should have depth of 3, two connected components and no transitive links
p <- pars(p, min.depth = 3, max.depth = 3, min.ntree = 2, max.ntree = 2, trans = FALSE)
# Generate data to calculate the `po` parameter
poks.data <- gen("poks", p)
# Visualise the Partial Order Structure
v <- viz(poks.data$po)
# Print the analysed structure
print(v)

thtrieu/edmsyn documentation built on May 31, 2019, 11:18 a.m.