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 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".kCountsreturns a numeric value if the count is less than zero or greater than ten and returns a character string of the numberkPvaluereturns 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 adigits+1 place. See the examples.purl2is a modification ofpurlfromfilebut with lines removed that contain certain words (those found inItemsToRemoveandmoreItems).reproInforeturns Markdown, LaTeX, or R code that printspurlkCountsis used to convert numeric numbers tokPvalueis used to printpurl2is used to create a modified (see below) Stangled or purled script.reproInfois used to printformatC for functionality similar to kPvalue. See purl and knit in 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