powered by
Default print as a list is bad since there's a lot of elements.
# S3 method for CGGP print(x, ...)
String to be printed
CGGP object
Passed to print
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)
Run the code above in your browser using DataLab