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.
Details
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.
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(LexisPlotR)
Loading required package: ggplot2
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/LexisPlotR/lexis.grid.Rd_%03d_medium.png", width=480, height=480)
> ### Name: lexis.grid
> ### Title: Plot a Lexis grid
> ### Aliases: lexis.grid
>
> ### ** Examples
>
> library(LexisPlotR)
> lexis.grid(year.start = 1900, year.end = 1905, age.start = 0, age.end = 5)
>
>
>
>
>
> dev.off()
null device
1
>