Movatterモバイル変換


[0]ホーム

URL:


comment {base}R Documentation

Query or Set a"comment" Attribute

Description

These functions set and query acommentattribute for anyR objects. This is typically useful fordata.frames or model fits.

Contrary to otherattributes, thecomment is notprinted (byprint orprint.default).

AssigningNULL or a zero-length character vector removes thecomment.

Usage

comment(x)comment(x) <- value

Arguments

x

anyR object.

value

acharacter vector, orNULL.

See Also

attributes andattr for other attributes.

Examples

x <- matrix(1:12, 3, 4)comment(x) <- c("This is my very important data from experiment #0234",                "Jun 5, 1998")xcomment(x)

[Packagebase version 4.6.0Index]

[8]ページ先頭

©2009-2025 Movatter.jp