#' Normalização
#'
#'
#' @param data.frame
#' @param variaveis
#'
#' @return
#' @export
#'
#' @examples
scale.features <- function(df, variables){
for (variable in variables){
df[[variable]] <- scale(df[[variable]], center=T, scale=T)
}
return(df)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.