Giter Club home page Giter Club logo

qcc_ggplot's Introduction

qcc_ggplot

Rewrite of plot.qcc() from the qcc package using ggplot2 and grid. After sourcing this file, when calling qcc() with plot = TRUE (the default), this version of plot.qcc() will automatically be used.

Provides a complete, seamless replacement for qcc's plot function. Nearly all of qcc's original plotting functionality has been implemented through ggplot2 and grid rather than base graphics.

Usage

Load library qcc with library(qcc) or require(qcc), then source() the file qcc.plot.R. The qcc-native plotting function will be replaced in memory, and any future calls during the current session to plot() with a qcc object will utilize this function, including those calls from within qcc(). The resulting object can be re-used and modified within grid graphics.

plot.qcc() will require that the libraries ggplot2, grid and gtable be installed and available.

To Do

  • Add back in the ability to control axis text orientation, using axes.las.
  • Clean up the layout of the stats panel, especially when resizing to larger plot dimensions.
  • Clean up x-axis tick labels to avoid overplotting.

History

v 1.0 2014-03-03

First release.

v 1.0.1 2016-01-12

  • Update for ggplot2 v2.0 compatibility. May now break on older versions of ggplot2

v 1.0.2 2016-01-18

  • Bug fix: add in ability to specify x-axis labels (allowed in qcc; previously unsupported in qcc_ggplot)

v 1.0.3 2016-08-26

  • Backend cleanup. Assignment of df.indices in data frame was scoped incorrectly,

v 1.0.5 2016-11-12

  • Fixed problem with adding new data; qcc() calls with newdata= argument set should work correctly.
  • Fixed backwards compatibility problem with label.limits. Will now accept any text or numeric labels for UCL and LCL labels.
  • Added argument label.cl to allow manual setting of center line label
  • Fixed incorrect UCL, LCL and CL labels showing in plot info box when label.limits or label.cl was set; not correctly shows the actual calculated values.

qcc_ggplot's People

Contributors

tomhopper avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.