# r software

1. ### Help! How do you make a choropleth in R!

So I have a data set with the number of violent crimes known to police in various counties in Ohio since 1990 (the file is attached). Making the dataset (from now on, I'll refer to it as OH) readable in R was enough of a task for me and now figuring out how to make a choropleth is making me...
2. ### Column of values of unique subgroup counts...

Hi, So I have a data frame, and I would like to add an additional column which shows the total sum of rows within the subgroups... heres a simple example grp=c("A","A","A","A","A","B","B","B","B","C","C") hour=c(1,1,1,2,2,1,1,1,2,1,1) test=data.frame(grp,hour,score) grp hour 1 A 1...
3. ### how to reshape the matrix with or without do loop?

Dear All, I need to reshape below matrix with or without do loop: Below is my question: fd=read.table(header=TRUE, text=" X1 X2 X3 X4 X5 X6 18.25766 123.9019 151.4487 34.1252 196.6713 231.2289 16.89285 121.7344 146.5685 60.4828 299.1966 346.6185...
4. ### Implementing non-parametric version of 2x2 Repeated Measures ANOVA in R

Hi, I have a 2x2 repeated measures design (i.e. 1 group of participants provide data for all 4 conditions in a fully factorial counterbalanced design [so there is no time factor to worry about]). The data is non-normal so I need to use a non-parametric equivalent of the 2x2 factorial ANOVA...
5. ### General Linear Models

Hi, I have an experiment where participants look at a picture and then have to choose a voice out of three for that picture. I want to find out how many participants get the right voice and whether participants' selection of the correct voice is significantly above chance. From what I've...