Skip to content

Instantly share code, notes, and snippets.

@dlobregon
Created July 24, 2019 05:41
Show Gist options
  • Save dlobregon/242ec5a69675bed184f893dbc7b57b0c to your computer and use it in GitHub Desktop.
Save dlobregon/242ec5a69675bed184f893dbc7b57b0c to your computer and use it in GitHub Desktop.
valores_totales<-c(
(sum(resultados_1)/length(resultados_1))*100,
(sum(resultados_2)/length(resultados_2))*100,
(sum(resultados_3)/length(resultados_3))*100,
(sum(resultados_4)/length(resultados_4))*100
)
resultado_general<-sum(valores_totales*pesos_estructuras)/100
resultado_general
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment