[R] Pasting excell spreedsheet into notepad for R

2013-08-26 Thread Docbanks84
Hi all, Does anyone know how to export an excell spreedsheet into notepad in R format as a linear vector as opposed to columns? I.e. 2,3,4,5,6,7 etc. Thanks, Mary -- View this message in context: http://r.789695.n4.nabble.com/Pasting-excell-spreedsheet-into-notepad-for-R-tp4674568.html Sent

[R] Naming columns

2013-08-26 Thread Docbanks84
Hi , I just imported a large data set from notepad. I want to label the columns in R. I used 'import Dataset' to bring in my data set Now, I would like to label V1,V2,V3 etc?? Thanks -- View this message in context: http://r.789695.n4.nabble.com/Naming-columns-tp4674595.html Sent from the R

Re: [R] Making Sure your matrices are even

2013-08-13 Thread Docbanks84
Thank you David. I had to sort the data afterwards for it to work: S-1:86 B-1:15 V-1:45 S2 - data.frame(Group=rep(S, length(S)), Cat=factor(S)) B2 - data.frame(Group=rep(B, length(B)), Cat=factor(B)) V2 - data.frame(Group=rep(V, length(V)), Cat=factor(V)) table(rbind(S2, B2, V2))

[R] Making Sure your matrices are even

2013-08-12 Thread Docbanks84
Hi, I am trying to do a chi sqaure on a set of values, and my different groups are not even. Is there away to add arbetrary symbols or #s to make the matrices even? Or do I need to do a different type of pvalue analysis? S-1:86 B-1:15 V-1:45 table(S) S 1 2 3 4 5 6 7 8 9 10 11 12 13

[R] cbind with headers

2013-08-08 Thread Docbanks84
Hi, I can't seem to get this to work: http://www.endmemo.com/program/R/cbind.php Do I save the data as data1.csv in note pad and pull in the file? Do I type data1.csv-Subtype,Gender,Expression,A,m,-0.54,A,f,-0.8,B,f,-1.03,C,m,-0.41?? I can do a simple matrix. But, I want to have headers and

[R] Error Help: duplicate?

2013-08-01 Thread Docbanks84
Hi, I'm working through practice data in R and I am held up on this step. I am not sure why there is an error that claims there is a duplicate subscript for columns? Does anyone know what this means and how I can fix it?

[R] Error Help: duplicate?

2013-08-01 Thread Docbanks84
Hi, I'm working through practice data in R and I am helped up on this step. I am not sure why there is an error that claims there is a duplicate subscript for columns? Does anyone know what this means and how I can fix it?