{
  "_id": "6a4bfcff95416c4179535dca",
  "Package": "svymargins",
  "Title": "Predictive Margins for Survey Analyses",
  "Version": "0.1.0",
  "Authors@R": "person(\"Tommi\", \"Härkänen\", , \"tommi.harkanen@thl.fi\", role = c(\"aut\", \"cre\"))",
  "Author": "Tommi Härkänen [aut, cre]",
  "Maintainer": "Tommi Härkänen <tommi.harkanen@thl.fi>",
  "Description": "Predictive margins like in the 'Stata' procedure\n'margins'. This package is based on the survey::svypredmean()\nfunction. Supported regression analyses are based on\nsurvey::svyglm() and svyVGAM::svy_vglm() functions (for\nmultinomial logistic regression models).",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.0.0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-06 19:04:29 UTC",
    "User": "root"
  },
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-07-06 14:30:02 UTC",
  "RemoteUrl": "https://github.com/cran/svymargins",
  "RemoteRef": "HEAD",
  "RemoteSha": "6db19887a9f56213dfd7d13c98c0a4fe7f5e8a16",
  "_user": "cran",
  "_type": "src",
  "_file": "svymargins_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/d7e2ccc52abaee7bc723e292faa12f608406717d0099f11f7f7153abd78d2d8f",
  "_filesize": 132338,
  "_sha256": "d7e2ccc52abaee7bc723e292faa12f608406717d0099f11f7f7153abd78d2d8f",
  "_expires": "2026-10-14T19:07:42.000Z",
  "_created": "2026-07-06T19:04:29.000Z",
  "_published": "2026-07-06T19:07:43.853Z",
  "_jobs": [
    {
      "job": 85456359487,
      "time": 125,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8118939364"
    },
    {
      "job": 85456359473,
      "time": 119,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8118937170"
    },
    {
      "job": 85455595182,
      "time": 226,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8118887092"
    },
    {
      "job": 85456359468,
      "time": 150,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8118947387"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/28816021199",
  "_status": "success",
  "_upstream": "https://github.com/cran/svymargins",
  "_commit": {
    "id": "6db19887a9f56213dfd7d13c98c0a4fe7f5e8a16",
    "author": "Tommi Härkänen <tommi.harkanen@thl.fi>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.0\n",
    "time": 1783348202
  },
  "_maintainer": {
    "name": "Tommi Härkänen",
    "email": "tommi.harkanen@thl.fi"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2.0",
      "role": "Depends"
    },
    {
      "package": "plyr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "survey",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "VGAM",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "svyVGAM",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-28",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2026-07-06"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 617,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/svymargins"
  },
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/svymargins.html",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-07-06"
    }
  ],
  "_exports": [
    "asymm_ci",
    "scenarios2group",
    "svymargins",
    "svymargins.default",
    "svymargins.svy_vglm",
    "svymargins.svyglm"
  ],
  "_help": [
    {
      "page": "asymm_ci",
      "title": "Helper function to convert symmetric probability scale confidence intervals into asymmetric",
      "topics": [
        "asymm_ci"
      ]
    },
    {
      "page": "scenarios2group",
      "title": "Specify constraints for selected covariates for predicted margins",
      "topics": [
        "scenarios2group"
      ]
    },
    {
      "page": "svymargins",
      "title": "Generic function for 'svymargins'",
      "topics": [
        "svymargins"
      ]
    },
    {
      "page": "svymargins.default",
      "title": "The default method for 'svymargins'",
      "topics": [
        "svymargins.default"
      ]
    },
    {
      "page": "svymargins.svy_vglm",
      "title": "Predictive margins for multinomial logistic regression model",
      "topics": [
        "svymargins.svy_vglm"
      ]
    },
    {
      "page": "svymargins.svyglm",
      "title": "Mimics the margins procedure of Stata for GLM estimated with survey::svyglm",
      "topics": [
        "svymargins.svyglm"
      ]
    }
  ],
  "_rundeps": [
    "cli",
    "DBI",
    "dplyr",
    "generics",
    "glue",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "minqa",
    "mitools",
    "numDeriv",
    "pillar",
    "pkgconfig",
    "plyr",
    "R6",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "stringi",
    "stringr",
    "survey",
    "survival",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "VGAM",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "Introduction to predictive margins with svymargins package",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Predictive margins (PM)",
        "Other software",
        "Load R packages",
        "Linear model",
        "Generate simulated data",
        "Analysis with Stata",
        "Regression analysis",
        "Predictive margins",
        "Define the desired margins",
        "Calculate the predictive margins",
        "Confidence intervals",
        "Contrasts using the survey package",
        "Multinomial logistic regression model with svyVGAM package",
        "Symmetric confidence intervals",
        "Asymmetric confidence intervals",
        "More formal presentation of the variance estimation"
      ],
      "created": "2026-07-06 14:30:02",
      "modified": "2026-07-06 14:30:02",
      "commits": 1
    }
  ],
  "_score": 2,
  "_indexed": true,
  "_nocasepkg": "svymargins",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-06T19:06:38.000Z",
      "distro": "resolute",
      "commit": "6db19887a9f56213dfd7d13c98c0a4fe7f5e8a16",
      "fileid": "https://r2.ropensci.org/99cd2a02f7afc881b1cd273f0612273badb9cf1a15bdbace69f4dcfc3fe8708c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28816021199"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-06T19:06:32.000Z",
      "distro": "resolute",
      "commit": "6db19887a9f56213dfd7d13c98c0a4fe7f5e8a16",
      "fileid": "https://r2.ropensci.org/fd1d6c1bb9c3b0c22ad6cce6b3f23dc83545a1a65a9b9fcf1086382f21aa160b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28816021199"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-07-06T19:07:12.000Z",
      "commit": "6db19887a9f56213dfd7d13c98c0a4fe7f5e8a16",
      "fileid": "https://r2.ropensci.org/6c96950f2d658386d70a78192f5e62cd3bb41c2c5311658dc90869b75691cd52",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28816021199"
    }
  ]
}