Learn R Programming

naryn (version 2.6.30)

emr_ids_coverage: Returns ids coverage per track

Description

Returns ids coverage per track.

Usage

emr_ids_coverage(ids, tracks, stime = NULL, etime = NULL, filter = NULL)

Value

A vector containing the ids count for each track.

Arguments

ids

track name or Ids Table

tracks

a vector of track names

stime

start time scope

etime

end time scope

filter

iterator filter

Details

This function accepts a set of ids and a vector of categorical tracks. For each track it calculates how many ids appear in the track. Each id is counted only once.

Ids can originate from a track or be provided within Ids Table.

Note: The internal iterator that runs over each track is defined with 'keepref=TRUE'.

See Also

emr_ids_vals_coverage, emr_track.ids, emr_dist

Examples

Run this code

emr_db.init_examples()
emr_ids_coverage(data.frame(id = c(15, 24, 27)), "categorical_track")

Run the code above in your browser using DataLab