timeCoin produces a timeCoin object.

timeCoin(nodes, name = "name", start = "start", end = "end", group = NULL,
         text = NULL, main = NULL, note = NULL, info = NULL, events = NULL,
         eventChild = "eventChild", eventParent = "eventParent", eventTime = "Time",
         eventColor = NULL, eventShape = NULL,
         cex = 1, language = c("en","es","ca"), dir = NULL)

Arguments

nodes

a data frame with at least three vectors of names, start and end.

name

name of the vector with names in the nodes data frame.

start

name of the vector with starts in the nodes data frame.

end

name of the vector with ends in the nodes data frame.

group

name of the vector with groups in the nodes data frame.

text

name of the vector with html text in the nodes data frame.

main

upper title of the graph.

note

lower title of the graph.

info

name of the vector with information to display in a panel in the nodes data frame.

events

a data frame of events realted to nodes with three columns: node name, event name and event date

eventChild

name of the vector with sources in the events data frame.

eventParent

name of the vector with targets in the events data frame.

eventTime

name of the vector with time points in the events data frame.

eventColor

name of the vector with color criteria in the events data frame.

eventShape

name of the vector with shape criteria in the events data frame.

cex

number indicating the amount by which plotting text should be scaled relative to the default. Default = 1.

language

a character vector (es=spanish; en=english; ca=catalan).

dir

a "character" string representing the directory where the web files will be saved.

Value

Object of class timeCoin.

Author

Modesto Escobar, Department of Sociology and Communication, University of Salamanca. See https://sociocav.usal.es/blog/modesto-escobar/

Examples

# Database of 19th century sociologists data(sociologists) timeCoin(sociologists,"name","birth","death","birthcountry")
#> #> Nodes(33): #> name birth death birthcountry movements #> Karl Marx 1818 1883 Germany Marxism #> Friedrich Engels 1820 1895 Germany Marxism #> Hebert Spencer 1820 1903 UK Evolutionism #> Wilhelm Dilthey 1833 1911 Germany Interpretive sociology #> William Graham Sumner 1840 1910 USA Evolutionism #> Vilfredo Pareto 1848 1923 France Formalism #> ... #>