Advertisement
vctrh

Exercício 5: Aula 10 - Software R (parte 3)

Aug 17th, 2021 (edited)
553
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
R 0.57 KB | None | 0 0
  1. #Exercício 05
  2.  
  3. dadosA <- c(10, 15, 23, 47, 92, 9, 7, 6, 12, 10, 15, 23, 47, 92, 9, 7, 6, 12, 17, 54, 89, 78) #Item a
  4. dadosB <- c(110, 115, 231, 147, 92, 119, 117, 126, 102, 123, 145, 123, 122, 102) #Item b
  5. dadosC <- c(10, 18, 21, 49, 82, 99, 77, 86, 102, 100, 105, 123, 147, 92, 119, 107, 106, 102, 117, 54, 89, 78, 110, 115, 231, 147, 92, 119, 117, 126, 102, 123, 145, 123, 122, 102, 15, 23, 47, 92, 9, 7, 6, 12, 17, 54, 89, 78, 110, 115, 231, 147, 92, 119, 117, 126, 102, 119, 117, 126, 102, 123, 145, 123, 122, 102, 15, 23) #Item c
  6.  
  7. media<- (sum(dadosC)/length(dadosC))
  8. media
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement