multivator (version 1.1-11)

head: Head and tail

Description

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

Usage

# S4 method for mdm
head(x, n = 6, ...)
# S4 method for mdm
tail(x, n = 6, ...)

Value

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

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()

Author

Robin K. S. Hankin

Examples

Run this code

data("mtoys")

head(toy_mm)
tail(toy_mm,3)

Run the code above in your browser using DataLab