Convert the dataset to a dataframe for analysis.
Convert the dataset to a dataframe for analysis.
* Display the commands to convert statex.77 to a dataframe.
* 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
5
Answer(0)
other Questions(10)
- a short finance question
- Art Critique Repost
- homework for Caspiano
- Communication at the workplace*****A++ Rated Tutorial Already***** Use as a Guide Paper*****
- Case Application 3-B
- Healthcare Reform and 21st Century Healthcare Information Systems*****A++ Rated Tutorial Already***** Use as a Guide Paper*****
- Fire fighting roboticts project
- How do the many slant rhymes in"Because I could no stop Death" and "The Soul selects her own Society-" reflect...
- A+ Answers
- Demand Curve