Question
1. Perform data cleaning activities in order to identify any miscoded or illogical data. If you make any changes to the data, submit those changes
1. Perform data cleaning activities in order to identify any miscoded or illogical data. If you make any changes to the data, submit those changes in your document.
2. For each variable in your dataset that you plan to transform, you will be expected to perform that transformation and to create a new variable with the transformed values. Provide the R code that you used to perform the transformation.
3. For any categorical values in your data set, you should calculate their frequency distributions. For any continuous variables, you should provide the mean values for that variable. Do this both for the original variables and for the transformed variables. Provide the R code that you used to calculate these values. Paste the frequency results and mean results into your document.
4. Perform the actual analysis that you proposed in part 1 (item 4). Briefly interpret the results from your analysis. Provide the R code that you used to perform this analysis. Paste the results in your document.
Please provide screen shots showing your new variable creation and any results.
I already finished part 1 analysis, but I don't know how to transform the data by using R code.
Part 1: