Dataframes – Doing Some Initial Data Analysis
HomeworkDataframes – Doing Some Initial Data AnalysisExplore the mtcars dataset (which is already included in R). Copy the mtcars dataset into a new variable (called it myCars), so that if you mess up, you can start again (by copying mtcars into myCars again).Step 1: Which car has the best hp (hp stands for “horse power”)1. Is higher or lower hp best?2. Which car has the best hp?Step 2: Explore mpg (mpg stands for “miles per gallon”)3. What is the highest mpg?4. Which car has the highest mpg?5. Create a sorted dataframe, based on mpg.Step 3: Which car has the “best” combination of mpg and hp?6. What logic did you use?7. Which car?Step 4: Which car has “best” combination of mpg and hp, where mpg and hp must be given equal weight? ................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- module 3 examples r code
- dataframes doing some initial data analysis
- r code for indicator variables
- exercise 2 building a base dataset of the san marcos basin
- working with matrices in r
- working with sas formats catalogs
- assignment 1 introduction to r university of idaho
- extracting cases with a given string from sas
Related searches
- data analysis questions examples
- data analysis research paper example
- data analysis method
- data analysis methods examples
- data analysis methods in research
- types of data analysis methods
- data analysis in research methodology
- data analysis in research pdf
- examples of data analysis paper
- data analysis techniques for research
- data analysis and interpretation pdf
- data analysis tools