agricolaeplotr
A repository for agricolaeplotr package
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 (13.3%) to scientific vocabulary
Repository
A repository for agricolaeplotr package
Basic Info
- Host: GitHub
- Owner: jensharbers
- License: gpl-3.0
- Language: HTML
- Default Branch: master
- Size: 3.92 MB
Statistics
- Stars: 7
- Watchers: 1
- Forks: 3
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
output: github_document
Installation of the package
Use the following command to install the package from CRAN:
R
install.packages("agricolaeplotr")
Usage of the Package
This section demonstrates the usage of the package and its underlying functions. Factorial experiments are ubiquitous in all science and technology fields, and as an example, a factorial AB-design will be used. While some parameters are specifically relevant to agriculture, most others are beneficial for every user.
Load the Package
Use the following command to load the package after installation. The two packages below 'agricolaeplotr' are only needed for the examples.
``` R
library("agricolaeplotr")
library("ggplot2")
library("agricolae")
```
Example: Factorial AB Design with Complete Randomization
To create a design, we first utilize the agricolae package. All examples provided are directly sourced from agricolae.
After creating the object, everything is set to plot a basic graph. It is assumed that the height and width of each plot are both set to 1. In agricultural designs, it is recommended to input the measures from a plot to estimate the dimensions needed for implementing such an experiment in the field. Knowing the required dimensions in meters or other units is crucial for machinery and experiment management.
Complete randomized designs lack a factor like blocks, requiring the user to input suitable numbers for columns and rows. The product of these numbers must be greater than the size of the experiment, allowing the program to place all plots.
The following figure illustrates the output of a factorial design with two factors. The first factor has three levels, and the second one has two. The output is a standard ggplot2 design. This implies that users can apply all operations that ggplot2 and other packages using ggplot2 functions can offer. There are no layer restrictions or overly specialized layers preventing other transformations. Additionally, users may leverage 'plotly' to create interactive visualizations of the designs. This is particularly useful for field demonstrations involving various project stakeholders such as scientists, farmers, and funding agencies.
``` R library(agricolae) # origin of the needed design object trt <- c(3, 2) # factorial 3x2 outdesign <- design.ab(trt, r = 3, serie = 2, design = 'crd')
head(outdesign$book, 10)
plotdesign.factorialcrd(outdesign, ncols = 6, nrows = 3, width = 1, height = 1)
```

Planned Features for Future Versions
- Introduce a Shiny interface for interactive experiment layout.
- Incorporate additional custom field experiment tools.
- Enable the export of experiments to the ISOBUS standard.
- Implement the export of designs to PostgreSQL.
Owner
- Login: jensharbers
- Kind: user
- Repositories: 13
- Profile: https://github.com/jensharbers
GitHub Events
Total
- Watch event: 2
- Issue comment event: 2
- Push event: 4
- Pull request event: 1
- Fork event: 1
Last Year
- Watch event: 2
- Issue comment event: 2
- Push event: 4
- Pull request event: 1
- Fork event: 1
Committers
Last synced: over 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| jensharbers | j****s@g****e | 49 |
| jensharbers | 5****s | 3 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 3
- Total pull requests: 1
- Average time to close issues: 3 months
- Average time to close pull requests: about 21 hours
- Total issue authors: 3
- Total pull request authors: 1
- Average comments per issue: 1.0
- Average comments per pull request: 3.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: about 21 hours
- Issue authors: 0
- Pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 3.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- GilmourR (1)
- dksam (1)
- SchmidtPaul (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 577 last-month
- Total docker downloads: 21,613
- Total dependent packages: 0
- Total dependent repositories: 1
- Total versions: 6
- Total maintainers: 1
cran.r-project.org: agricolaeplotr
Visualization of Design of Experiments from the 'agricolae' Package
- Homepage: https://github.com/jensharbers/agricolaeplotr
- Documentation: http://cran.r-project.org/web/packages/agricolaeplotr/agricolaeplotr.pdf
- License: GPL (≥ 3)
-
Latest release: 0.6.1
published over 1 year ago
Rankings
Maintainers (1)
Dependencies
- R >= 3.6 depends
- FielDHub * imports
- agricolae * imports
- ggplot2 * imports
- methods * imports
- raster * imports
- sp * imports
- utils * imports
- knitr * suggests
- leaflet * suggests
- rgdal * suggests
- rmarkdown * suggests
- testthat >= 3.0.0 suggests