timeline_rd3 produces a timeline_rd3 object ready for its representation as an interactive time line in a web browser.
timeline_rd3(periods, name = "name", start = "start", end = "end", group = NULL,
text = NULL, main = NULL, note = NULL, info = NULL,
events = NULL, eventNames = "name", eventPeriod = "period",
eventTime = "date", eventColor = NULL, eventShape = NULL,
cex = 1, language = c("en","es","ca"), dir = NULL)Object of class timeline_rd3.
a data frame with at least three columns describing period names, start and end.
name of the column with names in the periods data frame.
name of the column with starts in the periods data frame.
name of the column with ends in the periods data frame.
name of the column with a grouping criteria in the periods data frame.
name of the column with a descriptive text of periods (html format) in the periods data frame.
upper title of the graph.
lower title of the graph.
name of the column in the periods data frame with information to display on the information panel.
a data frame of events related to periods (shown as dots) with three columns: interval name, event name and event date
name of the column with event identifiers in the events data frame.
name of the column with interval identifiers in the events data frame.
name of the column with time points in the events data frame.
name of the column with the color criteria in the events data frame.
name of the column with the shape criteria in the events data frame.
number indicating the amount by which plotting text should be scaled relative to the default.
a character string indicating the language of the graph (en=english (default); es=spanish; ca=catalan).
a "character" string representing the directory where the web files will be saved.
Modesto Escobar, Department of Sociology and Communication, University of Salamanca.
# Database of 19th century sociologists
data(sociologists)
timeline <- timeline_rd3(sociologists,"name","birth","death","birthcountry")
if (FALSE) {
plot(timeline)
}
Run the code above in your browser using DataLab