Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 205491

How to change the title of cchart.p function from IQCC package?

$
0
0

I am using cchart.p function of IQCC package to generate p-chart but title appears this "Standardized p-chart (phase II)". I want to change the title, x-label and y-label.

Code tried:

library(IQCC)

#get arguments
args <- commandArgs(TRUE)
pdfname <- args[1]
datafile <- args[2]

pdf(pdfname)
tasks <- read.csv(datafile , header = T,sep=",")
p <- cchart.p(x1 = tasks$x, n1 = tasks$y,phat = 0.02)
print(p)
dev.off()

Any function or package I can use with it?

How I can use with ggplot2 package?


Viewing all articles
Browse latest Browse all 205491

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>