Learn R Programming

MIDASwrappeR (version 0.5.1)

getMIDASScore: Get the MIDAS score

Description

Get the MIDAS score

Usage

getMIDASScore(
  input,
  rows = 2L,
  buckets = 769L,
  alpha = 0.6,
  norelations = FALSE,
  undirected = FALSE
)

Arguments

input

A data.frame with columns src (source, int), dst (destination, int) & times (timestamp of the edge, int) representing transaction edges

rows

Number of rows/hash functions. Default is 2

buckets

Number of buckets. Default is 769

alpha

Temporal Decay Factor. Only used when 'MIDAS-R' is used. Default is 0.6

norelations

Run 'MIDAS' instead of 'MIDAS-R'. Default is False

undirected

If graph is undirected. Default is False

Value

NumericVector of MIDAS-Scores