设为首页收藏本站获取积分奖励

R语言中文网

 找回密码
 立即注册
查看: 502|回复: 0

R语言人数person()函数-中英文对照帮助文档

[复制链接]
发表于 2020-8-21 08:08:48 | 显示全部楼层 |阅读模式
        R语言人数person()函数-中英文对照帮助文档

                                         By MicroRbt Martinez PhD

R语言函数名:person()
R语言函数功能:人数
来自资源库:基础库(R语言自带)
person()函数所属R语言包:所在R包具体名称、包功能的中英文双语描述见正文后面'--所在R语言包信息--'部分。

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

A class and utility methods for holding information about persons like name and email address.
用于保存有关人的信息(例如姓名和电子邮件地址)的类和实用程序方法。


使用方法-----Usage-----

person(given = NULL, family = NULL, middle = NULL,
email = NULL, role = NULL, comment = NULL,
first = NULL, last = NULL)
## Default S3 methodefault S3 method:
默认的S3方法:

as.person(x)
## S3 method for class 'person' S3 method for class 'person'
format(x,
include = c("given", "family", "email", "role", "comment"),
braces = list(given = "", family = "", email = c("<", ">"),
role = c("[", "]"), comment = c("(", ")")),
collapse = list(given = " ", family = " ", email = ", ",
role = ", ", comment = ", "),
...,
style = c("text", "R")
)

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

参数given介绍: a character vector with the given names, or a list thereof.
具有given名称或其列表的字符向量。

参数family介绍: a character string with the family name, or a list thereof.
具有family名称的字符串或其列表。

参数middle介绍: a character string with the collapsed middle name(s). Deprecated, see Details.
中间名称折叠的字符串。已弃用,请参阅详细信息。

参数email介绍: a character string (or vector) giving an e-mail address (each), or a list thereof.
给出电子邮件地址(每个)或其列表的字符串(或向量)。

参数role介绍: a character vector specifying the role(s) of the person (see Details), or a list thereof.
指定人的角色的字符向量(请参见详细信息)或其列表。

参数comment介绍: a character string (or vector) providing comments, or a list thereof.
提供注释的字符串(或向量)或其列表。

参数first介绍: a character string giving the first name. Deprecated, see Details.
给出名字的字符串。已弃用,请参阅详细信息。

参数last介绍: a character string giving the last name. Deprecated, see Details.
给出姓氏的字符串。已弃用,请参阅详细信息。

参数x介绍: a character string for the as.person default method; an object of class "person" otherwise.
as.person默认方法的字符串;否则为"person"类的对象。

参数include介绍: a character vector giving the fields to be included when formatting.
一个字符向量,给出格式化时要包括的字段。

参数braces介绍: a list of characters (see Details).
字符列表(请参阅详细信息)。

参数collapse介绍: a list of characters (see Details).
字符列表(请参阅详细信息)。

参数...介绍: currently not used.
目前未使用。

参数style介绍: a character string specifying the print style, with "R" yielding formatting as R code.
一个指定打印样式的字符串,"R"产生格式为R代码。


详情-----Details-----

Objects of class "person" can hold information about an arbitrary positive number of persons. These can be obtained by one call to person() with list arguments, or by first creating object
-----未完,待续-----,↓↓↓展开剩余72%↓↓↓
购买主题 前行需要您的支持,请赞助作者 【15 金钱】 就能浏览全部100%内容啦!(本贴一次赞助、永久可读)
回复

使用道具 举报

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

本版积分规则

手机版|小黑屋|Archiver|R语言中文网    

GMT+8, 2024-5-20 22:04 , Processed in 0.024552 second(s), 21 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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