print.tfl {zipfR} | R Documentation |
Implementations of the print
and summary
methods for type frequency list objects (of class tfl
).
## S3 method for class 'tfl': print(x, all=FALSE, ...) ## S3 method for class 'tfl': summary(object, ...)
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 |
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).
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 the tfl
manpage for details on tfl
objects.
## 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)