display: Contents of Variables of a Data frame

Description Usage Arguments Value See Also Examples

View source: R/display.R

Description

The function displays the contents of each of the variables of the data frame.

Usage

1
2

Arguments

data

A data frame containing the variables.

Value

display does not return anything. The output is printed to the terminal.

See Also

head, summary, str

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
tmp <- data.frame(
    y1 = c(NA, NA, rnorm(3)),
    y2 = c(rnorm(4), NA),
    f1 = c(1, NA, 1, NA, 2)
    )
tmp$f1 <- as.factor(tmp$f1)
tmp

display(data = tmp)

  

tdisplay documentation built on May 2, 2019, 4:46 p.m.