From ec4350b2bf7a94b5131ca0c05816cfa9b1e92695 Mon Sep 17 00:00:00 2001 From: Gustavo Cavalieri Fernandes Date: Sat, 6 Jul 2019 00:32:58 -0300 Subject: [PATCH] Update index.md (#36390) fixing typo --- guide/english/r/functions/sapply-function/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/english/r/functions/sapply-function/index.md b/guide/english/r/functions/sapply-function/index.md index a186c71d82..938eb7277c 100644 --- a/guide/english/r/functions/sapply-function/index.md +++ b/guide/english/r/functions/sapply-function/index.md @@ -3,7 +3,7 @@ title: sapply() Function --- ## sapply() Function -The `sapply()` function is part of a family of `apply()` functions that aide in manipulating data. It takes 2 or more parameters and it returns a vector or matrix. The first parameter could be a vector or a data frame. The second parameter is usually a function you want to use along the elemnts of columns of the first parameter. +The `sapply()` function is part of a family of `apply()` functions that aide in manipulating data. It takes 2 or more parameters and it returns a vector or matrix. The first parameter could be a vector or a data frame. The second parameter is usually a function you want to use along the elements of columns of the first parameter. You can use sapply to get the max of every column in a data frame as a vector.