Chapter 1
Multiple Choice
1. Once an R package is loaded, you can access it by issuing the following command:
a. open
*b. library
c. run
d. tools
2. To access additional R manuals and references, use the following command:
*a. help.start()
b. Rhelp()
c. full.help()
d. start.help()
3. All R commands and functions are run using what type of files?
a. Output
b. Command
*c. Script
d. Lined
4. The three basic operations that govern R usage are:
a. Input, Computing, Listing
b. Process, Analyzing, Output
c. Input, Process, Analyzing
*d. Input, Process, and Output
5. The R program assigns values to a variable by using the following function:
*a. =
b. ^
, Randall E. Schumacker, Learning Statistics Using R Instructor Test Bank
c. @
d. #
6. Data that contains more than a single value or variable is called a(n)
a. complex data set
*b. vector
c. list
d. column
7. What is printed in R when there is missing data?
a. .
*b. NA
c. 99
d. it is blank in the data file
8. A 3 X 4 matrix has how many rows?
a. 2
*b. 3
c. 4
d. 12
9. A 3 X 4 matrix has how many columns?
a. 2
b. 3
*c. 4
d. 12
10. Which R function will report the number of observations and variables in a data frame or
matrix?
a. names()