Many replicate weight matrices have redundant rows, such as when
weights are the same for all observations in a PSU. This function
produces a compressed form. Methods for `as.matrix`

and
`as.vector`

extract and expand the weights.

1 2 3 4 5 6 7 | ```
compressWeights(rw, ...)
## S3 method for class 'svyrep.design'
compressWeights(rw,...)
## S3 method for class 'repweights_compressed'
as.matrix(x,...)
## S3 method for class 'repweights_compressed'
as.vector(x,...)
``` |

`rw` |
A set of replicate weights or a |

`x` |
A compressed set of replicate weights |

`...` |
For future expansion |

An object of class `repweights_compressed`

or a
`svyrep.design`

object with `repweights`

element of class `repweights_compressed`

1 2 3 4 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.