utils::head() method for tbl_gpu. Keeps the same rows as
utils::head.data.frame(): implemented as slice_head(n = floor(n)) on the
ungrouped table (see slice_head.tbl_gpu()), with the grouping put back
on the result.
Usage
# S3 method for class 'tbl_gpu'
head(x, n = 6L, ...)Arguments
- x
A
tbl_gpuobject.- n
Number of rows to keep (default
6, matchingutils::head()). Negativenkeeps all but the lastabs(n)rows. A fractionalnis rounded down, as in base. Groups are ignored: the rows are the firstnof the whole table, and the result keeps the grouping ofx.- ...
Not used.
