get_non_singleton_groups: Get the non-singleton groups for the input group vector

Description Usage Arguments Value

View source: R/multivariate_models.R

Description

groupVect is a vector assigning each of its elements to a unique group. Return the non-singleton groups in groupVect – that is, the groups with more than one member

For example: groupVect <- c(1,2,NA,4,1,3,3) print(get_non_singleton_groups(groupVect)) [1] 1 3

Usage

1

Arguments

groupVect

The vector of group assignments

Value

A vector of non-singlteon groups


MichaelHoltonPrice/yada documentation built on Sept. 19, 2021, 11:27 p.m.