Learn R Programming

knitcitations (version 0.6-2)

format_authoryear_t: format the author and year

Description

This formats a single entry, though adjusted by author. This function is passed down to 'cite' by 'citet', wher it creates the actuall formatting on the first use.

Usage

format_authoryear_t(entry, char = "")

Arguments

entry
a bibentry
char
a character to append to the citation (to disambiguate). This is handled automatically by the cite function.

Value

  • the author-year citation