extractmonths(RMAWGEN)
extractmonths()所属R语言包:RMAWGEN
Extracts the rows of a matrix corresponding to requested months of a year given the date (origin) of the first row
提取矩阵的行对应的请求月的一年的第一行的日期(原点)
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Extracts the rows of a matrix corresponding to requested months of a year given the date (origin) of the first row
提取矩阵的行对应的请求月的一年的第一行的日期(原点)
用法----------Usage----------
extractmonths(data = array(1:ndim_max, dim = c(ndim_max, 1)),
ndim_max = 1e+05, when = c("Dec", "Jan", "Feb"),
year = NULL, origin = "1961-1-1")
参数----------Arguments----------
参数:data
an input data matrix where each row corresponds to a daily record
输入数据矩阵,其中每一行对应于每日记录
参数:when
character vactor of months for which the data are required. It must be a subset of c("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")
字符向量子个月的数据。它必须是一个子集c("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")
参数:origin
date corresponding to the first row of data
迄今为止data的第一行对应于
参数:year
year(s) when data must be extracted
年(S)数据时,必须提取
参数:ndim_max
maximimum (integer) number of rows in data where to find when. Default is 100000 and works if data is missing.
maximimum中的行数(整数)data发现when。默认为100000,如果data缺少。
值----------Value----------
a matrix containing the requested rows
矩阵包含请求的行
注意----------Note----------
It uses months and julian
它使用了months和julian
(作者)----------Author(s)----------
Emanuele Cordano, Emanuele Eccel
参见----------See Also----------
extractdays
extractdays
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|