Learn R Programming

dad (version 4.1.6)

summary.folderh: Summarize a folderh

Description

Summarize an object of class folderh.

Usage

# S3 method for folderh
summary(object, ...)

Value

A list, each element of it containing the summary of the corresponding element of object. This list has an attribute attr(, "keys") (see folderh).

Arguments

object

object of class folderh that is a list of data frames.

...

further arguments passed to or from other methods.

Author

Rachid Boumaza, Pierre Santagostini, Smail Yousfi, Gilles Hunault, Sabine Demotes-Mainard

See Also

folderh: object of class folderh.

Examples

Run this code

# First example
mtgfile <- system.file("extdata/plant1.mtg", package = "dad")
x <- read.mtg(mtgfile)
fh1 <- as.folderh(x, classes = c("P", "A", "M"))
summary(fh1)

# Second example
data(roseleaves)
roses <- roseleaves$rose
stems <- roseleaves$stem
leaves <- roseleaves$leaf
leaflets <- roseleaves$leaflet
fh2 <- folderh(roses, "rose", stems, "stem", leaves, "leaf", leaflets)
summary(fh2)

Run the code above in your browser using DataLab