Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

MGSC 291 Exam 1 University of South Carolina Exam Questions and Answers Graded A+

Rating
-
Sold
-
Pages
17
Grade
A+
Uploaded on
08-12-2025
Written in
2025/2026

MGSC 291 Exam 1 University of South Carolina Exam Questions and Answers Graded A+

Institution
MGSC 291
Course
MGSC 291

Content preview

MGSC 291 Exam 1 University of South
Carolina Exam Questions and Answers
Graded A+

putting in a dataset - Correct answer-data<-

c(81,85,93,93,99,76,75,84,78,84,81,82,89,81,96,82,74,70,84,86,80,70,131,75,88,1

02,115,89,82,79,106)

length(data) - Correct answer-tells you how may entries are in your vector

sort(data) - Correct answer-puts data smallest to largest

summary(data) - Correct answer-returns the five number summary and the sample

mean

mean(data)

sd(data)

sum(data) - Correct answer-sample mean

sample standard deviation

adds all the elements of the vector

©COPYRIGHT 2025, ALL RIGHTS RESERVED 1

,seq(1,100,1)

seq(2,100,2) - Correct answer-tells r to create the sequence of numbers from 1 to

100 by 1 (1,2,3...)

1:100 does the same thing

(2,4,6...100)

data<-read.table(file.choose(),header=TRUE)

read.cvs - Correct answer-calls this dataset into r and you can name it whatever

you want

getwd() - Correct answer-creates the current working directory and calls in your

data too

dim(data) - Correct answer-checks dimensions of data

data - Correct answer-type the name of the data to see it

data[1:5] - Correct answer-calls in the first five rows of the dataset if you are

working with a large dataset

head(data) - Correct answer-shows the first few rows

data[,1:2] - Correct answer-all rows for columns 1 and 2

data[1:5,1:2] - Correct answer-first five rows and first two columns

©COPYRIGHT 2025, ALL RIGHTS RESERVED 2

, str(data) - Correct answer-structure of the object

View(data) - Correct answer-(capital V) puts your data in a viewable popup

window

data$shoes - Correct answer-calls in the column called shoes

attach(data) - Correct answer-attaches data so you can work with it and don't have

to keep calling it in




(if you attach several datasets that have the same column names r will be confused

so you have to detach before attaching again)

data<-subset(data,Type=="WT") - Correct answer-you can pick out certain

rows/columns and you can enter more == and "" in order to be more specific

hist(data) - Correct answer-give you a histogram

hist(data,breaks=c(60,70,80,90)) - Correct answer-creates a sequence and breaks

them

xlab="percents of ..." - Correct answer-x axis name

ylab="Frequency" - Correct answer-y axis name

main="..." - Correct answer-title of the graph


©COPYRIGHT 2025, ALL RIGHTS RESERVED 3

Written for

Institution
MGSC 291
Course
MGSC 291

Document information

Uploaded on
December 8, 2025
Number of pages
17
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$12.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
EmillyCharlotte Howard Community College
Follow You need to be logged in order to follow users or courses
Sold
136
Member since
1 year
Number of followers
5
Documents
12399
Last sold
5 days ago
ALL-MAJOR.

On this page, you find all documents, package deals, and flashcards offered by seller Emilly Charlotte.

3.5

31 reviews

5
10
4
10
3
2
2
3
1
6

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions