This is a dangerous thing to do if you're interested in statistics, but for visualization purposes, it can be useful to make some decisions about what's being removed. For the purposes of this function, the count is the node's degrees.

truncateNodes(
  object,
  eliminateAbove = NULL,
  eliminateBelow = NULL,
  printResults = F
)

Arguments

object

The list that contains nodes and edges, (the output of createNetwork)

eliminateAbove

nodes larger than this number will be omitted, Default: NULL

eliminateBelow

nodes smaller than this number will be omitted, Default: NULL

printResults

View node degrees to help w/ trim limits?

Value

a list with 3 objects, same structure as the input

Details

DETAILS

Examples

if (FALSE) { if(interactive()){ #EXAMPLE1 } }