search for: datat1

Displaying 2 results from an estimated 2 matches for "datat1".

Did you mean: data1
2012 Oct 03
1
How to draw a graph after model selection?
...ts (column B) in the table (as attached) when I draw my graph in R. I want to draw a graph in R which x-axis is D, using the model and the relevant coefficients. From what I read online, this is the code I've got but I am not sure if it is correct as I keep getting "In Ops.factor((0.195), dataT1$T) : * not meaningful for factors" when I tried to sub in values." plot(dataT1$D, dataT1$P, ylab = "Percentage carrion weight left", xlab = "Day") *T1 <- (0.205)*dataT1$D + (0.195)*dataT1$T + 0.227* #DO I SUB IN MY EQUATION HERE?# p.average1 <- exp(T1) /...
2012 May 30
2
Sorting a data set
I am a novice user of R and am stumbling on how to order a dataset produced during my session. I have a 1863 row X 14 column dataset that I want to put out to a file. I want the output sorted by the first column and then by the second column both in ascending order. The first column is character and the second is numeric (I hope). I used an "as.numeric" function to assign that