Learn R Programming

sglOptim (version 1.3.8)

rearrange.sgldata: Rearrange sgldata

Description

Rearrange the order of the covariates in a sgldata object.

Usage

# S3 method for 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: add_data.sgldata, create.sgldata, prepare.args.sgldata, prepare.args, prepare_data, subsample.sgldata