net.tab | R Documentation |
Generates tables of network characteristics
net.tab(data, outcome, N, type.outcome, time = NULL)
data |
A |
outcome |
A string indicating the name of the outcome variable |
N |
A string indicating the name of the variable containing the number of participants in each arm |
type.outcome |
A string. Options are: "binomial", "continuous", "rate" (e.g # of events and # person-time reported), "rate2" (e.g # events and followup time reported) |
time |
A string required when type.outcome = "rate" or "rate2". Name of variable indicating person-time followup (e.g person years) or study followup time |
network
- Table of network characteristics
intervention
- Summary statistics broken down by treatment
comparison
- Summary statistics broken down by treatment comparison
data.prep
data(diabetes.sim)
diabetes.slr <- data.prep(arm.data = diabetes.sim,
varname.t = "Treatment",
varname.s = "Study")
network.char <- net.tab(data = diabetes.slr,
outcome = "diabetes",
N = "n",
type.outcome = "rate2",
time = "followup")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.