differential.activity.estimates {RDS}R Documentation

Differential Activity between groups

Description

Differential Activity between groups

Usage

differential.activity.estimates(
  rds.data,
  outcome.variable,
  weight.type = "Gile's SS",
  N = NULL,
  subset = NULL,
  ...
)

Arguments

rds.data

An rds.data.frame object

outcome.variable

A character string of column names representing categorical variables.

weight.type

A string giving the type of estimator to use. The options are "Gile's SS", "RDS-I", "RDS-II", "RDS-I/DS", and "Arithemic Mean". It defaults to "Gile's SS".

N

The population size.

subset

An expression defining a subset of rds.data.

...

Additional parameters passed to compute.weights.

Details

This function estimates the ratio of the average degree of one population group divided by the average degree of those in another population group.

Examples

data(faux)
differential.activity.estimates(faux,"X",weight.type="RDS-II")

[Package RDS version 0.9-9 Index]