switch(R$options$whichMatrix,
  "raw" = plotSbm(R$sbm,
    ordered = FALSE, transpose = R$options$showTransposed,
    labels = R$upload$labels,
    plotOptions = R$options
  ),
  "ordered" = plotSbm(R$sbm,
    ordered = TRUE, transpose = R$options$showTransposed,
    labels = R$upload$labels,
    plotOptions = R$options
  ),
  "expected" = plotSbm(R$sbm,
    ordered = TRUE, transpose = R$options$showTransposed,
    labels = R$upload$labels,
    plotOptions = c(R$options, showValues = F)
  )
)


Try the shinySbm package in your browser

Any scripts or data that you put into this service are public.

shinySbm documentation built on Sept. 8, 2023, 5:06 p.m.