![the object primer 3rd edition chapter 1 the object primer 3rd edition chapter 1](https://demo.fdocuments.in/img/742x1000/reader023/reader/2020111501/553641395503465a698b490d/r-1.jpg)
# $ liberal FALSE, FALSE, TRUE, FALSE, TRUE, FALSE, FALSE, FALSE, F… # $ treatment Treated, Treated, Treated, Treated, Control, Treated, C… Want to see every row and every column? Try: width refers to the number of characters to print across the screen. The n argument to print() tells R the number of rows you want to see. # line station hisp_perc ideology_start ideology_end # 15 Control 8 8 Male White TRUE Democrat 53 300000 # 14 Control 6 7 Male White TRUE Democrat 40 62500 # 13 Treated 13 13 Male White FALSE Republican 24 105000 # 12 Treated 11 9 Male White FALSE Democrat 50 250000 # 11 Control 10 9 Female White FALSE Democrat 33 105000 # 10 Treated 9 10 Male White FALSE Republican 42 135000 # 9 Control 12 12 Female White FALSE Democrat 54 105000 # 8 Treated 10 11 Male White FALSE Democrat 36 135000 # 7 Control 13 13 Female White FALSE Republican 53 87500 # 6 Treated 13 13 Female White FALSE Democrat 37 87500 # 5 Control 8 5 Male White TRUE Democrat 55 135000 # 4 Treated 11 11 Male White FALSE Democrat 45 300000 # 3 Treated 3 5 Male White TRUE Democrat 63 135000 # 2 Treated 9 10 Female White FALSE Republican 34 105000 # 1 Treated 11 11 Female White FALSE Democrat 31 135000
![the object primer 3rd edition chapter 1 the object primer 3rd edition chapter 1](https://image2.slideserve.com/4162738/chapter-1-l.jpg)
# treatment att_start att_end gender race liberal party age income
![the object primer 3rd edition chapter 1 the object primer 3rd edition chapter 1](https://images-na.ssl-images-amazon.com/images/I/518SsjvbEzL._SX378_BO1,204,203,200_.jpg)
Print ( trains, n = 15, width = 100 ) # A tibble: 115 x 14 You can see more (or fewer) rows and columns by using the print() command: We see, by default, the top 10 rows and some of the columns. The tibble also has 14 columns corresponding to variables which describe each unit or observation. This particular data frame has 115 rows corresponding to different units, meaning people in this case. # … with 105 more rows, and 4 more variables: station, hisp_perc ,Ī tibble is a specific kind of data frame. # 10 Treated 9 10 Male White FALSE Republ… 42 135000 Framin… # 9 Control 12 12 Female White FALSE Democr… 54 105000 Framin… # 8 Treated 10 11 Male White FALSE Democr… 36 135000 Framin… # 7 Control 13 13 Female White FALSE Republ… 53 87500 Framin… # 6 Treated 13 13 Female White FALSE Democr… 37 87500 Framin… # 5 Control 8 5 Male White TRUE Democr… 55 135000 Framin… # 4 Treated 11 11 Male White FALSE Democr… 45 300000 Framin… # 3 Treated 3 5 Male White TRUE Democr… 63 135000 Framin… # 2 Treated 9 10 Female White FALSE Republ… 34 105000 Framin… # 1 Treated 11 11 Female White FALSE Democr… 31 135000 Framin… # treatment att_start att_end gender race liberal party age income line Library ( primer.data ) trains # A tibble: 115 x 14