Created
March 3, 2017 21:26
-
-
Save juanitobanca/94258a185c8f5c3ab67fbc80cd9aafbb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f_transformar <- function( p_data, p_summ ) | |
{ | |
# Melt Data | |
mltd_data <- melt( data = p_data | |
, variable.name = "Atributo" | |
, value.name = "Value" | |
) | |
# Melt Summary | |
mltd_summ <- melt( data = p_summ | |
, id.vars = "Atributo" | |
, variable.name = "Metrica" | |
, value.name = "Value" | |
) | |
list( mltd_data = mltd_data | |
, mltd_summ = mltd_summ | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment