inst/unitTests/runitppstat.R

library(ppstat)

data(example)

testPPM <- pointProcessModel(ALPHA ~ gender,
                             data = pointExam,
                             family = Hawkes(),
                             support = 2)
summary(testPPM)

testPPM <- pointProcessModel(ALPHA ~ gender-1,
                             data = pointExam,
                             family = Hawkes(),
                             support = 2)
summary(testPPM)

testPPM <- pointProcessModel(ALPHA ~ id-1,
                             data = pointExam,
                             family = Hawkes(),
                             support = 2)

summary(testPPM)

Try the ppstat package in your browser

Any scripts or data that you put into this service are public.

ppstat documentation built on May 2, 2019, 5:26 p.m.