Learn R Programming

rspa (version 0.2.8)

adjusted: Adjusted object

Description

Adjusted object

Usage

# S3 method for adjusted
print(x, maxprint = 10, ...)

Arguments

x

an object of class adjusted

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 (see adjust 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. (See proc.time).

  • \$niter: Number of iterations.

  • \$status: A character string stating whether the adjustment was successful, aborted, or if the maximum number of iterations was reached before convergence.

  • \$method: 'sparse' or 'dense'.

See Also

adjust