summary_mean {epitab}R Documentation

Builds a function to calculate the mean of a continuous variable for each level of an outcome.

Description

Builds a function to calculate the mean of a continuous variable for each level of an outcome.

Usage

summary_mean(var)

Arguments

var

A continuous variable name as a string.

Value

A function that calculates the mean value of var for each outcome level.


[Package epitab version 0.2.2 Index]