snotskie / EpistemicNetworkAnalysis.jl

Native implementation of Epistemic Network Analysis written in the Julia programming language. Based on rENA 0.2.0.1.
https://snotskie.github.io/EpistemicNetworkAnalysis.jl/
GNU General Public License v3.0
6 stars 2 forks source link

add example for how to plot single / few units #66

Open snotskie opened 2 months ago

snotskie commented 2 months ago

document this by making an example page about it:

if you want to plot one a few (or just one) unit, without it scaling down based on the total grand mean, you should be able to do something like the following:

interestingUnits = ["JaneDoe", "JackDoe"]
interestingModel = ENAModel(model, rotateBy=TrainedRotation(model), unitFilter=unit -> unit.unitID in interestingUnits)
plot(interestingModel, groupBy=:unitID)

(not yet tested)