SetList.assign {componentSkeleton}R Documentation

Create or update a set

Description

If the set ID exists, the set contents is replaced. Otherwise, a new set is added. Duplicate elements are removed from the set contents. NA values cannot be added as a part of a set. The updated SetList is returned.

Usage

SetList.assign(sets, id, contents) 

Arguments

sets

SetList instance as a data frame with (at least) columns ID and Members.

set.id

Set identifier (name), matching an element in the ID column.

contents

Set contents as a character vector.

Author(s)

Kristian Ovaska (kristian.ovaska@helsinki.fi)


[Package componentSkeleton version 2.0.1 Index]