Learn R Programming

qacBase (version 1.0.3)

print.contents: Print a contents object

Description

print.contents prints the results of the content function.

Usage

# S3 method for contents
print(x, ...)

Arguments

x

a object of class contents

...

not used.

Value

No return value, called for side effects.

Examples

Run this code
# NOT RUN {
testdata <- data.frame(height=c(4, 5, 3, 2, 100),
                       weight=c(39, 88, NA, 15, -2),
                       names=c("Bill","Dean", "Sam", NA, "Jane"),
                       race=c('b', 'w', 'w', 'o', 'b'))

x <- contents(testdata)
print(x)

# }

Run the code above in your browser using DataLab