Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

How can I format the information about the variables (under details, starting wi

ID: 3253158 • Letter: H

Question

How can I format the information about the variables (under details, starting with state.abb) as a table? I'd like to divide the table into two columns and label my headings as follows:

Variable | Variable Description

Go to file Addin Project: (None 01 untitled data t Environment History To Console E To Source Run Knit ert data data, frame state .x77) 13 #Details view data 15 R currently contains the following "state" data sets. Note that all data are arranged according to View(data) alphabetical order of the state names help(state .x77) 16 ViewCAlbumSales.1.) 17 state. abb: View Albumsales 18 character vector of 2-letter abbreviations for the state names 19 data frame (state-x77) tat view data) 21 numeric vector of state areas (in square miles) data frame(state.x77) 22 helpcstate.x77) 23 state. Center 24 list with components named x and y giving the approximate geographic center of each state in install packagesC"tables") negative longitude and latitude. Alaska and Hawaii are placed just off the West Coast format table- (Variable Variable Description 25 view data) 26 state. ivision Plots Packages Help viewer 27 factor giving state divisions CNew England, Middle Atlantic, South Atlantic, East South Central, File West South Central, East North Central, West North Central Mountain and Pacific). 28 R: US State d Figu tat 30 character vector giving the full state names tat 31 character vector giving the full state names. 32 state region factor giving the region GNortheast, South, North Centra West that ea ch state belongs t 33 etate region 34 References factor giving the region (Northeast, South, North Central, West that each state belongs to 72 R Markdown state .x77 Console downloaded 1.7 matrix with 50 rows andBcolumns giving the following statistics in the respective columns. trying URL https://cran. rstudio.com/bin/macosx/mavericks/cont rib 3.3/Hmi sc-4.0-3.tgz Population: application/x-gzip' length 1772121 bytes C1.7 MB) Content type population estimate as of July 1, 1975 downloaded 1.7 MB Income trying URL https://cran. rstudio.com/bin/macosx/movericks/contrib/3.3/tables.0.8.tg per capita income (1974) Content type application/x-gzip' length 417488 byt es (407 KB) Illite downloaded 407 KB illiteracy (1970, percent of population) Life Exp The downloaded binary packages are in life expectancy in years (1969-71) /var/folders/em khom5q0x04n9kh674064p8C40000gn/T//RtrppGAKdi/downloaded-package formattable- (Variable I variable Description) Murder Error: unexpected symbol in formattable- Cariablel Variable Description View data murder and non-negligent manslaughter rate per 100,000 population (1976) Gra

Explanation / Answer

try merging aal the variables in data frame

state_table<-as.data.frame(state.abb,state.name,state.region,state.area)

you we will get a table something like this with following headings

state.abb    state.name    state.region    state.area

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote