Description Usage Arguments Details Value Author(s) Examples
lexis.grid() plots the basic Lexis grid.
1 2 | lexis.grid(year.start, year.end, age.start, age.end, lwd = 0.3,
force.equal = T)
|
year.start |
integer, set the year the Lexis Diagram starts with. |
year.end |
integer, set the year the Lexis Diagram ends with. |
age.start |
integer, set the age the Lexis Diagram starts with. |
age.end |
integer, set the age the Lexis Diagram ends with. |
lwd |
numeric, set the linewidth of the grid. |
force.equal |
logical, by default |
The function determines the aspect ratio of the x- and y-axis to enforce
isosceles triangles. The aspect ratio will not be effected by defining
width
and height
in pdf()
or other graphic devices.
Because the returned object is a ggplot2 graph, the overall appearence of
the graph can be edited by adding themes()
to the plot.
The functions returns a ggplot2-plot.
Philipp Ottolinger
1 2 3 4 5 | ## Not run:
library(LexisPlotR)
lexis.grid(year.start = 1900, year.end = 1905, age.start = 0, age.end = 5)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.