1) The R programming code shown below will produce the following output: Output: one two 1 1 TRUE 2 2 TRUE 3 3 FALSE 4 4 FALSE Code:> x <- data.frame(one = 1:4, two = c(T, T, F, F)) > x True False 2) readlines is used for working on data. True False 3) The function as.matr() converts a data frame into a matrix. True False 4) The R programming statement data <- read.table(“egcc.txt”) read file “egcc.txt.” True False 5) The following R programming code will read 100 rows: tabAll <- read.table(“datatable.txt”, colClasses = classes) True False 6) Read.csv is used to read in tabular data. True False 7) The R programming load function is used for reading in saved workspaces. True False 8) The copy function accepts any number of arguments and concatenates them into character strings. True False 9) The read.data() function is one of the most commonly used functions for reading data True False 10) To read in data from a saved workspace, use the load command. True False
1) The R
Output:
one two
1 1 TRUE
2 2 TRUE
3 3 FALSE
4 4 FALSE
Code:> x <- data.frame(one = 1:4, two = c(T, T, F, F)) > x
True
False
2) readlines is used for working on data.
True
False
3) The function as.matr() converts a data frame into a matrix.
True
False
4) The R programming statement data <- read.table(“egcc.txt”) read file “egcc.txt.”
True
False
5) The following R programming code will read 100 rows:
tabAll <- read.table(“datatable.txt”, colClasses = classes)
True
False
6) Read.csv is used to read in tabular data.
True
False
7) The R programming load function is used for reading in saved workspaces.
True
False
8) The copy function accepts any number of arguments and concatenates them into character strings.
True
False
9) The read.data() function is one of the most commonly used functions for reading data
True
False
10) To read in data from a saved workspace, use the load command.
True
False
Trending now
This is a popular solution!
Step by step
Solved in 10 steps