classificationNetwork: Visualize a (mis)classification network.

Description Usage Arguments Value Author(s) Examples

View source: R/classificationNetwork.R

Description

Input a prediction and an outcome vector that are in correspondence, get out a graph.

Usage

1
2
classificationNetwork(nodesIn, realClass, predClass, whichviz = "force",
  outfile = "temp.html", zoom = F, opac = 0.8, mycharge = -400)

Arguments

mat

input matrix

k

rank to use

reducex

reduce the input matrix to k-size subspace

Value

matrix is output

Author(s)

Avants BB

Examples

1
2
3
4
5
6
## Not run: 
  sentencesubset <- sentencedf$sentences %in% unique(fspacenames[redlist[l2]])
  nodedf <- data.frame( nodename=sentencedf[sentencesubset,1], nodeid=sentencedf[sentencesubset,2] )
  ww <- misclassnetwork( nodesIn=nodedf, wclassesf[l2], pred, outfile='temp2.html', mycharge=-2066, zoom=T)

## End(Not run)

stnava/RKRNS documentation built on Aug. 26, 2017, 9:55 a.m.