Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
R
 
 
 
 
man
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

https://api.travis-ci.org/tdhock/directlabels.svg?branch=master https://codecov.io/gh/tdhock/directlabels/branch/master/graph/badge.svg

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 via the gh-pages branch 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.

About

Direct labels for multicolor plots in lattice or ggplot2

Resources