Contact me:

摘要: 语句输入不完整导致的,后面直接加 ; 回车执行,会退出这种状态 阅读全文
posted @ 2020-06-02 17:01 impwa 阅读(2245) 评论(0) 推荐(0) 编辑
摘要: ##整数型下标 price.map <- c(68, 88, 168) 设某个收银员在一天内分别售出礼品编号为3,2,1,1,2,2,3, 可以用如下的映射方式获得售出的这些礼品对应的价格: items <- c(3,2,1,1,2,2,3) y <- price.map[items]; print 阅读全文
posted @ 2020-06-02 16:52 impwa 阅读(724) 评论(2) 推荐(0) 编辑
摘要: ##Description grep, grepl, regexpr, gregexpr and regexec search for matches to pattern within each element of a character vector: they differ in the f 阅读全文
posted @ 2020-06-02 09:42 impwa 阅读(1020) 评论(0) 推荐(0) 编辑