vcomp: Compares the elements of two lists against each other and...

View source: R/vcomp.R

vcompR Documentation

Compares the elements of two lists against each other and outputs a count table

Description

Compares the elements of two lists against each other and outputs a count table

Usage

vcomp(query, target, rate)

Arguments

query

list

target

list

rate

logical

Examples

## Not run: 
set.seed(1)
l_target <- setNames(lapply(1:10, function(i) sample(letters, 5)),
                     nm = paste0("t",sprintf("%02d", 1:10)))
l_search <- setNames(lapply(1:3, function(i) sample(letters, 3)),
                     nm = paste0("s",sprintf("%02d", 1:3)))
res <- vcomp(query = l_search, target = l_target, rate = T)


## End(Not run)

shkonishi/rsko documentation built on Feb. 21, 2023, 5:12 a.m.