search for: courtelary

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

2007 Apr 20
2
sorting data in R
hello, I'd like know how to sort a data frame in R for example how I should do to sort by Catholic with swiss data frame like below thanks Fertility Agriculture Examination Education Catholic Infant.Mortality Courtelary 80.2 17.0 15 12 9.96 22.2 Delemont 83.1 45.1 6 9 84.84 22.2 Franches-Mnt 92.5 39.7 5 5 93.40 20.2 Moutier 85.8 36.5 12 7 3...
2007 Mar 14
0
cannot delete the last column of a dataframe using "[<-" (PR#9565)
...character column > sw[["new2"]] <- letters[1:5] # ditto > sw[, "new3"] <- LETTERS[1:5] # ditto > sw$new4 <- 1:5 > sw$new4 <- NULL # delete the column > (sw0 <- sw) Fertility Agriculture Examination Education new1 new2 new3 Courtelary 80.2 17.0 15 12 A a A Delemont 83.1 45.1 6 9 B b B Franches-Mnt 92.5 39.7 5 5 C c C Moutier 85.8 36.5 12 7 D d D Neuveville 76.9...