TP 2: Introduction au data.frame (2h)
y <- matrix(45:64, nr=5, byrow=TRUE)
> y[1,] > y[3:4,3:4] > y[-c(2,3),-c(1,4)] > cbind(y,c(2,3,5,8,13)) #utilisez l'aide (avec ?cbind) si besoin
> a <- list(valeurs=rep(c(1,2),3), motif=c("acgt","tgca") )
> a[[1]] > a[[2]][2] > a$motif > a$valeurs[3]
data(), names(), cor(), intersect(), which() et which.max() (utilisez l'aide si besoin)
CO2 (dataset interne) et
CO2 qui absorbe le plus de