Description Usage Arguments Value Examples
Remove triple-dots (...) from names of arguments in a signature
1 | prettyNlSignature(nlStatSig)
|
nlStatSig |
character The signature of an nlStat |
named character An nlStat signature without the triple-dots
1 2 3 4 5 6 | nlStat <- list("sum", "x=10", "na.rm=T")
nlStatSig <- Rnightlights:::nlStatSignature(nlStat) #"sum(...=x=10,na.rm=TRUE)"
Rnightlights:::prettyNlSignature(nlStatSig = nlStatSig)
#returns "sum(x=10,na.rm=TRUE)"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.