showd: Show a Part of a Data.frame

Description Usage Arguments Details 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.

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.

Details

The tit attribute of data will be printed if available and getUserOption("doc") > 0, and any doc attribute, if getUserOption("doc") >= 2 (see tit).

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
4
5
6

regr0 documentation built on May 2, 2019, 4:52 p.m.

Related to showd in regr0...