Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 1. (using RStudio) A) Write a code that randomly assigns a scholarship amount between 0-1000 to each student in our class and name your

Problem 1.

(using RStudio)

A) Write a code that randomly assigns a scholarship amount between 0-1000 to each student in our class and name your amount vector x1.

Name x1's entries with the student names:

people <- c("Renee","Keirstyn","Rebekah","Lydia","Shanese", "Alexis","Morgan","Megan","Taylor","Ryan")

B) Write code to find the average, median, and total scholarship amounts given.

C) Create a new vector x2 that has the percentage amount of total scholarship for each student. Name the entries with student names.

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

Students also viewed these Databases questions