R/GroupMean_group_indices.R

Defines functions GroupMean_group_indices

## File Name: GroupMean_group_indices.R
## File Version: 0.02


GroupMean_group_indices <- function(group)
{
    groups <- sort( unique( group ) )
    index.group <- match( group, groups )
    #-- output
    res <- list(groups=groups, index.group=index.group)
    return(res)
}

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.