| print.test.nleqslv {nleqslv} | R Documentation |
Printing the result of testnslv
Description
Print method for test.nleqslv objects.
Usage
## S3 method for class 'test.nleqslv'
print(x, digits=4, width.cutoff=45L, ...)
Arguments
x |
a |
digits |
specifies the minimum number of significant digits to be printed in values. |
width.cutoff |
integer passed to |
... |
additional arguments to |
Details
This is the print method for objects inheriting from
class test.nleqslv. It prints the call to testnslv followed by the description of the experiment
(if the title argument was specified in the call to testnslv)
and the dataframe containing the results of testnslv.
Value
It returns the object x invisibly.
Examples
dslnex <- function(x) {
y <- numeric(2)
y[1] <- x[1]^2 + x[2]^2 - 2
y[2] <- exp(x[1]-1) + x[2]^3 - 2
y
}
xstart <- c(1.5,0.5)
fstart <- dslnex(xstart)
z <- testnslv(xstart,dslnex)
print(z)
[Package nleqslv version 3.3.5 Index]