Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://tdhock.github.io/directlabels/
Direct labels for multicolor plots in lattice or ggplot2
https://tdhock.github.io/directlabels/
Last synced: 2 months ago
JSON representation
Direct labels for multicolor plots in lattice or ggplot2
- Host: GitHub
- URL: https://tdhock.github.io/directlabels/
- Owner: tdhock
- Created: 2015-06-16T17:31:55.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-04-17T06:01:55.000Z (9 months ago)
- Last Synced: 2024-05-21T02:54:09.924Z (8 months ago)
- Language: R
- Homepage: https://tdhock.github.io/directlabels/
- Size: 8.89 MB
- Stars: 76
- Watchers: 4
- Forks: 16
- Open Issues: 11
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
- awesome-ggplot2 - directlabels
README
[[./logos/directlabels logo (orange).png]]
#+BEGIN_HTML
#+END_HTML** Installation from CRAN
#+BEGIN_SRC R
install.packages("directlabels")
#+END_SRC** Install development version from GitHub
Development of directlabels on R-Forge stopped on 16 June 2015. Please
install the development version from GitHub instead:#+BEGIN_SRC R
if(!require(devtools))install.packages("devtools")
devtools::install_github("tdhock/directlabels")
#+END_SRCChanges are listed in [[file:NEWS]].
** Usage examples
Please check [[https://tdhock.github.io/directlabels/docs/index.html][the documentation page]] (with links to examples for specific methods) and [[https://tdhock.github.io/directlabels/examples.html][the page with several advanced examples]].
** Development and documentation
Documentation in [[file:R/][R/*.R]] files is used to make [[file:man/][man/*.Rd]] files using
[[https://github.com/tdhock/inlinedocs][inlinedocs]]:#+BEGIN_SRC R
devtools::install_github("tdhock/inlinedocs")
inlinedocs::package.skeleton.dx("path/to/directlabels")
#+END_SRCThe [[https://tdhock.github.io/directlabels/docs/index.html][directlabels documentation examples site]] can be generated via the [[https://github.com/tdhock/directlabels/tree/gh-pages][gh-pages]] branch by using:
#+BEGIN_SRC R
directlabels::dldoc("path/to/directlabels")
#+END_SRCBe careful about what you put in each of the R code files -- they are
used to generate the documentation. For example, [[file:R/dotplot.R][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
[[file:R/utility.function.R][R/utility.function.R]].