Using the titanic data again, what is the format that R imported the variable "survived"?单项选择题
登录即可查看完整答案
我们收录了全球超50000道真实原题与详细解析,现在登录,立即获得答案。
类似问题
Using the Allepo Pine data you imported, what is the format of the variable "Length (cm)" imported into Rstudio in?
w <- c(FALSE,TRUE, 7L) ww <- c(TRUE,3,"a") www <- c(TRUE, FALSE, 1) wwww <- c(1L, FALSE, 1) what are the data types of these vectors? 1: w 2: ww 3: www 4: wwww
Suppose we have a vector name containing names of 50 students in a class. grade is another vector containing final marks (i.e., numeric values between 0 and 100) of those students. v1<-c(name, grade) v2<-as.numeric(v1) v3<-as.character(v2) is.numeric(v2[ 1]) should return [ Select ] TRUE FALSE NA . is.numeric(v2[ 100]) should return [ Select ] TRUE FALSE NA . is.character(v3[ 1]) should return [ Select ] TRUE FALSE NA . is.character(v3[ 100]) should return [ Select ] TRUE FALSE NA .
If you type the following in your R console and execute it successfully, the result is TRUE. typeof([Fill in the blank] ) > typeof(TRUE + FALSE) Complete the blank with one atomic value (that is, a single value of an appropriate data type).
更多留学生实用工具
希望你的学习变得更简单
加入我们,立即解锁 海量真题 与 独家解析,让复习快人一步!