Learn R Programming

sglOptim (version 1.0.122.0)

rearrange.sgldata: Rearrange sgldata

Description

Rearrange the order of the covariates in a sgldata object.

Usage

## S3 method for class 'sgldata':
rearrange(data, covariate.order, ...)

Arguments

data
a sgldata object
covariate.order
the new order of the covariates
...
not used

Value

  • a sgldata object with the covariates reordered

See Also

Other sgldata: create.sgldata, prepare.args, prepare.args.sgldata