{
  "_id": "6a27da2f24555f66ed5472ad",
  "Package": "lnmixsurv",
  "Type": "Package",
  "Title": "Bayesian Mixture Log-Normal Survival Model",
  "Version": "3.1.7",
  "Authors@R": "c(\nperson(\"Viviana das Gra\\u00e7as Ribeiro Lobo\", email = \"viviana@dme.ufrj.br\", role = \"cre\"),\nperson(\"Tha\\u00eds Cristina Oliveira da Fonseca\", role = \"aut\"),\nperson(\"Mariane Branco Alves\", role = \"aut\"),\nperson(\"Vitor Capdeville\", role = \"aut\"),\nperson(\"Victor Hugo Soares Ney\", email = \"victor.s.ney@gmail.com\", role = \"aut\"))",
  "Description": "Bayesian Survival models via the mixture of Log-Normal\ndistribution extends the well-known survival models and\naccommodates different behaviour over time and considers higher\ncensored survival times. The proposal combines mixture\ndistributions Fruhwirth-Schnatter(2006)\n<doi:10.1007/s11336-009-9121-4>, and data augmentation\ntechniques Tanner and Wong (1987)\n<doi:10.1080/01621459.1987.10478458>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "SystemRequirements": "GNU, GNU make, GSL",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "LazyData": "true",
  "URL": "https://vivianalobo.github.io/lnmixsurv/",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "make libgsl0-dev libicu-dev",
  "Repository": "https://vivianalobo.r-universe.dev",
  "Date/Publication": "2026-06-08 19:50:44 UTC",
  "RemoteUrl": "https://github.com/vivianalobo/lnmixsurv",
  "RemoteRef": "HEAD",
  "RemoteSha": "33e76fd6945d6ec9011d43fd39a6d6f7c456262d",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-09 09:04:44 UTC",
    "User": "root"
  },
  "Author": "Viviana das Graças Ribeiro Lobo [cre],\nThaís Cristina Oliveira da Fonseca [aut],\nMariane Branco Alves [aut],\nVitor Capdeville [aut],\nVictor Hugo Soares Ney [aut]",
  "Maintainer": "Viviana das Graças Ribeiro Lobo <viviana@dme.ufrj.br>",
  "MD5sum": "03b4c0ae74054084af54dfd248c3c6b9",
  "_user": "vivianalobo",
  "_type": "src",
  "_file": "lnmixsurv_3.1.7.tar.gz",
  "_fileid": "8f7a3771bdbcd86f08ea912727e10017fe1631055032094dd1a957546c106d44",
  "_filesize": 1339219,
  "_sha256": "8f7a3771bdbcd86f08ea912727e10017fe1631055032094dd1a957546c106d44",
  "_created": "2026-06-09T09:04:44.000Z",
  "_published": "2026-06-09T09:17:35.610Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80286619806,
      "time": 322,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7503333699"
    },
    {
      "job": 80286619826,
      "time": 348,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7503343724"
    },
    {
      "job": 80286619804,
      "time": 328,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7503336300"
    },
    {
      "job": 80286619868,
      "time": 379,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7503355567"
    },
    {
      "job": 80286619771,
      "time": 611,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7503433495"
    },
    {
      "job": 80286619809,
      "time": 701,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7503465698"
    },
    {
      "job": 80286619762,
      "time": 314,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7503320403"
    },
    {
      "job": 80286619840,
      "time": 639,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7503436116"
    },
    {
      "job": 80285557088,
      "time": 347,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7503208613"
    },
    {
      "job": 80286619742,
      "time": 190,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 80286619810,
      "time": 395,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7503362542"
    },
    {
      "job": 80286619801,
      "time": 354,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7503345294"
    },
    {
      "job": 80286619737,
      "time": 332,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7503336878"
    }
  ],
  "_buildurl": "https://github.com/r-universe/vivianalobo/actions/runs/27195371531",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/vivianalobo/lnmixsurv",
  "_commit": {
    "id": "33e76fd6945d6ec9011d43fd39a6d6f7c456262d",
    "author": "Viviana Lobo <67801363+vivianalobo@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #56 from vivianalobo/devel-1\n\nUpdate style.yaml",
    "time": 1780948244
  },
  "_maintainer": {
    "name": "Viviana das Graças Ribeiro Lobo",
    "email": "viviana@dme.ufrj.br",
    "login": "vivianalobo",
    "description": "",
    "uuid": 67801363
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "parsnip",
      "version": ">= 1.1.0",
      "role": "Depends"
    },
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "survival",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "RcppGSL",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "role": "LinkingTo"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "posterior",
      "role": "Imports"
    },
    {
      "package": "hardhat",
      "version": ">= 1.3.0",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "generics",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "broom",
      "role": "Imports"
    },
    {
      "package": "ggsurvfit",
      "role": "Suggests"
    },
    {
      "package": "plotly",
      "role": "Suggests"
    },
    {
      "package": "bayesplot",
      "role": "Suggests"
    },
    {
      "package": "censored",
      "role": "Suggests"
    },
    {
      "package": "readr",
      "role": "Suggests"
    },
    {
      "package": "purrr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "tidymodels",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    },
    {
      "package": "pec",
      "role": "Suggests"
    }
  ],
  "_owner": "vivianalobo",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-24",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "victorney",
      "count": 151,
      "uuid": 48871377
    },
    {
      "user": "vitorcapdeville",
      "count": 60,
      "uuid": 49065377
    },
    {
      "user": "vivianalobo",
      "count": 22,
      "uuid": 67801363
    }
  ],
  "_userbio": {
    "uuid": 67801363,
    "type": "user",
    "name": "Viviana Lobo"
  },
  "_downloads": {
    "count": 13,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/lnmixsurv"
  },
  "_devurl": "https://github.com/vivianalobo/lnmixsurv",
  "_pkgdown": "https://vivianalobo.github.io/lnmixsurv/",
  "_searchresults": 18,
  "_topics": [
    "gsl",
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/lnmixsurv.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/vivianalobo/lnmixsurv",
  "_realowner": "vivianalobo",
  "_cranurl": true,
  "_releases": [
    {
      "version": "3.1.6",
      "date": "2024-09-03"
    },
    {
      "version": "3.1.7",
      "date": "2026-06-08"
    }
  ],
  "_exports": [
    "augment",
    "fit_metrics",
    "join_empirical_hazard",
    "nobs",
    "plot_fit_on_data",
    "simulate_data",
    "survival_ln_mixture",
    "survival_ln_mixture_em",
    "tidy"
  ],
  "_datasets": [
    {
      "name": "sim_data",
      "title": "Simulated lognormal mixture data.",
      "object": "sim_data",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "augment.survival_ln_mixture",
      "title": "Augment data with information from a survival_ln_mixture object",
      "topics": [
        "augment.survival_ln_mixture"
      ]
    },
    {
      "page": "augment.survival_ln_mixture_em",
      "title": "Augment data with information from a survival_ln_mixture_em object",
      "topics": [
        "augment.survival_ln_mixture_em"
      ]
    },
    {
      "page": "fit_metrics",
      "title": "Function used to calculate some distance metrics between the predicted survival and the observed survival. 'fit_metrics()' is used to calculate distance metrics between empirical and fitted survival for a predictions object, preferably the object $preds returned from 'plot_fit_on_data()'.",
      "topics": [
        "fit_metrics"
      ]
    },
    {
      "page": "join_empirical_hazard",
      "title": "Function used to join the empirical hazard to the data",
      "topics": [
        "join_empirical_hazard"
      ]
    },
    {
      "page": "nobs.survival_ln_mixture",
      "title": "Extract the number of observations from 'survival_ln_mixture' fit.",
      "topics": [
        "nobs.survival_ln_mixture"
      ]
    },
    {
      "page": "plot_fit_on_data",
      "title": "Function used to quick visualize the fitted values (survival estimate) on the data used to fit the model (via EM algorithm or Gibbs).",
      "topics": [
        "plot_fit_on_data"
      ]
    },
    {
      "page": "plot.survival_ln_mixture_em",
      "title": "Visualizes the path of the EM algorithm",
      "topics": [
        "plot.survival_ln_mixture_em"
      ]
    },
    {
      "page": "predict.survival_ln_mixture",
      "title": "Predict from a Lognormal Mixture Model",
      "topics": [
        "predict.survival_ln_mixture"
      ]
    },
    {
      "page": "predict.survival_ln_mixture_em",
      "title": "Predict from a lognormal_em Mixture Model fitted using EM algorithm.",
      "topics": [
        "predict.survival_ln_mixture_em"
      ]
    },
    {
      "page": "sim_data",
      "title": "Simulated lognormal mixture data.",
      "topics": [
        "sim_data"
      ]
    },
    {
      "page": "simulate_data",
      "title": "Function to simulate survival data from a mixture of normal distribution.",
      "topics": [
        "simulate_data"
      ]
    },
    {
      "page": "survival_ln_mixture",
      "title": "Lognormal mixture model - Gibbs sampler",
      "topics": [
        "survival_ln_mixture",
        "survival_ln_mixture.default",
        "survival_ln_mixture.formula"
      ]
    },
    {
      "page": "survival_ln_mixture_em",
      "title": "Lognormal mixture model - Expectation-Maximization Algorithm",
      "topics": [
        "survival_ln_mixture_em",
        "survival_ln_mixture_em.default",
        "survival_ln_mixture_em.formula"
      ]
    },
    {
      "page": "tidy.survival_ln_mixture",
      "title": "Tidying method for a Lognormal Mixture model.",
      "topics": [
        "tidy.survival_ln_mixture"
      ]
    },
    {
      "page": "tidy.survival_ln_mixture_em",
      "title": "Tidying method for a Lognormal Mixture model (fitted via Expectation-Maximization algorithm).",
      "topics": [
        "tidy.survival_ln_mixture_em"
      ]
    }
  ],
  "_readme": "https://github.com/vivianalobo/lnmixsurv/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "broom",
    "checkmate",
    "cli",
    "codetools",
    "cpp11",
    "distributional",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "gtable",
    "hardhat",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "matrixStats",
    "numDeriv",
    "parsnip",
    "pillar",
    "pkgconfig",
    "posterior",
    "prettyunits",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppGSL",
    "RcppParallel",
    "rlang",
    "S7",
    "scales",
    "sparsevctrs",
    "stringi",
    "stringr",
    "survival",
    "tensorA",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libgsl",
      "package": "libgsl27",
      "headers": "libgsl-dev",
      "source": "gsl",
      "version": "2.7.1+dfsg-6ubuntu2",
      "name": "gsl",
      "homepage": "https://www.gnu.org/software/gsl",
      "description": "GNU Scientific Library (GSL) -- library package"
    },
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "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": "compare.Rmd",
      "filename": "compare.html",
      "title": "Comparison with other models",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2023-01-27 15:00:59",
      "modified": "2026-06-08 19:25:13",
      "commits": 12
    },
    {
      "source": "expectation_maximization.Rmd",
      "filename": "expectation_maximization.html",
      "title": "Expectation Maximization",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2024-05-09 18:15:03",
      "modified": "2026-06-08 19:25:13",
      "commits": 5
    },
    {
      "source": "lnmixsurv.Rmd",
      "filename": "lnmixsurv.html",
      "title": "Get started",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2023-04-28 23:35:00",
      "modified": "2026-06-08 19:25:13",
      "commits": 7
    },
    {
      "source": "intercept_only.Rmd",
      "filename": "intercept_only.html",
      "title": "Intercept only fits",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2023-01-27 15:00:59",
      "modified": "2026-06-08 19:25:13",
      "commits": 10
    },
    {
      "source": "parallel_computation.Rmd",
      "filename": "parallel_computation.html",
      "title": "Parallel computation and posterior analysis",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2023-08-25 20:38:45",
      "modified": "2026-06-08 19:25:13",
      "commits": 10
    }
  ],
  "_score": 5.2552725051033065,
  "_indexed": true,
  "_nocasepkg": "lnmixsurv",
  "_universes": [
    "vivianalobo"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "3.1.7",
      "date": "2026-06-09T09:08:14.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "33e76fd6945d6ec9011d43fd39a6d6f7c456262d",
      "fileid": "5a4226581be036bc03352dec70c3469515dad2bddb23eeecbff86ee042a247d4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vivianalobo/actions/runs/27195371531"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "3.1.7",
      "date": "2026-06-09T09:08:00.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "33e76fd6945d6ec9011d43fd39a6d6f7c456262d",
      "fileid": "0479a42b80384431dbdc9f10548c36d9abcc68c8050c6eed55f0d9d18cc7a2d9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vivianalobo/actions/runs/27195371531"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "3.1.7",
      "date": "2026-06-09T09:08:18.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "33e76fd6945d6ec9011d43fd39a6d6f7c456262d",
      "fileid": "9e88df1f6d9f81ee576f0cecfda18d2b3767a2614426468034293777334b17c6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vivianalobo/actions/runs/27195371531"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "3.1.7",
      "date": "2026-06-09T09:08:46.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "33e76fd6945d6ec9011d43fd39a6d6f7c456262d",
      "fileid": "41b1c0e16591156ebd20a6b4b992cdf8fffe80b88268d08b11d46c95724f0c10",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vivianalobo/actions/runs/27195371531"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "3.1.7",
      "date": "2026-06-09T09:08:07.000Z",
      "arch": "aarch64",
      "commit": "33e76fd6945d6ec9011d43fd39a6d6f7c456262d",
      "fileid": "12e09f90f0de41df899be601a6eb352c27d430499fa5b9d3dd7c88a2327d05a0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vivianalobo/actions/runs/27195371531"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "3.1.7",
      "date": "2026-06-09T09:11:07.000Z",
      "arch": "x86_64",
      "commit": "33e76fd6945d6ec9011d43fd39a6d6f7c456262d",
      "fileid": "6245452f2fdad27ef3f262131f1dd4353a267739036e69306dbbbacfbe61c9e6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vivianalobo/actions/runs/27195371531"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "3.1.7",
      "date": "2026-06-09T09:07:37.000Z",
      "arch": "aarch64",
      "commit": "33e76fd6945d6ec9011d43fd39a6d6f7c456262d",
      "fileid": "3f32f9691b983fcef3db775c1b1c46f911b4611ec13df37a678adec2a26a0fb8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vivianalobo/actions/runs/27195371531"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "3.1.7",
      "date": "2026-06-09T09:10:03.000Z",
      "arch": "x86_64",
      "commit": "33e76fd6945d6ec9011d43fd39a6d6f7c456262d",
      "fileid": "a5f49c6a134f556fc265524274413a9c5055b9798a3bff834346ea46ff071c2f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vivianalobo/actions/runs/27195371531"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "3.1.7",
      "date": "2026-06-09T09:06:52.000Z",
      "arch": "x86_64",
      "commit": "33e76fd6945d6ec9011d43fd39a6d6f7c456262d",
      "fileid": "68fb90e23bfb286b70b379e04b895d9be97b2146e1606753ccf0002da9fc9bde",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vivianalobo/actions/runs/27195371531"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "3.1.7",
      "date": "2026-06-09T09:07:18.000Z",
      "arch": "x86_64",
      "commit": "33e76fd6945d6ec9011d43fd39a6d6f7c456262d",
      "fileid": "39938c660c9a9fb9ab3b80930691e53edcf3275f8f401f10a41937510f4a4204",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vivianalobo/actions/runs/27195371531"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "3.1.7",
      "date": "2026-06-09T09:06:59.000Z",
      "arch": "x86_64",
      "commit": "33e76fd6945d6ec9011d43fd39a6d6f7c456262d",
      "fileid": "dbdb09b257ddf4d2b848e1baf9ed054227a92495918b1bc0dc613e8d55b6795d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vivianalobo/actions/runs/27195371531"
    }
  ]
}