Description Usage Arguments Value Examples
Add an argument to an nlSignature
1 | nlSignatureAddArg(nlStatSigs, addArg)
|
nlStatSigs |
character A vector of nlStat signatures to which to add the argument |
addArg |
character The argument to add to the signatures |
named character A vector of modified nlStat signatures
1 2 3 4 5 6 7 8 9 | nlStat <- list("sum")
nlSig <- Rnightlights:::nlStatSignature(nlStat)
Rnightlights:::nlSignatureAddArg(nlStatSigs = nlSig, addArg = "na.rm = TRUE")
#returns
# sum()
# "sum(na.rm=TRUE)"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.