PNNL-PREMIS / SULI2019

Repository for summer 2019 SULI interns
0 stars 0 forks source link

R workshop 2019-06-04 Practice #2

Open stephpenn1 opened 5 years ago

stephpenn1 commented 5 years ago

In addition to cars, R has a built-in dataset called mtcars.

Tips:

Feel free to slack/email/find us if you need any help!

marideeweber commented 5 years ago

weberpractice2

find which row has the maximum drat value

which.max(mtcars$drat)

haileymoore commented 5 years ago

mpg_hp_plot

lilliehaddock commented 5 years ago

hp_mpg_disp

row of dataset with the maximum drat value

which.max(mtcars$drat) print(which.max(mtcars$drat))

bpbond commented 5 years ago

Nice all! 👏 Clearly that was too easy.

haileymoore commented 5 years ago

mpg_hp_carb_panels

marideeweber commented 5 years ago

weberpractice2again

lilliehaddock commented 5 years ago

hp_mpg_carb

bpbond commented 5 years ago

Very nice people! 👏 Closing this, unless you're really dying for more data manipulation exercises. @stephpenn1 and I will work on agenda/syllabus for next week.