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