Question: This is for R studio thanks:) 7. (5 points) Write code to convert the columns you've identified in #6 to the data types you wanted.
This is for R studio thanks:)
7. (5 points) Write code to convert the columns you've identified in #6 to the data types you wanted. (Note: you need to update/override the old feature with the new format, not just call functions that print results in the console. If vectors of results are printing to the console, you may not be saving the output to an object, i.e. not updating the old feature.) This step should result in an updated Titanic_Data object, still with 893 observations of 12 variables. When you look at the str() for the object though, the data types should be correct for what you assigned them to be. Last lab, we used summary() or table() to view the counts of observations for the Embarked and Survived columns. Let's do this again, but this time also view a proportion table using the prop.table() function (which gives the fraction breakdown for each level). 8. (1 point) Write code to view a table for the Titanic_Data Survived column. nito andato I II a table he Ti ton Suru TV . . DITULI I dud. 7. (5 points) Write code to convert the columns you've identified in #6 to the data types you wanted. (Note: you need to update/override the old feature with the new format, not just call functions that print results in the console. If vectors of results are printing to the console, you may not be saving the output to an object, i.e. not updating the old feature.) This step should result in an updated Titanic_Data object, still with 893 observations of 12 variables. When you look at the str() for the object though, the data types should be correct for what you assigned them to be. Last lab, we used summary() or table() to view the counts of observations for the Embarked and Survived columns. Let's do this again, but this time also view a proportion table using the prop.table() function (which gives the fraction breakdown for each level). 8. (1 point) Write code to view a table for the Titanic_Data Survived column. nito andato I II a table he Ti ton Suru TV . . DITULI I dud
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
