print.classified: Printing classified data

Description Usage Arguments See Also Examples

View source: R/classify.R

Description

Preview first n rows as tibble

Usage

1
2
## S3 method for class 'classified'
print(x, ...)

Arguments

x

output from classify()

...

additional arguments passed to printing method for a tibble. n is the number of rows to preview. Set n = NULL to disable the tibble preview and print the object as is (a matrix).

See Also

Other classcodes: all_classcodes(), as.data.frame.classified(), classcodes, codebook(), print.classcodes(), set_classcodes(), summary.classcodes(), visualize.classcodes()

Examples

1
2
3
4
5
6
7
8
# Preview all output
classify(c("C80", "I20", "unvalid_code"), "elixhauser")

# Preview only the first row
print(classify(c("C80", "I20", "unvalid_code"), "elixhauser"), n = 1)

# Print object as is (matrix)
print(classify(c("C80", "I20", "unvalid_code"), "elixhauser"), n = NULL)

coder documentation built on Jan. 18, 2021, 5:07 p.m.