[R] Getting an error calling MASS::boxcox in a function

2023-07-08 Thread Ron Crump via R-help
Hi, Firstly, apologies as I have posted this on community.rstudio.com too. I want to optimise a Box-Cox transformation on columns of a matrix (ie, a unique lambda for each column). So I wrote a function that includes the call to MASS::boxcox in order that it can be applied to each column

Re: [R] How to set colors, axis gap, and free scale in ggplot?

2022-02-22 Thread Ron Crump via R-help
What error? Those are warning messages to do with your call to geom_bar. I've never used geom_bar in that way, I'd create my summaries independently of the graphing, so can't comment on how it should be used. This simple example works fine for me: ``` library(ggplot2) data(iris) ggplot(iris) +