A.LibraryPath()B.Librarypaths()C.libPaths()D.library()
单项选择题需要查看当前环境已有对象内容,可输入以下哪个函数?()
A.lsB.LsC.ListD.ls()
单项选择题需要查看当前工作目录,可输入以下哪个函数?()
A.setwdB.setwd()C.getwdD.getwd()
单项选择题你有一个名为“november.csv”的文件在“ Documents expenses “目录中。你会如何将这个文件读取到R中?()
A.readLines(/Documents/expenses/november.csv)B.read.csv(“/Documents/expenses/november.csv”)C.read.csv(/Documents/expenses/november.csv)D.read.csv(“november.csv”,folder =“Documents/expenses”,type =“csv”)
单项选择题要检索出名为“myarray 的数组的第三行,应该用以下哪个代码?()
A.myarray[3]B.myarray[,3]C.myarray(row =“third”)D.myarray[3,]
单项选择题如何得到ratings <-c(8.0,8.5,9.0)的平均值?()
A.mean(“ratings”)B.AVER(“rating”)C.mean(ratings)D.average[ratings]