Learn R Programming

WMAP (version 1.1.0)

mean_diff: Extract causal estimates (mean differences)

Description

A generic function to extract mean differences for objects of class 'causal_estimates'.

Usage

mean_diff(object)

Value

The mean differences between two groups

Arguments

object

An objects of class 'causal_estimates'.

Examples

Run this code
data(demo)
output2 <- causal.estimate(S, Z, X, Y, B = 5, method = "IC", naturalGroupProp)
mean_diff(output2)

Run the code above in your browser using DataLab