{
  "_id": "6a14185aacfb0bcc41d3ca5f",
  "Package": "nett",
  "Title": "Network Analysis and Community Detection",
  "Version": "1.0.0",
  "Authors@R": "c(person(given = \"Arash A.\",\nfamily = \"Amini\",\nrole = c(\"aut\",\"cre\"),\nemail = \"aaamini@ucla.edu\",\ncomment = c(ORCID = \"0000-0002-2808-8310\")\n),\nperson(given = \"Linfan\",\nfamily = \"Zhang\",\nrole = c(\"aut\")))",
  "Description": "Features tools for the network data analysis and community\ndetection. Provides multiple methods for fitting, model\nselection and goodness-of-fit testing in degree-corrected\nstochastic blocks models. Most of the computations are fast and\nscalable for sparse networks, esp. for Poisson versions of the\nmodels. Implements the following: Amini, Chen, Bickel and\nLevina (2013) <doi:10.1214/13-AOS1138> Bickel and Sarkar (2015)\n<doi:10.1111/rssb.12117> Lei (2016) <doi:10.1214/15-AOS1370>\nWang and Bickel (2017) <doi:10.1214/16-AOS1457> Zhang and Amini\n(2020) <arXiv:2012.15047> Le and Levina (2022)\n<doi:10.1214/21-EJS1971>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.2.1",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/aaamini/nett",
  "BugReports": "https://github.com/aaamini/nett/issues",
  "Repository": "https://aaamini.r-universe.dev",
  "Date/Publication": "2022-11-10 18:32:04 UTC",
  "RemoteUrl": "https://github.com/aaamini/nett",
  "RemoteRef": "HEAD",
  "RemoteSha": "35b0441c8c7f2e8614a41b3aaff544321a4e5599",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-25 09:28:29 UTC",
    "User": "root"
  },
  "Author": "Arash A. Amini [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-2808-8310>),\nLinfan Zhang [aut]",
  "Maintainer": "Arash A. Amini <aaamini@ucla.edu>",
  "MD5sum": "984d08529f1d65b77a3a6086465436f7",
  "_user": "aaamini",
  "_type": "src",
  "_file": "nett_1.0.0.tar.gz",
  "_fileid": "205206e8a828f36fcfb13bde8d78f167536e6b4ff4acf23d4456f7b7d85c0385",
  "_filesize": 2435023,
  "_sha256": "205206e8a828f36fcfb13bde8d78f167536e6b4ff4acf23d4456f7b7d85c0385",
  "_created": "2026-05-25T09:28:29.000Z",
  "_published": "2026-05-25T09:37:30.415Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77688653940,
      "time": 162,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7195536444"
    },
    {
      "job": 77688653946,
      "time": 166,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7195537572"
    },
    {
      "job": 77688653935,
      "time": 167,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7195538230"
    },
    {
      "job": 77688653937,
      "time": 161,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7195536155"
    },
    {
      "job": 77688654031,
      "time": 183,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7195534998"
    },
    {
      "job": 77688654056,
      "time": 491,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7195612888"
    },
    {
      "job": 77688653934,
      "time": 141,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7195525852"
    },
    {
      "job": 77688654105,
      "time": 270,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7195560263"
    },
    {
      "job": 77687947706,
      "time": 325,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7195491262"
    },
    {
      "job": 77688653873,
      "time": 137,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7195529880"
    },
    {
      "job": 77688653941,
      "time": 180,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7195540952"
    },
    {
      "job": 77688653947,
      "time": 121,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7195525606"
    },
    {
      "job": 77688653967,
      "time": 130,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7195528154"
    }
  ],
  "_buildurl": "https://github.com/r-universe/aaamini/actions/runs/26393301526",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/aaamini/nett",
  "_commit": {
    "id": "35b0441c8c7f2e8614a41b3aaff544321a4e5599",
    "author": "Arash A. Amini <amini.aa@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update README.md",
    "time": 1668105124
  },
  "_maintainer": {
    "name": "Arash A. Amini",
    "email": "aaamini@ucla.edu",
    "login": "aaamini",
    "description": "",
    "uuid": 17173393,
    "orcid": "0000-0002-2808-8310"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "igraph",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    },
    {
      "package": "mixtools",
      "role": "Suggests"
    },
    {
      "package": "EnvStats",
      "role": "Suggests"
    },
    {
      "package": "purrr",
      "role": "Suggests"
    },
    {
      "package": "RSpectra",
      "role": "Suggests"
    }
  ],
  "_owner": "aaamini",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 8,
  "_contributors": [
    {
      "user": "aaamini",
      "count": 70,
      "uuid": 17173393
    },
    {
      "user": "linfanz",
      "count": 35,
      "uuid": 34117915
    }
  ],
  "_userbio": {
    "uuid": 17173393,
    "type": "user",
    "name": "Arash A. Amini"
  },
  "_downloads": {
    "count": 214,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/nett"
  },
  "_devurl": "https://github.com/aaamini/nett",
  "_searchresults": 24,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/nett.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/aaamini/nett",
  "_realowner": "aaamini",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2022-11-09"
    }
  ],
  "_exports": [
    "%>%",
    "adj_spec_test",
    "bethe_hessian_select",
    "compute_block_sums",
    "compute_confusion_matrix",
    "compute_mutual_info",
    "estim_dcsbm",
    "eval_dcsbm_bic",
    "eval_dcsbm_like",
    "eval_dcsbm_loglr",
    "extract_largest_cc",
    "extract_low_deg_comp",
    "fast_cpl",
    "fast_sbm",
    "gen_rand_conn",
    "get_dcsbm_exav_deg",
    "label_mat2vec",
    "label_vec2mat",
    "nac_test",
    "plot_deg_dist",
    "plot_net",
    "plot_roc",
    "plot_smooth_profile",
    "pp_conn",
    "printf",
    "rsymperm",
    "sample_dcer",
    "sample_dclvm",
    "sample_dcpp",
    "sample_dcsbm",
    "sample_tdcsbm",
    "simulate_roc",
    "sinkhorn_knopp",
    "snac_resample",
    "snac_select",
    "snac_test",
    "spec_clust",
    "spec_repr"
  ],
  "_datasets": [
    {
      "name": "polblogs",
      "title": "Political blogs network",
      "object": "polblogs",
      "class": [
        "igraph"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "adj_spec_test",
      "title": "Adjusted spectral test",
      "topics": [
        "adj_spec_test"
      ]
    },
    {
      "page": "bethe_hessian_select",
      "title": "Beth-Hessian model selection",
      "topics": [
        "bethe_hessian_select"
      ]
    },
    {
      "page": "compute_block_sums",
      "title": "Block sum of an adjacency matrix",
      "topics": [
        "compute_block_sums"
      ]
    },
    {
      "page": "compute_confusion_matrix",
      "title": "Compute confusion matrix",
      "topics": [
        "compute_confusion_matrix"
      ]
    },
    {
      "page": "compute_mutual_info",
      "title": "Compute normalized mutual information (NMI)",
      "topics": [
        "compute_mutual_info"
      ]
    },
    {
      "page": "estim_dcsbm",
      "title": "Estimate model parameters of a DCSBM",
      "topics": [
        "estim_dcsbm"
      ]
    },
    {
      "page": "eval_dcsbm_bic",
      "title": "Compute BIC score",
      "topics": [
        "eval_dcsbm_bic"
      ]
    },
    {
      "page": "eval_dcsbm_like",
      "title": "Log likelihood of a DCSBM (fast with poi = TRUE)",
      "topics": [
        "eval_dcsbm_like"
      ]
    },
    {
      "page": "eval_dcsbm_loglr",
      "title": "Log-likelihood ratio of two DCSBMs (fast with poi = TRUE)",
      "topics": [
        "eval_dcsbm_loglr"
      ]
    },
    {
      "page": "extract_largest_cc",
      "title": "Extract largest component",
      "topics": [
        "extract_largest_cc"
      ]
    },
    {
      "page": "extract_low_deg_comp",
      "title": "Extract low-degree component",
      "topics": [
        "extract_low_deg_comp"
      ]
    },
    {
      "page": "fast_cpl",
      "title": "CPL algorithm for community detection (fast)",
      "topics": [
        "fast_cpl"
      ]
    },
    {
      "page": "fast_sbm",
      "title": "Sample from a SBM (fast)",
      "topics": [
        "fast_sbm"
      ]
    },
    {
      "page": "gen_rand_conn",
      "title": "Generate randomly permuted connectivity matrix",
      "topics": [
        "gen_rand_conn"
      ]
    },
    {
      "page": "get_dcsbm_exav_deg",
      "title": "Calculate the expected average degree of a DCSBM",
      "topics": [
        "get_dcsbm_exav_deg"
      ]
    },
    {
      "page": "label_mat2vec",
      "title": "Convert label matrix to vector",
      "topics": [
        "label_mat2vec"
      ]
    },
    {
      "page": "label_vec2mat",
      "title": "Convert label vector to matrix",
      "topics": [
        "label_vec2mat"
      ]
    },
    {
      "page": "nac_test",
      "title": "NAC test",
      "topics": [
        "nac_test"
      ]
    },
    {
      "page": "plot_deg_dist",
      "title": "Plot degree distribution",
      "topics": [
        "plot_deg_dist"
      ]
    },
    {
      "page": "plot_net",
      "title": "Plot a network",
      "topics": [
        "plot_net"
      ]
    },
    {
      "page": "plot_roc",
      "title": "Plot ROC curves",
      "topics": [
        "plot_roc"
      ]
    },
    {
      "page": "plot_smooth_profile",
      "title": "Plot community profiles",
      "topics": [
        "plot_smooth_profile"
      ]
    },
    {
      "page": "polblogs",
      "title": "Political blogs network",
      "topics": [
        "polblogs"
      ]
    },
    {
      "page": "pp_conn",
      "title": "Generate planted partition (PP) connectivity matrix",
      "topics": [
        "pp_conn"
      ]
    },
    {
      "page": "printf",
      "title": "The usual \"printf\" function",
      "topics": [
        "printf"
      ]
    },
    {
      "page": "rsymperm",
      "title": "Generate random symmetric permutation matrix",
      "topics": [
        "rsymperm"
      ]
    },
    {
      "page": "sample_dcer",
      "title": "Sample from a DCER",
      "topics": [
        "sample_dcer"
      ]
    },
    {
      "page": "sample_dclvm",
      "title": "Sample from a DCLVM",
      "topics": [
        "sample_dclvm"
      ]
    },
    {
      "page": "sample_dcpp",
      "title": "Sample from a DCPP",
      "topics": [
        "sample_dcpp"
      ]
    },
    {
      "page": "sample_dcsbm",
      "title": "Sample from a DCSBM",
      "topics": [
        "sample_dcsbm"
      ]
    },
    {
      "page": "sample_tdcsbm",
      "title": "Sample truncated DCSBM (fast)",
      "topics": [
        "sample_tdcsbm"
      ]
    },
    {
      "page": "simulate_roc",
      "title": "Simulate data to estimate ROC curves",
      "topics": [
        "simulate_roc"
      ]
    },
    {
      "page": "sinkhorn_knopp",
      "title": "Sinkhorn-Knopp matrix scaling",
      "topics": [
        "sinkhorn_knopp"
      ]
    },
    {
      "page": "snac_resample",
      "title": "Resampled SNAC+",
      "topics": [
        "snac_resample"
      ]
    },
    {
      "page": "snac_select",
      "title": "Estimate community number with SNAC+",
      "topics": [
        "snac_select"
      ]
    },
    {
      "page": "snac_test",
      "title": "SNAC test",
      "topics": [
        "snac_test"
      ]
    },
    {
      "page": "spec_clust",
      "title": "Spectral clustering (fast)",
      "topics": [
        "spec_clust"
      ]
    },
    {
      "page": "spec_repr",
      "title": "Spectral Representation",
      "topics": [
        "spec_repr"
      ]
    }
  ],
  "_readme": "https://github.com/aaamini/nett/raw/HEAD/README.md",
  "_rundeps": [
    "codetools",
    "foreach",
    "iterators",
    "lattice",
    "magrittr",
    "Matrix",
    "Rcpp",
    "RcppArmadillo"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "Community_Detection.Rmd",
      "filename": "Community_Detection.html",
      "title": "Community detection",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Spectral clustering",
        "Performance as a function of the expected degree",
        "Simple planted partition model",
        "Randomly permuted connectivity matrix"
      ],
      "created": "2020-12-29 04:51:29",
      "modified": "2022-09-24 23:38:03",
      "commits": 4
    },
    {
      "source": "explore-comm.Rmd",
      "filename": "explore-comm.html",
      "title": "Exploring Community Structure",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2021-01-01 19:54:57",
      "modified": "2022-10-01 18:51:19",
      "commits": 5
    },
    {
      "source": "hard_dcsbm_testing.Rmd",
      "filename": "hard_dcsbm_testing.html",
      "title": "A hard DCSBM testing problem",
      "author": "Arash A. Amini",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Setup and models",
        "Sinkhorn construction",
        "Generating from the models",
        "Verifying equality of expected degrees",
        "Performance of NAC tests",
        "Results",
        "Comments",
        "References"
      ],
      "created": "2021-01-21 04:06:15",
      "modified": "2022-09-30 18:06:58",
      "commits": 6
    },
    {
      "source": "Visualization.Rmd",
      "filename": "Visualization.html",
      "title": "Visualization",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Visualizing a DCSBM",
        "A latent variable model",
        "Visualizing Political Blogs network"
      ],
      "created": "2020-12-17 02:52:10",
      "modified": "2022-10-22 16:31:01",
      "commits": 5
    }
  ],
  "_score": 5.584331224367531,
  "_indexed": true,
  "_nocasepkg": "nett",
  "_universes": [
    "aaamini"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-25T09:31:03.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "35b0441c8c7f2e8614a41b3aaff544321a4e5599",
      "fileid": "65b985479c86db7387c84f2c22eb8243d8be72046c411f3966d05eca4a9c3dc0",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/aaamini/actions/runs/26393301526"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-25T09:31:01.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "35b0441c8c7f2e8614a41b3aaff544321a4e5599",
      "fileid": "ed3d05ce00b0db066d99c518d98ed76f1238a28f4e8b96565175b01637119566",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/aaamini/actions/runs/26393301526"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-25T09:31:09.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "35b0441c8c7f2e8614a41b3aaff544321a4e5599",
      "fileid": "054665df332d9986b9e0e80ca036731d522d9bb9e7b6889d534113a3d0391783",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/aaamini/actions/runs/26393301526"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-25T09:30:58.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "35b0441c8c7f2e8614a41b3aaff544321a4e5599",
      "fileid": "538bcb6a78e6068cc560d849624b32f8bc0dbacbf98e9c574447bfbc196af5da",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/aaamini/actions/runs/26393301526"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-25T09:31:05.000Z",
      "arch": "aarch64",
      "commit": "35b0441c8c7f2e8614a41b3aaff544321a4e5599",
      "fileid": "8b8da5fccf7bc4de77ff508c0d3edb8100a974c19d4be040962d0fdfb59a7c79",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/aaamini/actions/runs/26393301526"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-25T09:34:02.000Z",
      "arch": "x86_64",
      "commit": "35b0441c8c7f2e8614a41b3aaff544321a4e5599",
      "fileid": "f2164c8a8d7325d94979aec0b415765aa2e839d7311ef1be3716c855a6f41707",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/aaamini/actions/runs/26393301526"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-25T09:30:35.000Z",
      "arch": "aarch64",
      "commit": "35b0441c8c7f2e8614a41b3aaff544321a4e5599",
      "fileid": "cf58ebb55eb99224de7067910bfa388ddb13aa7c4b92c40a035b17c22bd49c56",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/aaamini/actions/runs/26393301526"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-25T09:31:33.000Z",
      "arch": "x86_64",
      "commit": "35b0441c8c7f2e8614a41b3aaff544321a4e5599",
      "fileid": "9bf67bc947bc0b66c324c4aac9fc84bd32be824f3a0ffbd006361784d7b3877e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/aaamini/actions/runs/26393301526"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-05-25T09:31:08.000Z",
      "arch": "emscripten",
      "commit": "35b0441c8c7f2e8614a41b3aaff544321a4e5599",
      "fileid": "4791e72624aae7d311c107953c1b34372c0eeaa6f28a26354d0d5024fe9c6fa7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/aaamini/actions/runs/26393301526"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-25T09:30:39.000Z",
      "arch": "x86_64",
      "commit": "35b0441c8c7f2e8614a41b3aaff544321a4e5599",
      "fileid": "619ce1a194c1c4f139cb74d8811eaaa7886e8380a33250c24de7c2b06bcce921",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/aaamini/actions/runs/26393301526"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-25T09:30:00.000Z",
      "arch": "x86_64",
      "commit": "35b0441c8c7f2e8614a41b3aaff544321a4e5599",
      "fileid": "849588c41e8a686830f2bef75e5eeaf04d26d56564bab36bc0673f9bdeab3b8b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/aaamini/actions/runs/26393301526"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-25T09:30:02.000Z",
      "arch": "x86_64",
      "commit": "35b0441c8c7f2e8614a41b3aaff544321a4e5599",
      "fileid": "dadfebab2c416a7c25d140ea16f86c0bd1966d079def01b8aedb2c1ea23ea9d6",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/aaamini/actions/runs/26393301526"
    }
  ]
}