Science Score: 23.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
-
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
1 of 2 committers (50.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.9%) to scientific vocabulary
Keywords
Repository
An R package to ease data visualization
Basic Info
- Host: GitHub
- Owner: miserman
- Language: R
- Default Branch: master
- Homepage: https://miserman.github.io/splot/
- Size: 58 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 3
Topics
Metadata Files
README.md
splot
An R package to ease data visualization.
The aim of this package is to make visualization an early part of the data analysis process by automating a few common plotting tasks.
In terms of design, it has three general principles:
- Flexibility: splot prefers to try to make a reasonable plot from any input, rather than erroring out.
- Minimal specification: You should be able to make most plots with just a formula input, and the same formula should generally be compatible with multiple plot types, regardless of variable types.
- Tweakability: Though splot is focused on quick, automated plotting, you should be able to adjust any aspect of the display with additional arguments, if you find a plot you want to display elsewhere.
features
By entering a formula as the first argument in the splot function (e.g., splot(y ~ x)), you can make
- Density distributions (overlaid on histograms when there is no
byvariable) - Scatter plots with prediction lines
- Bar or line graphs with error bars
For each type, multiple y variables or data at levels of a by variable are shown in the same plot frame,
and data at levels of one or two between variables are shown in separate plot frames, organized in a grid.
resources
- Introduction
- Documentation
- Style Guide
- Gallery
- Applied examples: Exploring Data | Refining a Result
installation
Download R from r-project.org.
Release (version 0.5.4)
R
install.packages("splot")
Development (version 0.5.5)
```R
install.packages("remotes")
remotes::install_github("miserman/splot")
Then load the package:
R
library(splot)
```
examples
Make some data: random group and x variables, and a y variable related to x:
R
group = rep(c("group 1", "group 2"), 50)
x = rnorm(100)
y = x * .5 + rnorm(100)
The distribution of y:
R
splot(y)
A scatter plot between y and x:
R
splot(y ~ x)
Same data with a quadratic model:
R
splot(y ~ x + x^2 + x^3)
Same data separated by group:
R
splot(y ~ x * group)
Could also separate by median or standard deviations of x:
R
splot(y ~ x * x)
splot(y ~ x * x, split = "sd")
Summarize with a bar plot:
R
splot(y ~ x * group, type = "bar")
Two-level y variable with a probability prediction line:
```R
make some new data for this example:
a discrete y variable and related x variable:
ybin = rep(c(1, 5), 50) xcon = y_bin * .4 + rnorm(100)
lines = "prob" for a prediction line from a logistic model:
splot(ybin ~ xcon, lines = "prob") ```
Owner
- Name: Micah Iserman
- Login: miserman
- Kind: user
- Website: https://osf.io/p495t
- Repositories: 4
- Profile: https://github.com/miserman
GitHub Events
Total
Last Year
Committers
Last synced: over 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| miserman | m****n@t****u | 203 |
| Micah | m****n@g****m | 17 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total 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
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
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 340 last-month
- Total dependent packages: 1
- Total dependent repositories: 2
- Total versions: 11
- Total maintainers: 1
cran.r-project.org: splot
Simplified Plotting for Data Exploration
- Homepage: https://miserman.github.io/splot/
- Documentation: http://cran.r-project.org/web/packages/splot/splot.pdf
- License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
-
Latest release: 0.5.4
published over 2 years ago
Rankings
Maintainers (1)
Dependencies
- R >= 3.1 depends
- grDevices * depends
- graphics * depends
- stats * depends
- knitr * suggests
- rmarkdown * suggests