mean_per_factor: Calculate the mean value per factor in a data.frame

Description Usage Arguments Format Value Warning Examples

Description

Calculate the mean value per factor in a data.frame

Usage

1

Arguments

data

A data.frame.

fact

A string.

param

A number.

Format

1
 num 2

Value

The mean of param split by the factor, fact, in data.

Warning

This function was written to learn about package namespaces.

Examples

1
2
mean_per_factor(data.df, "species")
add(10, 1)

martinjhnhadley/rstattoys documentation built on May 21, 2019, 12:38 p.m.