Learn R Programming

RDS (version 0.8-1)

hcg.weights: homophily configuration graph weights

Description

homophily configuration graph weights

Usage

hcg.weights(rds.data, outcome.variable, N = NULL, small.fraction = FALSE,
  ...)

Arguments

rds.data

An rds.data.frame

outcome.variable

The variable used to base the weights on.

N

Population size

small.fraction

should a small sample fraction be assumed

...

Unused

Examples

Run this code
# NOT RUN {
data(fauxtime)
hcg.weights(fauxtime,"var1",N=3000)
fauxtime$NETWORK[c(1,100,40,82,77)] <- NA
# }

Run the code above in your browser using DataLab