Description Usage Arguments Details Value
View source: R/buildAdjacencyMatrix.R
This function takes as input a column that has user information and location sourcing as well as the web sites visited. It then returns a sparse binary adjacency matrix where users are rows, columns are web domains, and entries are indicators of if the user visited that web domain
1 |
data |
A dataframe consisting of at least 4 columns: Authority_URI, HTTPUSERAGENT, LATITUDE_SRC, LONGITUDE_SRC |
Build the Adjacency matrix
adjacencymatrix An “nxn” sparse matrix from the Matrix Package of all users connected to web domains
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.