找回密码
 注册
查看: 325|回复: 0

R语言 spacodiR包 match.spacodi.data()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 12:14:55 | 显示全部楼层 |阅读模式
match.spacodi.data(spacodiR)
match.spacodi.data()所属R语言包:spacodiR

                                        pruning a tree to match datasets used in SPACoDi
                                         修剪一棵树,以配合使用的数据集在SPACoDi

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

match.spacodi.data is a utility for automating the process of pruning datasets for use in spacodiR. Note that nearly all spacodiR functions require that
match.spacodi.data是一个实用程序,用于过程自动化的修剪数据集用于在spacodiR。需要注意的是几乎所有的spacodiR功能要求,


用法----------Usage----------


match.spacodi.data(sp.plot, phy=NULL, sp.traits=NULL, prune=TRUE, verbose=FALSE)



参数----------Arguments----------

参数:sp.plot
a community dataset in spacodiR format (see as.spacodi)
社区spacodiR格式的数据集(见as.spacodi)


参数:phy
a phylogenetic tree of class phylo; see read.tree
类的进化树phylo; read.tree


参数:sp.traits
a species-by-trait(s) dataframe
一个物种的性状(S)数据框


参数:prune
Boolean; whether plots with fewer than two species sampled are pruned
布尔少于两个品种的图是否采样修剪


参数:verbose
Boolean; whether dropped plots are written to the console
布尔下降图是否被写入到控制台


值----------Value----------

A list of pruned dataset(s):
修剪数据集的列表(S):

sp.plot
sp.plot

sp.tree
sp.tree

sp.traits
sp.traits

Note: if prune=TRUE, the list of plots pruned will be printed to the console.
注:如果prune=TRUE,修剪图的列表将被打印到控制台。


(作者)----------Author(s)----------


Jonathan Eastman



实例----------Examples----------


# load a species-by-plots matrix, along with a tree[加载一个物种的图的矩阵,沿树]
data(sp.example)
attributes(sp.example)
attach(sp.example)
spl
phy
trt

# prune out undersampled plots[修剪不足图]
spl[,2]=0
match.spacodi.data(spl) -> sp.plot.new
sp.plot.new


# match datasets where sp.traits is smaller than the remainder[匹配的数据集,其中sp.traits小于其余]
match.spacodi.data(sp.plot=spl, phy=phy, sp.traits=trt[1:6,])
                                                       

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-6-9 18:39 , Processed in 0.023963 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表