format_data: Filter and format data for use with marked point process...

Description Usage Arguments Value

View source: R/markedPP_funcs.R

Description

Filter and format data for use with marked point process functions.

Usage

1
format_data(data, id.sum, dev = FALSE, low.bds)

Arguments

data

Data.frame of event data, <id, dt, t, type, category, app_name, lbl_moshe, is_fb, t.center>

id.sum

Data.frame of id and counts by event type, <id, ev.dur, dur, tot, phone, comp, comp.fb, comp.nonfb, start, end>

dev

Logical indicating if marks correspond to device type (1=phone, 2=comp); default == FALSE

low.bds

Numeric array c(n1, n2) of criteria for minimum number events of mark types 1 and 2, resptively.

Value

Data.frame of <id, m, t>


UCIDataLab/assocr documentation built on Oct. 15, 2021, 8:54 p.m.