Category Archives: R project

Data transformation in R

I just dug out from the bottom of my drawer a very old set of data. The story is long, but in an essence what I am trying to do is to make the data look normal ([tag]normally distributed[/tag]). Let’s … Continue reading

Posted in R project | 7 Comments

Terrible NA’s

In [tag]R project[/tag], most of stuff is simple unless you have [tag]NA values[/tag] ([tag]missing data[/tag]). I struggled with them already in PCA. This time, I am not talking about any complicated programming, models or what not. No. All I want … Continue reading

Posted in R project | Leave a comment

R for Dummies

Just a short note on what I just discovered on the Internet, looking for some R stuff. It turns out, there is something like [tag]R-Commander[/tag]. In simple words- [tag]R[/tag] with pull-down menus and basic features, something like R for Dummies … Continue reading

Posted in R project | Leave a comment

Hotelling T2 test

This time an easy assignment for [tag]R project[/tag]. I needed [tag]Hotelling T-test[/tag], to compare multivariate means between two data sets. It turns out, all you need to do is to load the package [tag]ICSNP[/tag], and use function [tag]HotellingsT2[/tag]. OK, with … Continue reading

Posted in R project | Leave a comment

Heatmap in R

When I decided to switch from SAS to [tag]R project[/tag], it was because somebody told me that multivariate analysis and plots like [tag]heatmap[/tag] are much easier to do in R. I guess somebody should have told me what I learned … Continue reading

Posted in R project | Leave a comment

Principal Component Analysis in R

The one supposedly easy thing to do in [tag]R project[/tag] was [tag]biplot[/tag]. Well, indeed it is, when you have your [tag]Principal Component Analysis[/tag] ([tag]PCA[/tag]) calculated right. Which may not necessarily be easy. Let’s start from easier function [tag]princomp[/tag]. The one … Continue reading

Posted in R project | 1 Comment

Power calculations in R

My first huge disappointment with R. My boss wanted me to do simple [tag]power calculations[/tag] to see how adding 2 animals to one of groups will improve statistical power. Yeah, I know, you are not supposed to do “retrospective power … Continue reading

Posted in R project, University | Leave a comment

Dunnett all-to-control test in R

OK, it is going to be a first of series of blog entries on my struggle with [tag]R project[/tag]. I consider myself an amateur in statistics and in R, so they are going to be without any theoretical background and … Continue reading

Posted in R project, University | Leave a comment