combine.and.reorder: Combines and reorders (so correct original order) after...

View source: R/modifyProps.r

combine.and.reorderR Documentation

Combines and reorders (so correct original order) after modifyProps has been called on a logiset. Called in adjust.proportions().

Description

Combines and reorders (so correct original order) after modifyProps has been called on a logiset. Called in adjust.proportions().

Usage

combine.and.reorder(modified.x, non.modified.x, logiset)

Arguments

modified.x

A vector of modified values (i.e. those tht were in the logiset. Either categorical or continuous.

non.modified.x

A vector of non-modified values of the same variable (i.e. those tht were not in the logiset. Either categorical or continuous.

logiset

A TRUE/FALSE vetor defining which units are in the logical subset on which modifyProps was called.

Value

A combined and reordered vector. Contains evereyone in the population in the correct order.


kcha193/simarioV2 documentation built on April 8, 2024, 4:51 p.m.