Remove non-active nodes from one-mode/two-mode/longitudinal networks
删除非活动节点one-mode/two-mode/longitudinal网络
译者:生物统计家园网 机器人LoveR
描述----------Description----------
The compress_ids function removes non-active nodes from one-mode/two-mode/longitudinal networks.
删除非活动compress_ids功能节点从one-mode/two-mode/longitudinal网络。
用法----------Usage----------
compress_ids(net,type=NULL)
参数----------Arguments----------
参数:net
A network in an edgelist or matrix format. See as.tnet
EdgeList,在该列表或矩阵格式的网络。见as.tnet
参数:type
See as.tnet
见as.tnet
值----------Value----------
Returns a list with either 2 or 3 objects. The first one is the network with the compressed id. The second object is the translation table between the original node identification numbers and the newly assigned. For two-mode networks, the second object is the translation table of the primary nodes, and the third object is the translation table for the secondary nodes .
返回一个与2个或3个对象列表。第一个是与压缩网络的id。的第二个目的是原来的结点标识号和新分配的之间的转换表。对于双模式网络,第二个目的是,主节点的转译表,并的第三个目的是为二次节点的转换表。