adjusted {rspa} | R Documentation |
Adjusted object
Description
Adjusted object
Usage
## S3 method for class 'adjusted'
print(x, maxprint = 10, ...)
Arguments
x |
an object of class |
maxprint |
max number of output values to print |
... |
parameters to pass to other methds |
Details
A adjusted
object contains the adjusted vector as well as some information on how
the adjustment was achieved. In particular, it contains the following slots (to be accessed with
the dollar operator):
-
\$x
: the adjusted vector. -
\$accuracy
: Maximum deviance of\$x
from the constraints (seeadjust
for details). -
\$objective
: Square root of objective function\sum_i(x_i-x^0_i)^2w_i
. -
\$duration
:proc_time
object showing time it took to run the adjustment. (Seeproc.time
). -
\$niter
: Number of iterations. -
\$status
: Acharacter
string stating whether the adjustment was successful, aborted, or if the maximum number of iterations was reached before convergence. -
\$method
:'sparse'
or'dense'
.