Description Usage Arguments Details Value Examples
AffStyle
facilitates the generation of long author list in different styles based on the requirements of research journals.
1 |
X |
A user-supplied data frame with columns containing the authors' affiliations. |
first |
Name of the variable containing the authors' first names. See 'Examples'. |
last |
Name of the variable containing the authors' last names. See 'Examples'. |
middle |
Name of the variable containing the authors' middle names. See 'Examples'. |
name |
Name of the variable containing the authors' full names. See 'Examples'. |
degree |
Name of the variable containing the authors' title (PhD, MS, etc..). See 'Examples'. |
index |
|
template |
A template indicating the style of output. See 'Details' and 'Examples'. |
template
represents a style specified by the user.
f: first name
m: middle name
l: last name
n: full name
d: degree
i: index (acquired by AutoAff
)
^foo^: if 'foo' needs to be superscripted
Any other characters can be used based on the user's need. For example, spaces can be added between first and last names, colons ';' can be added at the end as separators.
Styles that include superscripts/subscripts require the use of R Markdown. The output for these styles are R Markdown syntax (text between ^^ will be superscipts after knitting).
The function returns a text string that is either ready to be pasted into your manuscript (without superscripts) or need to be copied to R Markdown and knitted (with superscripts).
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.