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
Auf dieser Seite können Sie das Online-Video Specify Multiple Arguments in apply() Function in R (Example) | lapply, sapply & mapply | Remove NA mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Statistics Globe 09 Juli 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 2,656 Mal angesehen und es wurde von 49 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!