| RDS.HCG.estimates | R Documentation |
This function computes the Homophily Configuration Graph type estimates for a categorical variable.
RDS.HCG.estimates(
rds.data,
outcome.variable,
N = NULL,
subset = NULL,
small.fraction = FALSE,
to.factor = FALSE,
cont.breaks = 3
)
rds.data |
An |
outcome.variable |
A string giving the name of the variable in the
|
N |
Population size. If NULL, this value is taken to be the population.size.mid attribute of the data and if that is not set, no finite population correction is used. |
subset |
An optional criterion to subset |
small.fraction |
Should a small sample fraction be assumed |
to.factor |
force variable to be a factor |
cont.breaks |
If variable is numeric, how many discretization points should be used in the calculation of the weights. |
An object of class rds.weighted.estimate.
Ian E. Fellows
RDS.I.estimates, RDS.II.estimates, RDS.SS.estimates
data(fauxtime)
RDS.HCG.estimates(rds.data=fauxtime,outcome.variable='var1')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.