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

Improvements in ss.rr plots #8

Open
emilopezcano opened this issue Mar 1, 2021 · 3 comments
Open

Improvements in ss.rr plots #8

emilopezcano opened this issue Mar 1, 2021 · 3 comments
Labels

Comments

@emilopezcano
Copy link
Owner

User request for ss.rr:

But how can I change the titles in the subplots.
Most automatically adopt the name of the column that is specified such as appr = operator (in my case). But for the xbar > > chart it uses “appr”. Also, how could I change the position of the plots?

@k-tatgenhorst
Copy link
Contributor

k-tatgenhorst commented Apr 19, 2023

As this bumps right into code I am currently looking at, I will take a look.
such as appr = operator (in my case). But for the xbar > > chart it uses “appr”. Also, how could I change the position of the plots?
As far as I can see, the xbar chart also uses the name of the column. I am going to guess that issue may have been a bug and previously addressed?

In the ss.rr.R code each plot has a name attribute and a row and column attribute. I am thinking to define an optional argument and set all of those up in some form of variable (probably a matrix) at the top of the code which can be overwritten.

@k-tatgenhorst
Copy link
Contributor

I have an additional optional argument (layout) which is passed. It defaults to an empty matrix of 6 rows, 3 columns.
Each row carries a title and row and column for one of the graphs.
I currently have this working and am working on the testing for the argument (so it doesn't just accept junk). I hope to submit a pull request for this tonight.

In terms of building this argument in a call, here is a sample:

The six variables are in the order in which the graphs are normally viewed.

However, the rows and columns are reversed and this does reverse the order on the screen.

bp <- c("Summarized Variation", 3, 2)
cr <- c("Variance Between Appraisers", 2, 2)
cm <- c("Mean of x Between Operators", 1, 2)
vbp <- c("Variation Between Parts", 3, 1)
vba <- c("Variation Between Appraisers", 2, 1)
pai <- c("Part and Appraiser Interaction", 1, 1)

layout <- rbind(bp,cr, cm, vbp, vba, pai)
rownames(layout) <- c("bp","cr", "cm", "vbp", "vba", "pai")

@k-tatgenhorst
Copy link
Contributor

This is a call I wrote based off of someone else's Youtube video (I don't want anyone thinking I am plagiarizing, but I forgot whose video it was). I wanted one that was very simple. So, this file can either call with or without the customizations to make it easy for any to test and look (yes - the ss.R needs to be merged before this will work).

One other note, as you play with customization remember that the 6th chart (part:appraiser) is not displayed if you set the method to "nested".

Enjoy - and please feel free to give feedback or make corrections.

customizableGRR.txt

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

No branches or pull requests

2 participants