View source: R/CGGP_S3_methods.R
print.CGGP | R Documentation |
Default print as a list is bad since there's a lot of elements.
## S3 method for class 'CGGP'
print(x, ...)
x |
CGGP object |
... |
Passed to print |
String to be printed
SG = CGGPcreate(3,21)
print(SG)
f <- function(x) {x[1]+exp(x[2]) + log(x[3]+4)}
y <- apply(SG$design, 1, f)
SG <- CGGPfit(SG, y)
print(SG)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.