Can I provide a parameter to the ggpairs function in the GGally package to use log scales for some, not all, variables?
Can I provide a parameter to the ggpairs function in the GGally package to
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t provide the parameter as such (a reason is that the function creating the scatter plots is predefined without scale, see
ggally_points), but you can change the scale afterward usinggetPlotandputPlot. For instance: