Comments (10)
Hi @mfenner
Do you think you could help me get started with this by helping me get just one of your visualizations into this package? I looked at plosOpenR, but I am not sure how to proceed as the visualization functions use data that was saved previously.
from alm.
We could start with a simple example of a Venn Diagram showing the subset of articles mentioned in F1000 and Wikipedia, and how the two overlap. I have created a Gist for this at https://gist.github.com/mfenner/6662304.
from alm.
Great, thanks for this.
from alm.
@mfenner Try these examples:
https://github.com/ropensci/alm/blob/master/R/plot_density.R#L15-L24
I did use ggplot2 instead of base plots as it's easier to do faceting, e.g, passing multiple data sources into the function can give you a density plot for each data source.
from alm.
associated commit 2014a4e
from alm.
The example Gist looks great. I would make #1447f2 the default color and I would add title and description as parameters for the function call so that they can be easily customized.
from alm.
Okay, I will use #1447f2 instead, and and title and description as parameters.
from alm.
Okay, @mfenner Density changed a bit, titles and axis labels use that blue color, and histograms are an option. .Title and description can be passed as arguments. A vector of colors can be passed in when plotting multiple data sources. The color
parameter only affects the color of the density/histogram plots now, not the text on the plots (which is internal to the fxn)
from alm.
Looks great! And comes at a perfect time, as I wanted to look at density plots of citations by subject area, much easier with the ggplot2 facetting.
from alm.
Great
from alm.
Related Issues (20)
- Submit new version to CRAN ignoring tests
- Add api_requests endpoint
- Fix vignette
- alm_signposts fxn HOT 1
- Param name changes HOT 1
- readme fixes
- remove rcharts from egs, description, etc.
- API key no longer needed HOT 2
- Reminder from Kurt Hornik to fix readme HOT 1
- Mendeley events parser is broken
- Add info about authentication to api_requests man file
- v6 api update HOT 3
- Import all non-base R fxns
- rbuildignore figure/ folder in vignettes/
- Add egs for DataCite installation
- Require httr v > 1
- Drop signposts
- ggplot2 new version fix
- Drop support for older lagotto versions?
- Support push API
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alm.