finished with the "R introduction" on r-tutor.com
This commit is contained in:
30
.Rhistory
30
.Rhistory
@@ -114,3 +114,33 @@ head(mtcars)
|
||||
q()
|
||||
s
|
||||
q()
|
||||
mtcars[[[9]]
|
||||
mtcars[[9]]
|
||||
mtcars[["am]]
|
||||
mtcars[["am"]]
|
||||
mtcars$am
|
||||
mtcars[1]
|
||||
head(mtcars[1])
|
||||
mtcars["mpg"]
|
||||
mtcars[c("mpg", "hp")]
|
||||
mtcars[c("mpg", "hp")][1]
|
||||
mtcars[c("mpg", "hp")][[1]]
|
||||
mtcars[24,]
|
||||
mtcars["Camaro Z28",]
|
||||
mtcars[c("Datsun 710", "Camaro Z28")]
|
||||
mtcars[c("Datsun 710", "Camaro Z28",)]
|
||||
mtcars[c("Datsun 710", "Camaro Z28"),]
|
||||
L = mtcars$am == 0
|
||||
L
|
||||
mtcars[L,]
|
||||
mtcars[L,]
|
||||
mtcars[L,]$mpg
|
||||
library(gdata)
|
||||
library(foreign)
|
||||
help(read.mtp)
|
||||
mydata = read.table("mydata.txt")
|
||||
mydata
|
||||
mydata = read.csv("mydata.csv")
|
||||
mydata
|
||||
getwd()
|
||||
q()
|
||||
|
Reference in New Issue
Block a user