Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Perform the following commands in R set . seed (10) a = sample (1:100, 600, replace = TRUE) (a) (5 points) Find the number

image text in transcribed
1. Perform the following commands in R set . seed (10) a = sample (1:100, 600, replace = TRUE) (a) (5 points) Find the number of occurrences of 1 in a. (b) (5 points) Find the number of elements in a that are divisible by 3 but not by 4. (c) (5 points) Find the number of even numbers in a. (d) (10 points) Find the summation of the largest ten numbers in a. (e) (10 points) Write a function that prints the mean, minimum, maximum, standard devia- tion, and median for a

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Path To College Mathematics (Subscription)

Authors: Elayn Martin Gay

1st Edition

0134654560, 9780134654560

More Books

Students also viewed these Mathematics questions

Question

Pay him, do not wait until I sign

Answered: 1 week ago

Question

Speak clearly and distinctly with moderate energy

Answered: 1 week ago