https://www.listendata.com/p/r-programming-tutorials.html http://www.guru99.com/r-programming-introduction-basics.html...
sum(is.na(mydata$Q1)) compte le nombre de valeurs vide dans comment sum(df$Comments =="") mean_SH = mean(SH, na.rm...
seq(from = 1, to = 4, by = 1) [1] 1 2 3 seq(from = 1, to = 4, by = 2) 1 3 > Id <- rep(c(1, 2, 3, 4), each = 8)...
Z <-cbind(Veg$R, Veg$ROCK, Veg$LITTER) colnames(Z) <- c("R", "ROCK", "LITTER") Z rbind combines vector, matrix...
SELECT permet la selection de colonnes (possible par rapport à des conditions) #colonnes qui commencent par "Y"...
lien :https://www.guru99.com/r-aggregate-function.html data <- read.csv("https://raw.githubusercontent.com/thomaspernet/data_csv_r/master/data/batting_lahman.csv")%>%select(c(playerID,...
Pearson The Pearson correlation method is usually used as a primary check for the relationship between two variables....
PATH <- "https://raw.githubusercontent.com/thomaspernet/data_csv_r/master/data/titanic_csv.csv" df_titanic <- read.csv(PATH,...