Convert to a tibble of the n first/last elements.
# S3 method for FDF head(x, n = 6L, ...) head(x, ...) # S3 method for FDF tail(x, n = 6L, ...) tail(x, ...)
x | A FDF. |
---|---|
n | A single positive integer. |
... | Not used. |
#> # A tibble: 6 x 5 #> Sepal.Length Sepal.Width Petal.Length Petal.Width Species #> <dbl> <dbl> <dbl> <dbl> <chr> #> 1 5.1 3.5 1.4 0.2 setosa #> 2 4.9 3 1.4 0.2 setosa #> 3 4.7 3.2 1.3 0.2 setosa #> 4 4.6 3.1 1.5 0.2 setosa #> 5 5 3.6 1.4 0.2 setosa #> 6 5.4 3.9 1.7 0.4 setosa#> # A tibble: 6 x 5 #> Sepal.Length Sepal.Width Petal.Length Petal.Width Species #> <dbl> <dbl> <dbl> <dbl> <chr> #> 1 6.7 3.3 5.7 2.5 virginica #> 2 6.7 3 5.2 2.3 virginica #> 3 6.3 2.5 5 1.9 virginica #> 4 6.5 3 5.2 2 virginica #> 5 6.2 3.4 5.4 2.3 virginica #> 6 5.9 3 5.1 1.8 virginica