Comments (2)
Thanks, and hmm ... I'll think about your suggestion. I get your point. But I also find the ggplot message useful.
Try:
qic(x = i, y = r, n = n, data = nhs_accidents, chart = "p", y.percent = F)
The real problem, as I see it, is that ggplot2 (or scales) add too many decimals to percent formatted y axes.
from qicharts2.
I agree, the ggplot message is useful.
How about an argument called something like "add_axes", when TRUE, adds the axes defined by qic (default), when FALSE, the qic-command won't change the axes, and you're free to alter them without the message. Or a separate argument for the X axis and one for Y...not sure what would be the best solution.
Your suggested code works, but it doesn't solve our particular problem. We want to add percentages to the scale that are correct according to Norwegian grammar. Thus, we have to add these labels in scale_y_continuous either way.
from qicharts2.
Related Issues (20)
- UCL formula for MR chart in vignette HOT 1
- Part & Freeze don't work together HOT 7
- "Error in if (getOption("qic.clshade")) { : argument is of length zero" HOT 6
- Match line colors to points HOT 1
- Change Text Size of Control Chart UCL and LCL and Mean? HOT 1
- CUSUM/bchart Update HOT 2
- Get violation points using qic chart type pp HOT 2
- part parameter as character vector – bug with subgrouped data? HOT 9
- CL on xbar different to standard formulas HOT 7
- Strange limit change on s chart after initialising HOT 11
- Allow user to get data prior to plotting function HOT 1
- Question re XmR chart R HOT 4
- Missing data points HOT 5
- Include arbitrary sigma values in qic-function HOT 5
- using ggplot2 commands to format x and y axis HOT 2
- Option to start on Sunday? HOT 1
- Theoretically question about integration with infer and bootstrapping to draw Confidence Intervals. HOT 4
- Exclude different points for different facets HOT 1
- notes overlap if close together HOT 1
- t-chart (via qic.i) chart calculation question HOT 3
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 qicharts2.