sbmean: Function to calculate the summary by mean for breeding data

Description Usage Arguments Details Value Author(s) References

View source: R/sbmean.R

Description

Function to calculate the summary by mean for breeding data

Usage

1
sbmean(data = NULL, idx, groupfactors = NULL, na.rm = FALSE)

Arguments

data

A data frame

idx

The name or position of the measured variable that will be summarized.

groupfactors

A vector containing names of columns that contain grouping variables

na.rm

A boolean that indicates whether to ignore NA's

Details

This function returns the summary by mean. Furthermore, this function use the doBy package.

Value

A data frame with the count, mean and standard desviation

Author(s)

Omar Benites

References

Some code for this function were inspired by Cookbook for R.


omarbenites/sbformula documentation built on May 24, 2019, 12:55 p.m.