单项选择题
要从名为“people”的数据框中删除已有的“firstname”列,应该用以下哪个代码?()
A.firstname < -NA
B.people$MathJaxfirstname < -FALSE
C.people(“firstname”)< -NA
D.people$MathJaxfirstname < -NULL
点击查看答案&解析
相关考题
-
单项选择题
如何将以下的特征向量转换成整数向量?()my_vector < -c("1992","2016","2012","2018")
A.as.integer(my_vector)
B.as.numeric(my_vector)
C.tointeger(my_vector)
D.converttointeger(my_vector) -
单项选择题
以下哪个正则表达式会和形式为“name@domain.com”的电子邮箱地址相匹配?()
A.“.+@.+.com”
B.“.+@.+\\.com”
C.“.*@.*.com"
D.“.*@.*\\.com”
E.“.+@.+” -
单项选择题
思考一下以下grep语句:grep(“.+\\..+”,c(x))如果这个语句输出1,表示得到匹配,以下哪个x值是有可能的?()
A.x < -toupper“test”
B.x < -chartr“.”,““,“test.com”
C.x < -substr“test.com”,start =4,stop =7
D.x < -str_sub“test.com”,-4,-1
E.x < -substr“test.com”,start =1,stop =5
