print.tfl {zipfR}R Documentation

Printing Type Frequency Lists (zipfR)

Description

Implementations of the print and summary methods for type frequency list objects (of class tfl).

Usage


  ## S3 method for class 'tfl':
print(x, all=FALSE, ...)

  ## S3 method for class 'tfl':
summary(object, ...)

Arguments

x, object an object of class tfl, representing a type frequency list
all if FALSE, only the twenty most frequent types will be shown (default)
... other arguments passed on from generic method will be ignored

Details

NB: implementation details and format of the summary are subject to change in future releases

print.tfl works similar to the standard print method for data frames, but provides additional information about N and V. Unless all is set to TRUE, only the twenty most frequent types will be shown.

summary.tfl gives a concise summary of the most important information about the type frequency list. In addition to showing N V, the summary also indicates whether the list is incomplete and shows examples of type representations (if present).

Value

NULL

Unlike other implementations of the summary method, summary.tfl only prints a summary on screen and does not return a special "summary" object.

See Also

See the tfl manpage for details on tfl objects.

Examples


## load Brown tfl
data(Brown.tfl)

## summary and print most frequent types
summary(Brown.tfl)
print(Brown.tfl)

## the whole type list (don't try
## this unless you have some time to
## spare)
## Not run: print(Brown.tfl,all=TRUE)


[Package zipfR version 0.6-5 Index]