print.mcptext {mcp} | R Documentation |
Nice printing texts
Description
Useful for print(fit$jags_code)
, print(mcp_demo$call)
, etc.
Usage
## S3 method for class 'mcptext'
print(x, ...)
Arguments
x |
Character, often with newlines. |
... |
Currently ignored. |
Author(s)
Jonas Kristoffer Lindeløv jonas@lindeloev.dk
Examples
mytext = "line1 = 2\n line2 = 'horse'"
class(mytext) = "mcptext"
print(mytext)
[Package mcp version 0.3.4 Index]