head: Head and tail

Description Usage Arguments Value Author(s) Examples

Description

Print the first few, or last few, lines of a mdm object

Usage

1
2
3
4
## S4 method for signature 'mdm'
head(x, n = 6, ...)
## S4 method for signature 'mdm'
tail(x, n = 6, ...)

Arguments

x

object of class mdm

n

number of lines to print as per same argument in head() and tail()

...

Further arguments passed to head() or tail()

Value

Returns a truncated mdm object. The levels of the types are unchanged.

Author(s)

Robin K. S. Hankin

Examples

1
2
3
4
data("mtoys")

head(toy_mm)
tail(toy_mm,3)

multivator documentation built on May 29, 2017, 7:23 p.m.

Search within the multivator package
Search all R packages, documentation and source code