Description Usage Arguments Value
Given an object output by makeRandomData
, make another data set with the same
distribution.
1 | remakeRandomData(n, object, setA = NULL, setW = NULL, ...)
|
n |
A |
object |
An object of class |
setA |
Value(s) to set treatment variable to. If |
setW |
A matrix of proper size with values of covariates set to fixed levels. Useful for
plotting methods. Assumes proper dimensions. If |
An object of class "makeRandomData"
with the following entries
W |
A matrix of covariates |
A |
A vector of binary treatments |
Y |
A vector of continuously valued outcome |
distW |
A list containing relevant information needed to reproduce data sets |
fnG0 |
A list of lists containing relevant information needed to reproduce data sets |
fnQ0 |
A list of lists containing relevant information needed to reproduce data sets |
distErrY |
A list containing relevant information needed to reproduce data sets |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.