[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fj5icrdccKmZLlABkDNtggLnguxHudH5CawLpXRx77cc":3},{"answer":4,"createTime":5,"id":6,"options":7,"origin":12,"question":19,"related":20,"source":24,"type":25},[],"2024-12-01 22:36:00",168459448,[8,9,10,11],"grep()函数可以查询字符串,默认的返回结果为匹配项的下标","grepl()函数也用于字符串的查询和替换,它返回一个逻辑向量","grep()函数可以查询字符串,若参数value=TRUE时,返回结果为匹配项的下标","grep()函数可以查询字符串,若参数value=TRUE时,返回结果为匹配项的值",{"count":13,"courseId":14,"courseImg":15,"courseName":16,"workId":17,"workName":18},13,"adcd5a43d369af0224e6ad3ef1870d8a","https:\u002F\u002Ftihai-oss-cloud.itihey.com\u002Fimg\u002F885846241b4915ebb880bb275983f789.png","数据分析与R语言","1012ce09d1ed4b4783e3e6f631c3dfaf","3.5节测验","下列关于函数grep()和grepl()说法错误的是( )",[21,26,35,43,52,59,64,69,74,80],{"answer":22,"createTime":5,"id":6,"options":23,"question":19,"source":24,"type":25},[],[8,9,10,11],"v1",0,{"answer":27,"createTime":5,"id":28,"options":29,"question":34,"source":24,"type":25},[],168459451,[30,31,32,33],"Error in substring(x, 5) : 缺少参数&quot;stop&quot;,也没有缺省值","&quot;排云上,便引诗情到碧霄&quot;","&quot;排&quot;","&quot;晴空一鹤排云上,便引诗情到碧霄&quot;","x &lt;- &quot;晴空一鹤排云上,便引诗情到碧霄&quot;,substring(x,5)的运行结果为( )",{"answer":36,"createTime":5,"id":37,"options":38,"question":42,"source":24,"type":25},[],168459454,[39,33,40,41],"&quot;晴&quot; &quot;霄&quot;","&quot;霄&quot;","&quot;晴&quot;","x &lt;- &quot;晴空一鹤排云上,便引诗情到碧霄&quot;,n &lt;- nchar(x),substr(x,1:n,1:n)的运行结果为( )",{"answer":44,"createTime":5,"id":45,"options":46,"question":51,"source":24,"type":25},[],168459456,[47,48,49,50],"&quot;hhh&quot; &quot;mosh&quot; &quot;sofhwarh&quot; &quot;arh&quot; &quot;ho&quot; &quot;hakh&quot; &quot;frhhdom&quot;","&quot;hhe&quot; &quot;mosh&quot; &quot;sofhwarh&quot; &quot;arh&quot; &quot;ho&quot; &quot;hakh&quot; &quot;frhhdom&quot;","&quot;hhh&quot; &quot;mosh&quot; &quot;sofhware&quot; &quot;arh&quot; &quot;ho&quot; &quot;hakh&quot; &quot;frhhdom&quot;","&quot;hhe&quot; &quot;mosh&quot; &quot;sofhware&quot; &quot;arh&quot; &quot;ho&quot; &quot;hake&quot; &quot;frhedom&quot;","txt&lt;-c(&quot;the&quot;,&quot;most&quot;,&quot;software&quot;,&quot;are&quot;,&quot;to&quot;,&quot;take&quot;,&quot;freedom&quot;),sub(&quot;[te]&quot;,&quot;h&quot;, txt)=( )",{"answer":53,"createTime":54,"id":55,"options":56,"question":57,"source":24,"type":58},[],"2025-06-09 15:12:28",196926846,[],"匹配除了5以外的任何字符的正则表达式为____",2,{"answer":60,"createTime":54,"id":61,"options":62,"question":63,"source":24,"type":58},[],196926849,[],"匹配1或2的正则表达式为____",{"answer":65,"createTime":54,"id":66,"options":67,"question":68,"source":24,"type":58},[],196926856,[],"使用正则表达式的规则进行匹配的函数是____",{"answer":70,"createTime":54,"id":71,"options":72,"question":73,"source":24,"type":58},[],196926863,[],"匹配以e结尾的正则表达式为____",{"answer":75,"createTime":76,"id":77,"options":78,"question":79,"source":24,"type":58},[],"2025-06-09 15:12:29",196926867,[],"若x &lt;- &quot;apples x4&quot;,则nchar(x)=____",{"answer":81,"createTime":76,"id":82,"options":83,"question":84,"source":24,"type":58},[],196926873,[],"若x &lt;- &quot;apples x4&quot;,则length(x)=____"]