incTime | R Documentation |
Convert a data frame with two numbers (normally a beginning year and end year) into an incidences matrix whose rows are the intermediate numbers, and whose columns are the content of the names column.
incTime(data, name = "name", beginning = "birth", end= "death")
data |
a data frame a name and two numbers. |
name |
Column with the names (default= "name"). |
beginning |
Column with the beginning number to include (default= "birth"). |
end |
Column with the end number to include (default= "death"). |
A data frame in which the two first columns are source and target. The rest of the columns are sim.=(1+threshold-real difference) and dist.=(difference between numbers)
Modesto Escobar, Department of Sociology and Communication, University of Salamanca. See https://sociocav.usal.es/blog/modesto-escobar/
# From sociologists data
data("sociologists")
head(incTime(sociologists))[,1:5]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.