Learn R Programming

Starr (version 1.28.0)

intersection: Get the intersection of two named vectors

Description

This function intersects the names of two named vectors and stores the intersection in a matrix.

Usage

intersection(means, expression)

Arguments

means
a list of named integer vectors.
expression
a named integer vector

Value

a matrix containing the values of features, that are contained in both vectors.