kCounts(value, capitalize = FALSE)
kPvalue(value, digits = 4, include.p = TRUE, latex = TRUE)
purl2(file, out.dir = NULL, newname = NULL, topnotes = NULL, moreItems = NULL, blanks = c("extra", "all", "none"), delHeader = NULL, timestamp = TRUE, ...)
reproInfo(out = c("r", "markdown", "latex"), rqrdPkgs = NULL, elapsed = NULL, width = 0.95 * getOption("width"), addTOC = TRUE, newpage = FALSE, links = NULL, closeGraphics = TRUE)purl2.blanks="all" then all blank lines will be removed. If blanks="extra" then only extra blanks lines will be removed (i.e., one blank line will be left where there was originally more than one blank line).purl2.purl2.reproInfo -- Markdown, LaTeX, or simple R code.proc.time, that is the time required to run the vignette. If NULL then this output will not be used. See the note below.out="r".purl.kCounts returns a numeric value if the count is less than zero or greater than ten and returns a character string of the number name. See the examples.
kPvalue returns a character string of the supplied p-value rounded to the requested number of digits or a character string that indicates what the p-value is less than the value with a 5 in the digits+1 place. See the examples.
purl2 is a modification of purl from knitr that creates a file with the same name as file but with lines removed that contain certain words (those found in ItemsToRemove and moreItems).
reproInfo returns Markdown, LaTeX, or R code that prints reproducibility information at the bottom of the knitted document.
kCounts is used to convert numeric numbers to word numbers in a sentence.
kPvalue is used to print pretty p-values.
purl2 is used to create a modified (see below) Stangled or purled script.
reproInfo is used to print reproducibility information for the document.
formatC for functionality similar to kPvalue. See purl and knit in knitr for functionality similar to purl2.
kCounts(7)
kCounts(17)
kCounts(0)
kCounts(-6)
kCounts(3,capitalize=TRUE)
kPvalue(0.123456789)
kPvalue(0.000123456)
kPvalue(0.000012345)
kPvalue(0.000012345,include.p=FALSE)
kPvalue(0.000012345,include.p=FALSE,latex=FALSE)
Run the code above in your browser using DataLab