R/head-rd.R

#' @title Return the First Parts of an Object
#'
#' @description  This is a method for the [head()] generic.
#' See "Fallbacks" section for differences in implementation.
#' Return the first rows of a data.frame
#'
#' @param x A data.frame
#' @param n A positive integer, how many rows to return.
#' @param ... Not used yet.
#' @examples
#' head(mtcars, 2)
#' @seealso [head()]
#' @rdname head.duckplyr_df
#' @name head.duckplyr_df
NULL
duckdblabs/duckplyr documentation built on March 5, 2025, 3:46 a.m.