the R data set “anscombe” to save a subset of all the columns of the data except x4 and y4 Add two new columns to the subset Use set.seed(1)

COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
1st Edition
ISBN:9780357392676
Author:FREUND, Steven
Publisher:FREUND, Steven
Chapter6: Creating, Sorting, And Querying A Table
Section: Chapter Questions
Problem 10EYK
icon
Related questions
Question
Use the R data set “anscombe” to save a subset of all the columns of the data except x4 and y4 Add two new columns to the subset Use set.seed(1) to directly add a column of random values from a normal distribution with mean of 100 and standard deviation of 5 Use cbind() to add a column consisting of the following as the data: 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0 Remove column y3 Use subset to remove columns x2, y1 and y2
Expert Solution
steps

Step by step

Solved in 6 steps with 3 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L