Week 11 Assignment - 100 points

profileharishk

 Week 11 Assignment - 100 points 

Convert the dataset to a dataframe for analysis. o Display the commands to convert statex.77 to a dataframe. o Perform regression and correlation analysis on this dataset. ▪ Show the commands to perform a regression. Activate state.x77 file through this command: >data(state) #to activate the hidden statex.77 file >ls() #to list the files To convert the matrix to data frame we execute this command: > sdata <- as.data.frame(state.x77) > str(sdata) 

    • 7 years ago
    • 6
    Answer(0)