Advertisement
Guest User

Untitled

a guest
Jun 15th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. PESSOA = (got$Personagens)
  2. NOTAS = (got$Nota)
  3.  
  4. medianotas = function(tabelaNotas, tabelaPessoas, nome)
  5. Nota = c()
  6. arrayPessoas = c()
  7.  
  8. for(i in 1:length(tabelaPessoas))
  9. arrayPessoas = c(arrayPessoas, PESSOA[i])
  10. arraySplit = c(unlist(strsplit(as.character(arrayPessoas,","))))
  11.  
  12.  
  13. return()
  14.  
  15. resposta = medianotas(got$Nota, got$Personagens, "MARIA")
  16. print(resposta)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement