Skip to contents

Print method for `<birthdays>`

Usage

# S3 method for birthdays
print(x, ...)

Arguments

x

An `birthdays` object

...

Other arugments to be passed to `print()`

Value

Invisibly returns input, called for printing side-effects

Examples

df = data.frame(
  name = c("kevin", "stacey"),
  birthday = c(as.Date("2001-01-01"), as.Date("2002-01-02"))
)
birthdays <- birthdays(df)
print(birthdays)
#> A `birthdays` object with 2 rows and 2 cols