LoginSignup
0
0

More than 5 years have passed since last update.

R データフレーム データ抜き出し

Last updated at Posted at 2015-02-10

subset関数
subset(元のデータフレーム、select=抜き出す列)

> d0
Age BW Sex
1 60 66 M
2 70 57 F
3 65 78 F
4 23 88 M
5 66 90 M
6 77 57 M
>subset(d0,select=BW)
BW
1 66
2 57
3 78
4 88
5 90
6 57
>

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0