How to transfer several parameters to the family of apply functions in the R programming language. More details: https://statisticsglobe.com/specify-m...
R code of this video:
data <- data.frame(x = c(1:5, NA), # Example data
y = c(1:6))
data # Print example data
apply(data, 2, mean) # apply() without additional arguments
apply(data, 2, mean, na.rm = TRUE) # apply() with additional argument
Follow me on Social Media:
Facebook: / statisticsglobecom
LinkedIn: / statisticsglobe
Twitter: / joachimschork
Sur cette page du site, vous pouvez voir la vidéo en ligne Specify Multiple Arguments in apply() Function in R (Example) | lapply, sapply & mapply | Remove NA durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Statistics Globe 09 juillet 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 2,656 fois et il a aimé 49 téléspectateurs. Bon visionnage!