filterCopurchaseMatrix: Get Top n Values of a Matrix

Description Usage Arguments Value

View source: R/filterCopurchaseMatrix.R

Description

This function imports a sparse adjacency matrix. It then applies the Top-n Heaviest Edges Filtering method needed to remove spurious connections between web domains

Usage

1
filterCopurchaseMatrix(copurchase.matrix, n = 3, filterlevel = 0.05)

Arguments

copurchase.matrix

A sparse Matrix connecting web domains to other web domains by common users

n

The top n heaviest weighted edges to average

filterlevel

The percentage level chosen to reduce the top n heaviest edges

Value

a filtered sparse Copurchase matrix


gallagherj2008/SWAT documentation built on May 28, 2019, 12:59 p.m.