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

VPC plots stratified by more than two variables #227

Open
JoannaPeng opened this issue Jun 27, 2024 · 0 comments
Open

VPC plots stratified by more than two variables #227

JoannaPeng opened this issue Jun 27, 2024 · 0 comments

Comments

@JoannaPeng
Copy link

How to create VPC plots stratified by more than two variables?

Specifically, the VPC was created using PsN with -stratify_on=VAR1,VAR2,VAR3,VAR4.

In R, vpc_data=vpc_data(..., stratify=VAR1~VAR3), but this line specifies only two variables. How to modify this line to specify all four variables? (And the combination of VAR3 and VAR4 will be used as a column variable, and the combination of VAR1 and VAR2 will be used as a row variable.)

I tried stratify=c('VAR1','VAR2','VAR3','VAR4'), but got an error message.

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