wstringapply(ecolitk)
wstringapply()所属R语言包:ecolitk
Apply a function on a window sliding on a string
申请一个函数在一个字符串的滑动窗口
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Apply a function on a window sliding on a string.
应用上的一个字符串的滑动窗口的功能。
用法----------Usage----------
wstringapply(x, SIZE, SLIDE, FUN, ...)
参数----------Arguments----------
参数:x
The string
字符串
参数:SIZE
The size of the window (number of characters).
窗口的大小(字符数)。
参数:SLIDE
offset to move at each slide
在每个幻灯片偏移移动
参数:FUN
The function to be applied
将要应用的函数
参数:...
optional parameter for the function FUN
可选参数的函数FUN
Details
详情----------Details----------
Apply the function FUN to substrings of x of length SIZE.
应用功能FUN的子串x长度SIZE。
值----------Value----------
A list of size nchar(x) - SIZE.
大小nchar(x) - SIZE名单。
作者(S)----------Author(s)----------
L, Gautier
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|