Hi,

I'm doing some work with linear models, and I've scaled my data using the
scale(dataset) function. This was great at removing the skew, but I now
can't perform the Box Cox transformation on the data set (using the
boxcox(dataset) function), as the scaling has returned negative values.

So my question is: how can I get the scale function to return a positive set
of data (so I can use Box-Cox), or how can I get the boxcox function to
handle negative values.

Many thanks in advance,

Henry

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to