Re: [R] negatively skewed data; reflecting

From: Jon Minton <jm540_at_york.ac.uk>
Date: Wed 23 Aug 2006 - 22:25:06 EST

I'm new to R myself, but am wondering whether the t() (transpose) function would work?

> hist(t(Lsoc))

Jon

-----Original Message-----
From: r-help-bounces@stat.math.ethz.ch
[mailto:r-help-bounces@stat.math.ethz.ch] On Behalf Of z.dalton@lancaster.ac.uk
Sent: 23 August 2006 13:08
To: r-help@stat.math.ethz.ch
Subject: [R] negatively skewed data; reflecting

Hi,

This problem may be very easy, but I can't think of how to do it. I have constructed histograms of various variables in my dataset. Some of them are negatively skewed, and hence need data transformations applied. I know that you first need to reflect the negatively skewed data and then apply another transformation such as log, square root etc to bring it towards normailty. How is it that I reflect data in R? I'm sorry if this seems a very simple task, I think it involves going back to Maths GCSE and relearning reflection, rotation, translation etc! I have searched the internet, but cannot come up with anything useful on how to reflect data.

> hist(Lsoc) #how do I reflect Lsoc in R?

I am grateful for any help regarding this matter, it is just a very small part of my analysis and doesn't seem worth agonising hours over. I will probably kick myself when someone tells me the answer!

Thank you very much,

Zoe



R-help@stat.math.ethz.ch 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.

R-help@stat.math.ethz.ch 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. Received on Wed Aug 23 22:50:21 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 24 Aug 2006 - 00:21:16 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.