showd: Show a Part of a Data.frame

Description Usage Arguments Value Author(s) See Also Examples

Description

Shows a part of the data.frame which allows for grasping the nature of the data. The function is typically used to make sure that the data is what was desired and to grasp the nature of the variables in the phase of getting acquainted with the data. (This is a (trimmed) copy of the same function in the package regr0 on r-forge.r-project.org/R/?group_id=555)

Usage

1
showd(data, first = 3, nrow. = 4, ncol. = NULL)

Arguments

data

a data.frame (or a matrix)

first

the first first rows will be shown and ...

nrow.

a selection of nrow. rows will be shown in addition. They will be selected with equal row number differences. The last row is always included.

ncol.

number of columns (variables) to be shown. The first and last columns will also be included. If ncol. has more than one element, it is used to identify the columns directly.

Value

returns invisibly the character vector containing the formatted data

Author(s)

Werner A. Stahel, ETH Zurich

See Also

head and tail.

Examples

1
2
3

qmrobust documentation built on May 2, 2019, 6:50 p.m.