desplot

Plotting experimental designs for field experiments

https://github.com/kwstat/desplot

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.6%) to scientific vocabulary

Keywords

rstats
Last synced: 10 months ago · JSON representation

Repository

Plotting experimental designs for field experiments

Basic Info
Statistics
  • Stars: 21
  • Watchers: 6
  • Forks: 0
  • Open Issues: 3
  • Releases: 0
Topics
rstats
Created over 10 years ago · Last pushed over 1 year ago
Metadata Files
Readme Changelog License

README.md

desplot

CRAN_Status_Badge CRAN_Downloads

Homepage: https://kwstat.github.io/desplot

Repository: https://github.com/kwstat/desplot

desplot makes it easy to plot experimental designs of field trials in agriculture.

Key features

  • Flexible options to customize appearance of graphic.

  • Stable, well-tested using lattice graphics.

  • Beta version using ggplot2 graphics. Note ggplot2 is about 4 times slower.

Installation

```R

Install the released version from CRAN:

install.packages("desplot")

Install the development version from GitHub:

install.packages("devtools") devtools::install_github("kwstat/desplot") ```

Example 1

This data is is from a split-plot experiment with 6 replicates. The replicates are shown by the colored regions and outlined by the thick lines. The text codes and the thin lines define the whole-plots. The nitrogen sub-plot treatments are shown by the text colors.

R require(agridat) require(desplot) desplot(yates.oats, block ~ col+row, col=nitro, text=gen, cex=1, aspect=511/176, out1=block, out2=gen, out2.gpar=list(col = "gray50", lwd = 1, lty = 1)) desplot

The default graphics are based on lattice. It is also possible to create graphics based on ggplot2 by adding 'gg=TRUE' to the function. This functionality is in development and the legend for the ggplot version is not as polished as the lattice version.

R require(agridat) require(desplot) desplot(yates.oats, block ~ col+row, col=nitro, text=gen, cex=1, aspect=511/176, out1=block, out2=gen, out2.gpar=list(col = "gray50", lwd = 1, lty = 1), gg=TRUE) # note, out2.gpar is ignored

desplot

Example 2

Another very useful technique is to color the cells according to a continuous response variable (such as plot yield).

R require(agridat) require(desplot) desplot(yates.oats, yield ~ col*row, col=gen, num=nitro, cex=1, out1=block, aspect=511/176) desplot

Logo note

The hexagon logo for this package shows a simple experimental design layout on top of a tan (soil-color) background.

Owner

  • Name: Kevin Wright
  • Login: kwstat
  • Kind: user
  • Location: Iowa
  • Company: Corteva Agriscience

Statistician

GitHub Events

Total
  • Issue comment event: 2
  • Push event: 2
Last Year
  • Issue comment event: 2
  • Push event: 2

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 52
  • Total Committers: 1
  • Avg Commits per committer: 52.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 2
  • Committers: 1
  • Avg Commits per committer: 2.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Kevin Wright k****t@g****m 52

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 11
  • Total pull requests: 0
  • Average time to close issues: about 22 hours
  • Average time to close pull requests: N/A
  • Total issue authors: 3
  • Total pull request authors: 0
  • Average comments per issue: 1.64
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • SchmidtPaul (8)
  • kwstat (2)
  • webbchen (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 1,846 last-month
  • Total docker downloads: 43,390
  • Total dependent packages: 4
  • Total dependent repositories: 8
  • Total versions: 11
  • Total maintainers: 1
cran.r-project.org: desplot

Plotting Field Plans for Agricultural Experiments

  • Versions: 11
  • Dependent Packages: 4
  • Dependent Repositories: 8
  • Downloads: 1,846 Last month
  • Docker Downloads: 43,390
Rankings
Docker downloads count: 0.6%
Dependent packages count: 9.3%
Downloads: 9.3%
Dependent repos count: 10.5%
Stargazers count: 11.2%
Average: 11.4%
Forks count: 27.8%
Maintainers (1)
Last synced: 11 months ago

Dependencies

DESCRIPTION cran
  • ggplot2 * imports
  • grid * imports
  • lattice * imports
  • reshape2 * imports
  • agridat * suggests
  • knitr * suggests
  • rmarkdown * suggests
  • testthat * suggests
.github/workflows/pkgdown.yaml actions
  • JamesIves/github-pages-deploy-action v4.5.0 composite
  • actions/checkout v4 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite