Guest User

Untitled

a guest
Jun 24th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. players <- c("Ron Harper", "Michael Jordan", "Scottie Pippen", "Dennis Rodman", "Luc Longley")
  2. heights <- c("6-6", "6-6", "6-8", "6-7", "7-2")
  3. weights <- c(185, 195, 210, 210, 265)
  4. df <- data.frame(player = players,
  5. height = heights,
  6. weight = weights,
  7. stringsAsFactors = FALSE) # 避免處理 factor 型別
  8. View(df)
Add Comment
Please, Sign In to add comment