Installation from CRAN
install.packages("directlabels")Install development version from GitHub
Development of directlabels on R-Forge stopped on 16 June 2015. Please install the development version from GitHub instead:
if(!require(devtools))install.packages("devtools") devtools::install_github("tdhock/directlabels")
Changes are listed in NEWS.
Usage examples
Please check the documentation page (with links to examples for specific methods) and the page with several advanced examples.
Development and documentation
Documentation in R/*.R files is used to make man/*.Rd files using inlinedocs:
devtools::install_github("tdhock/inlinedocs") inlinedocs::package.skeleton.dx("path/to/directlabels")
The directlabels documentation examples site can be generated in the site directory by using:
directlabels::dldoc("path/to/directlabels")
Be careful about what you put in each of the R code files – they are
used to generate the documentation. For example, R/dotplot.R defines
just two R objects: angled.endpoints and top.qp. Don’t add anything to
this file unless you want it to show up in the docs as another
Positioning Method for dotplots. Miscellaneous functions that could be
helpful for constructing Positioning Methods should be put in
R/utility.function.R.
.png)