9. Suppose that you have a dataframe object named df in R's global environment. Which code segment can you use to create

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

9. Suppose that you have a dataframe object named df in R's global environment. Which code segment can you use to create

Post by answerhappygod »

9 Suppose That You Have A Dataframe Object Named Df In R S Global Environment Which Code Segment Can You Use To Create 1
9 Suppose That You Have A Dataframe Object Named Df In R S Global Environment Which Code Segment Can You Use To Create 1 (51.08 KiB) Viewed 191 times
9. Suppose that you have a dataframe object named df in R's global environment. Which code segment can you use to create a new dataframe, df2, that includes only the first 15 rows of data, as well as two columns named, "description" and "price", which are located in the fifth and ninth columns, respectively? (Check all that apply) Odf2 <-df[1:15, (5,9)] Odf2 <-df[1:15, ('description', 'price')] O df2<-df(1:15, (5,9)) Odf2 <df(1:15, cl'description', 'price')) 10. Suppose that you have a dataframe object named df in R's global environment. Which line of code can you use to return a boxplot for the subtotal column? Odf.boxplot('price') O boxplot(df$price) O plot(df$price, type = 'box') O plot.box['price', data = df)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply