R/GroupMean_extend_data.R

Defines functions GroupMean_extend_data

## File Name: GroupMean_extend_data.R
## File Version: 0.04

GroupMean_extend_data <- function(data, index.group, extend=FALSE)
{
    if (extend){
        data <- data[ index.group, ]
        rownames(data) <- NULL
    }
    return(data)
}

Try the miceadds package in your browser

Any scripts or data that you put into this service are public.

miceadds documentation built on May 29, 2024, 11:05 a.m.