Spark Online Training by Edureka

actorAdjTable: Compute actor size adjustment on a two way table

Description Usage Arguments Details Value Author(s) References See Also Examples


When two objects are related through a bipartite graph it is sometimes appropriate to carry out special adjustments. One of the adjustments is called actor size adjustment. In this case the counts are adjusted according to how often the objects are referenced.


actorAdjTable(twT, eps = 1e-08)



A two way table as produced by twowayTable.


A small quantity used to assess approximate equality.


When testing for associations between entities, the social networks literature has developed a number of tools to help measure such associations. We can think of genes (actors) as being joined by citation in papers (events) and having two genes cited in the same paper (equivalent to two actors attending the same event) suggests that they are related to each other. However, some genes are cited in many papers and so we might want to discount the level of importance, as compared to genes that are cited less often. And additionally, some papers cite very many genes, and hence typically say less about them than a paper that cites rather fewer genes.


An adjusted two way table, with elements named u11, u12, u21 and u22.


R. Gentleman


Testing Gene Associations Using Co-citation, by B. Ding and R. Gentleman. Bioconductor Technical Report, 2004

See Also

paperLen, twowayTable


  tw1 = twowayTable("10", "100", FALSE)

Search within the CoCiteStats package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.