{
  "_id": "6a10460cacfb0bcc41c9e9ca",
  "Encoding": "UTF-8",
  "Package": "HLSM",
  "Type": "Package",
  "Title": "Hierarchical Latent Space Network Model",
  "Version": "0.9.2",
  "Date": "2025-06-04",
  "Authors@R": "c(person(given = \"Samrachana\", family = \"Adhikari\", role = \"aut\"), person(given=\"Tracy\", family = \"Sweet\", role = c(\"aut\", \"cre\"), email = \"tsweet@umd.edu\"))",
  "Description": "Fits latent space models for single networks and\nhierarchical latent space models for ensembles of networks as\ndescribed in Sweet, Thomas & Junker (2013).",
  "ByteCompile": "TRUE",
  "License": "GPL (>= 2)",
  "LazyData": "yes",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-10 09:40:00 UTC",
    "User": "root"
  },
  "RoxygenNote": "7.3.2",
  "Author": "Samrachana Adhikari [aut], Tracy Sweet [aut, cre]",
  "Maintainer": "Tracy Sweet <tsweet@umd.edu>",
  "Config/pak/sysreqs": "libglpk-dev libxml2-dev",
  "Repository": "https://tmsweet.r-universe.dev",
  "Date/Publication": "2025-06-04 15:30:09 UTC",
  "RemoteUrl": "https://github.com/cran/HLSM",
  "RemoteRef": "HEAD",
  "RemoteSha": "c459c6e6f45675d43715d71bb4f07ab3cc4d9b99",
  "MD5sum": "b6eb36c0fb14918a2d5c1e532935e25f",
  "_user": "tmsweet",
  "_type": "src",
  "_file": "HLSM_0.9.2.tar.gz",
  "_fileid": "8d6cf6ff63f1166506be08b1622f61ea111bcb18951015cb2678b1cb0b1392a3",
  "_filesize": 195246,
  "_sha256": "8d6cf6ff63f1166506be08b1622f61ea111bcb18951015cb2678b1cb0b1392a3",
  "_created": "2026-05-10T09:40:00.000Z",
  "_published": "2026-05-22T12:03:24.113Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77375595280,
      "time": 113,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6902738348"
    },
    {
      "job": 77375595808,
      "time": 117,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6902738922"
    },
    {
      "job": 77375595178,
      "time": 137,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902740655"
    },
    {
      "job": 77375595146,
      "time": 114,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902738516"
    },
    {
      "job": 77375595580,
      "time": 133,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6902752169"
    },
    {
      "job": 77375595163,
      "time": 289,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6902762058"
    },
    {
      "job": 77375594896,
      "time": 128,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902760190"
    },
    {
      "job": 77375595424,
      "time": 221,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902758007"
    },
    {
      "job": 77375594701,
      "time": 163,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902726877"
    },
    {
      "job": 77375594670,
      "time": 97,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7160008628"
    },
    {
      "job": 77375596314,
      "time": 77,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6902734792"
    },
    {
      "job": 77375595695,
      "time": 84,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6911044039"
    },
    {
      "job": 77375594992,
      "time": 91,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902736250"
    }
  ],
  "_buildurl": "https://github.com/r-universe/tmsweet/actions/runs/25625380686",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/HLSM",
  "_commit": {
    "id": "c459c6e6f45675d43715d71bb4f07ab3cc4d9b99",
    "author": "Tracy Sweet <tsweet@umd.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.9.2\n",
    "time": 1749051009
  },
  "_maintainer": {
    "name": "Tracy Sweet",
    "email": "tsweet@umd.edu",
    "login": "tmsweet",
    "uuid": 18146494
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.4.0",
      "role": "Depends"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "coda",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "abind",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-20",
      "n": 1
    },
    {
      "week": "2025-23",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.9.1",
      "date": "2025-05-15"
    },
    {
      "name": "0.9.2",
      "date": "2025-06-04"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "samadhikari",
      "count": 7,
      "uuid": 4348305
    },
    {
      "user": "tmsweet",
      "count": 4,
      "uuid": 18146494
    },
    {
      "user": "adityarbhat",
      "count": 1,
      "uuid": 17949371
    }
  ],
  "_userbio": {
    "uuid": 18146494,
    "type": "user",
    "name": "Tracy Sweet"
  },
  "_downloads": {
    "count": 182,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/HLSM"
  },
  "_mentions": 1,
  "_searchresults": 28,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/HLSM.html",
    "manual.pdf"
  ],
  "_realowner": "tmsweet",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1",
      "date": "2014-06-19"
    },
    {
      "version": "0.2",
      "date": "2014-07-20"
    },
    {
      "version": "0.4",
      "date": "2014-08-23"
    },
    {
      "version": "0.5",
      "date": "2015-11-15"
    },
    {
      "version": "0.6",
      "date": "2016-10-19"
    },
    {
      "version": "0.7",
      "date": "2016-11-25"
    },
    {
      "version": "0.8",
      "date": "2018-05-26"
    },
    {
      "version": "0.8.1",
      "date": "2019-04-30"
    },
    {
      "version": "0.8.2",
      "date": "2020-03-01"
    },
    {
      "version": "0.9.0",
      "date": "2021-12-06"
    },
    {
      "version": "0.9.1",
      "date": "2025-05-15"
    },
    {
      "version": "0.9.2",
      "date": "2025-06-04"
    }
  ],
  "_exports": [
    "getBeta",
    "getLikelihood",
    "getLS",
    "HLSMcovplots",
    "HLSMdiag",
    "HLSMfixedEF",
    "HLSMrandomEF",
    "LSM"
  ],
  "_datasets": [
    {
      "name": "ps.advice.df",
      "title": "HLSM: Included Data Sets",
      "object": "schoolsAdviceData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Sender",
        "Receiver",
        "Outcome",
        "id"
      ],
      "rows": 15986,
      "table": true,
      "tojson": true
    },
    {
      "name": "ps.advice.mat",
      "title": "HLSM: Included Data Sets",
      "object": "schoolsAdviceData",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "ps.all.vars.mat",
      "title": "HLSM: Included Data Sets",
      "object": "schoolsAdviceData",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "ps.edge.df",
      "title": "HLSM: Included Data Sets",
      "object": "schoolsAdviceData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Sender",
        "Receiver",
        "same.yrs.in.schl",
        "same.innov.attitude",
        "teach.same.grade",
        "id"
      ],
      "rows": 15986,
      "table": true,
      "tojson": true
    },
    {
      "name": "ps.edge.vars.mat",
      "title": "HLSM: Included Data Sets",
      "object": "schoolsAdviceData",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "ps.node.df",
      "title": "HLSM: Included Data Sets",
      "object": "schoolsAdviceData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Node",
        "YrsTch",
        "Trust",
        "id"
      ],
      "rows": 433,
      "table": true,
      "tojson": true
    },
    {
      "name": "ps.school.vars.mat",
      "title": "HLSM: Included Data Sets",
      "object": "schoolsAdviceData",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "ps.teacher.vars.mat",
      "title": "HLSM: Included Data Sets",
      "object": "schoolsAdviceData",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "School9EdgeCov",
      "title": "HLSM: Included Data Sets",
      "object": "schoolsAdviceData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Sender",
        "Receiver",
        "same.yrs.in.schl",
        "same.innov.attitude",
        "teach.same.grade",
        "id"
      ],
      "rows": 1056,
      "table": true,
      "tojson": true
    },
    {
      "name": "School9Network",
      "title": "HLSM: Included Data Sets",
      "object": "schoolsAdviceData",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "ADN",
        "AKZ",
        "BFP",
        "CHA",
        "CTD",
        "DRT",
        "DWE",
        "ELD",
        "FEM",
        "FKZ",
        "FXT",
        "FZR",
        "HJE",
        "JDN",
        "KEQ",
        "KER",
        "LAH",
        "LVU",
        "MUH",
        "OBB",
        "OOZ",
        "PFA",
        "RLB",
        "RSL",
        "TPZ",
        "UKB",
        "UYY",
        "VDA",
        "WWH",
        "YKX",
        "YNX",
        "YOW",
        "YXY"
      ],
      "rows": 33,
      "table": true,
      "tojson": true
    },
    {
      "name": "School9NodeCov",
      "title": "HLSM: Included Data Sets",
      "object": "schoolsAdviceData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Node",
        "YrsTch",
        "Trust",
        "id"
      ],
      "rows": 33,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "HLSM_plot",
      "title": "Function plot posterior summaries (boxplots) for regression coefficients",
      "topics": [
        "HLSMcovplots"
      ]
    },
    {
      "page": "HLSMdiag",
      "title": "Function to conduct diagnostics the MCMC chain from a random effect HLSM (and HLSMfixedEF for fixed effects model)",
      "topics": [
        "HLSMdiag"
      ]
    },
    {
      "page": "HLSM_run",
      "title": "Function to run the MCMC sampler in random effects latent space model, HLSMfixedEF for fixed effects model, or LSM for single network latent space model)",
      "topics": [
        "getBeta",
        "getIntercept",
        "getLikelihood",
        "getLS",
        "HLSMfixedEF",
        "HLSMrandomEF",
        "LSM",
        "print.HLSM",
        "print.summary.HLSM",
        "summary.HLSM"
      ]
    },
    {
      "page": "HLSM_data",
      "title": "HLSM: Included Data Sets",
      "topics": [
        "ps.advice.df",
        "ps.advice.mat",
        "ps.all.vars.mat",
        "ps.edge.df",
        "ps.edge.vars.mat",
        "ps.node.df",
        "ps.school.vars.mat",
        "ps.teacher.vars.mat",
        "School9EdgeCov",
        "School9Network",
        "School9NodeCov"
      ]
    }
  ],
  "_rundeps": [
    "abind",
    "cli",
    "coda",
    "cpp11",
    "glue",
    "igraph",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "pkgconfig",
    "rlang",
    "vctrs"
  ],
  "_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"
    }
  ],
  "_score": 2.0492180226701815,
  "_indexed": true,
  "_nocasepkg": "hlsm",
  "_universes": [
    "tmsweet"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9.2",
      "date": "2026-05-10T09:41:56.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "c459c6e6f45675d43715d71bb4f07ab3cc4d9b99",
      "fileid": "88c5d3dcc1171245a87f067261de10daa22c8fa33bf2aee5b69bd9acad446925",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tmsweet/actions/runs/25625380686"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9.2",
      "date": "2026-05-10T09:41:56.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "c459c6e6f45675d43715d71bb4f07ab3cc4d9b99",
      "fileid": "3ff7740596e658079761b52d30ac1a96a016bbdef8b43c597cdcfd48705c0f3c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tmsweet/actions/runs/25625380686"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.9.2",
      "date": "2026-05-10T09:42:20.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "c459c6e6f45675d43715d71bb4f07ab3cc4d9b99",
      "fileid": "eac8827424ff9fa08a4da8b8ece3303d0213964ef58a3f2cd0d858ace35ce9ea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tmsweet/actions/runs/25625380686"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.9.2",
      "date": "2026-05-10T09:41:55.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "c459c6e6f45675d43715d71bb4f07ab3cc4d9b99",
      "fileid": "5742a03dc48b9ef04737b0b43f617c71242159cd486bd4dd69ab53ab9174c492",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tmsweet/actions/runs/25625380686"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.9.2",
      "date": "2026-05-10T09:44:21.000Z",
      "arch": "aarch64",
      "commit": "c459c6e6f45675d43715d71bb4f07ab3cc4d9b99",
      "fileid": "226d632197abfce86e54c28231664ed5bed324ebf234de72905ea1bb48369a83",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tmsweet/actions/runs/25625380686"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.9.2",
      "date": "2026-05-10T09:45:44.000Z",
      "arch": "x86_64",
      "commit": "c459c6e6f45675d43715d71bb4f07ab3cc4d9b99",
      "fileid": "8082daf85e060a747cf7d3ca0858c1ff7a152a2b2b22b129d2b34555d4e00277",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tmsweet/actions/runs/25625380686"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.9.2",
      "date": "2026-05-10T09:45:45.000Z",
      "arch": "aarch64",
      "commit": "c459c6e6f45675d43715d71bb4f07ab3cc4d9b99",
      "fileid": "9ec23154991f6613dbd192e4906c4bac5ad4a1a393dfe6c5279850ded7a1427e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tmsweet/actions/runs/25625380686"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.9.2",
      "date": "2026-05-10T09:45:09.000Z",
      "arch": "x86_64",
      "commit": "c459c6e6f45675d43715d71bb4f07ab3cc4d9b99",
      "fileid": "cfcde072699cdb0900d2f731828b6e2b44252b0357af94fe4c68b9bc3151daa8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tmsweet/actions/runs/25625380686"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.9.2",
      "date": "2026-05-10T09:41:04.000Z",
      "arch": "x86_64",
      "commit": "c459c6e6f45675d43715d71bb4f07ab3cc4d9b99",
      "fileid": "bd82ed0a4a249fa7dccbdb0c9a39607d5dc0b9fa4fe6ba716c8ef7f1097661ff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tmsweet/actions/runs/25625380686"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.9.2",
      "date": "2026-05-11T05:36:22.000Z",
      "arch": "x86_64",
      "commit": "c459c6e6f45675d43715d71bb4f07ab3cc4d9b99",
      "fileid": "15929a6b39ec18120d8ab7a1afff3548b4a59cc53023701f66c65eb19f8c1114",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tmsweet/actions/runs/25625380686"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.9.2",
      "date": "2026-05-10T09:41:08.000Z",
      "arch": "x86_64",
      "commit": "c459c6e6f45675d43715d71bb4f07ab3cc4d9b99",
      "fileid": "fc0a92ea1bd578332dd46595d4235fab73d94416b839408214e6cd1e7cae8e54",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tmsweet/actions/runs/25625380686"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.9.2",
      "date": "2026-05-22T12:02:59.000Z",
      "arch": "emscripten",
      "commit": "c459c6e6f45675d43715d71bb4f07ab3cc4d9b99",
      "fileid": "7e2c1314f28b2ca9ef5c959fc1784dcc71c02b6d34527daf236bf956d5fba9be",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tmsweet/actions/runs/25625380686"
    }
  ]
}