detail: Show details of an object

View source: R/detail.R

detailR Documentation

Show details of an object

Description

Show details of an object.

Usage

detail(x)

Arguments

x

Any R object to be tested.

Value

A list with components:

x

The argument x.

isS4

Logical, indicates whether x is an S4 object.

isObject

Logical, indicates whether x is an object, i.e., with a class attribute.

class

The class of x.

attributes

The attributes of x. Usually result$attributes is also a list.

Author(s)

Ying-Ying Zhang (Robert) robertzhangyying@qq.com

References

Zhang, Y. Y., Wei, Y. (2013), One and two samples using only an R funtion, \Sexpr[results=rd]{tools:::Rd_expr_doi("10.2991/asshm-13.2013.29")}.

See Also

isS4, is.object, class, attributes

Examples

x=rnorm(10, mean = 1, sd = 0.2); x
t = t.test(x); t
detail(t)

OneTwoSamples documentation built on March 31, 2023, 11:49 p.m.