Skip to content

Instantly share code, notes, and snippets.

@juanitobanca
Created March 3, 2017 21:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juanitobanca/51e2ec193350ae32314f60cf10abd4af to your computer and use it in GitHub Desktop.
Save juanitobanca/51e2ec193350ae32314f60cf10abd4af to your computer and use it in GitHub Desktop.
f_normalizar <- function( p_data )
{
x_min <- min(x = p_data)
x_max <- max(x = p_data)
( p_data - x_min ) / ( x_max - x_min )
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment