erdos_number | R Documentation |
A function to crawl the co-author tree looking for matches
erdos_number(myname, target = "Erdos", cutoff = 2)
myname |
name as character with two elements, forename and surname |
target |
the name to match |
cutoff |
stop trying after going this number of levels deep |
This is really just an example function showing how the RMendeley functions can leverage the power of scripted codes and the R language to perform arbitrary & complicated data manipulation.
the erdos number and the network of coauthors The network is a list, where each element is successively farther removed
## Not run: a <- erdos_number(myname=c(forename='Carl', surname='Boettiger'), target=c(forename='Simon', surname='Levin'), cutoff=3) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.