Question: coding in r, need help with 7 and 8 please 98 100 101 . ane [7 points] 7) starting with Sw1, create a new data

coding in r, need help with 7 and 8 please coding in r, need help with 7 and 8 please 98 100

98 100 101 . ane [7 points] 7) starting with Sw1, create a new data frame called swage containing only the names and birth years of a 11 of the characters sorted from oldest to youngest. Display only the 10 oldest. characters. 102 : The birth year is listed as the BEY = Before the Battle of yavin, so the oldest character (Yoda) has the largest birth year and the youngest character has the smallest. birth year. contains the columns name, hes that you need to create where: 110 " characters with a height greater than 180cm are rated as Ta71, 111 - characters with a height between 150 and 180cm are rated as Average, and * characters with a height below 150cm are rated as short. - Display the top 10 roms. - If done correctly, your data frase wi 11 have 4 colunins and Luke will be in the top row with a height rating of Average. 115 " Hint: since there are 3 categories in the height-rating columin (Ta71, Average, Short). you will need 2 if else statements. You AL. WAys need 1 fewer if else statements than the number of categories being created. 116 (r) 117 118 119

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!