Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

head

Head and tail


Description

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

Usage

## 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

data("mtoys")

head(toy_mm)
tail(toy_mm,3)

multivator

A Multivariate Emulator

v1.1-10
GPL-2
Authors
Robin K. S. Hankin [aut, cre] (<https://orcid.org/0000-0001-5982-0415>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.