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

R语言 sets包 canonicalize set and mapping()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 01:33:01 | 显示全部楼层 |阅读模式
canonicalize set and mapping(sets)
canonicalize set and mapping()所属R语言包:sets

                                        Canonicalize set and mapping
                                         规范化集和映射

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

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

Helper function that canonicalizes set elements, and
规范化的辅助功能,设定元素,


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


canonicalize_set_and_mapping(x, mapping = NULL, margin = NULL)



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

参数:x
An object to be transformed into a set.
一个对象被转换成一组。


参数:mapping
A list, array or data frame representing a mapping of the set.
一个列表,数组或数据框的映射的集合。


参数:margin
Margins to be reordered (ignored if mapping is a list). If NULL, all margins with the same length of x will be used.
边界进行重新排序(如果mapping忽略的列表)。如果NULL,所有利润与相同长度的x会使用。


Details

详细信息----------Details----------

This helper function can be used when a set is to be created from some object x, and another object contains some meta-information on the set elements in the same order than the elements of x. The set creation can cause the input elements to be permuted. By the use of this function, the meta information can be kept in sync with the result of iterating over the associated set.
一组时,可以使用这个辅助函数是要创建从一些对象x,另一个对象包含了一些以相同的顺序比元素x上的集合元素的元信息。集创建可能会导致输入元素被排列。通过使用此功能,元信息可以保持同步,与遍历组相关联的结果。


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

A list with three named components:
有三个组件列表:


参数:set
The set created from x.
集创建x。


参数:mapping
mapping, possibly reordered to match the order of set.
mapping,有可能重新排列的顺序相匹配的set。


参数:order
The order used for rearranging the mapping.
顺序进行重新排列的映射。


参见----------See Also----------

set.
set。


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


L <- list(c, "a", 3)
M1 <- list("a","b","c")
M2 <- matrix(1:9, ncol = 3)
canonicalize_set_and_mapping(L, M1)
canonicalize_set_and_mapping(L, M2)
canonicalize_set_and_mapping(L, M2, 1)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-21 02:47 , Processed in 0.023729 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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