Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple lines #54

Open
JonasMetz opened this issue Nov 26, 2023 · 1 comment
Open

Multiple lines #54

JonasMetz opened this issue Nov 26, 2023 · 1 comment

Comments

@JonasMetz
Copy link

When using ggQC I get multiple upper and lower control lines,
Bildschirmfoto 2023-11-26 um 19 52 26

Here is the code, which I use

# Socket Thickness Data
file.path = '~/Documents/R-Programs/WheelerDonald/'
file.name = 'data_Wheeler_SocketThickness.csv'
DF = read.table(paste0(file.path, file.name), sep=",", header = TRUE)

##
# Combine time and cycles and generate a new column:
DF$subGrp = paste0(DF$time, DF$cycles)
ggplot(DF, aes(x=subGrp, y=y, color=color)) + stat_QC(method="xBar.rBar")

I also tried to convert "subGrp" into a factor, but the result is the same. I append the dataset.

data_Wheeler_SocketThickness.csv

@JonasMetz
Copy link
Author

The problem is that I use a factor for the x-values, instead of using numerical values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant