i) Generate 100 standard-normally distributed random numbers, assigne them to vector r, ii) plot the histogram for the vector r iii) convert the numbers into integers, then assign the new values to ri vector

Algebra & Trigonometry with Analytic Geometry
13th Edition
ISBN:9781133382119
Author:Swokowski
Publisher:Swokowski
Chapter8: Applications Of Trigonometry
Section8.3: Vectors
Problem 11E
icon
Related questions
Question
Use R functions to conduct the following
6.
i) Generate 100 standard-normally distributed random numbers, assigne them to vector r,
ii) plot the histogram for the vector r
iii) convert the numbers into integers, then assign the new values to ri vector
iv) reshape the vector into 10x10 matrix, then assign it to variable rm
find the sum of the columns and rows of rm
Transcribed Image Text:Use R functions to conduct the following 6. i) Generate 100 standard-normally distributed random numbers, assigne them to vector r, ii) plot the histogram for the vector r iii) convert the numbers into integers, then assign the new values to ri vector iv) reshape the vector into 10x10 matrix, then assign it to variable rm find the sum of the columns and rows of rm
Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer