{
  "_id": "6a26906024555f66ed51b9b0",
  "Package": "predictmeans",
  "Version": "1.1.1",
  "Author": "Dongwen Luo, Siva Ganesh and John Koolaard",
  "Maintainer": "Dongwen Luo <dongwen.luo@agresearch.co.nz>",
  "Title": "Predicted Means for Linear and Semiparametric Models",
  "Description": "Providing functions to diagnose and make inferences from\nvarious linear models, such as those obtained from 'aov', 'lm',\n'glm', 'gls', 'lme', 'lmer', 'glmmTMB' and 'semireg'.\nInferences include predicted means and standard errors,\ncontrasts, multiple comparisons, permutation tests, adjusted\nR-square and graphs.",
  "License": "GPL (>= 2)",
  "Packaged": {
    "Date": "2026-06-08 09:44:42 UTC",
    "User": "root"
  },
  "URL": "https://CRAN.R-project.org/package=predictmeans",
  "LazyLoad": "yes",
  "NeedsCompilation": "yes",
  "Encoding": "UTF-8",
  "ByteCompile": "true",
  "Repository": "https://dongwenluo.r-universe.dev",
  "Date/Publication": "2025-05-07 03:03:00 UTC",
  "RemoteUrl": "https://github.com/dongwenluo/predictmeans",
  "RemoteRef": "HEAD",
  "RemoteSha": "7f398a5d008f94e6584ff6bd672c20a8d8834475",
  "MD5sum": "8d144b08831acc21ccc44178711566aa",
  "_user": "dongwenluo",
  "_type": "src",
  "_file": "predictmeans_1.1.1.tar.gz",
  "_fileid": "6b8a095bafc91d4850cfdbc1e97b4e088be821b2b964302fd532129b422efe09",
  "_filesize": 269472,
  "_sha256": "6b8a095bafc91d4850cfdbc1e97b4e088be821b2b964302fd532129b422efe09",
  "_created": "2026-06-08T09:44:42.000Z",
  "_published": "2026-06-08T09:50:23.960Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80065912830,
      "time": 194,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7476767384"
    },
    {
      "job": 80065912807,
      "time": 202,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7476770976"
    },
    {
      "job": 80065912835,
      "time": 175,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7476748607"
    },
    {
      "job": 80065912861,
      "time": 282,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7476780057"
    },
    {
      "job": 80065281608,
      "time": 207,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7476692114"
    },
    {
      "job": 80065913075,
      "time": 130,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7476741553"
    },
    {
      "job": 80065912847,
      "time": 184,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7476763849"
    },
    {
      "job": 80065912869,
      "time": 159,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7476753620"
    },
    {
      "job": 80065912871,
      "time": 155,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7476752267"
    }
  ],
  "_buildurl": "https://github.com/r-universe/dongwenluo/actions/runs/27129078404",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/dongwenluo/predictmeans",
  "_commit": {
    "id": "7f398a5d008f94e6584ff6bd672c20a8d8834475",
    "author": "Dongwen Luo <dongwenluo@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #2 from jmcurran/main\n\nNew plot args for predictmeans",
    "time": 1746586980
  },
  "_maintainer": {
    "name": "Dongwen Luo",
    "email": "dongwen.luo@agresearch.co.nz",
    "login": "dongwenluo",
    "description": "",
    "uuid": 8648651
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "glmmTMB",
      "role": "Depends"
    },
    {
      "package": "lme4",
      "role": "Depends"
    },
    {
      "package": "nlme",
      "role": "Depends"
    },
    {
      "package": "lmerTest",
      "role": "Depends"
    },
    {
      "package": "car",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "HRW",
      "role": "Imports"
    },
    {
      "package": "lmeInfo",
      "role": "Imports"
    },
    {
      "package": "lmeSplines",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "numDeriv",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "pbkrtest",
      "role": "Imports"
    },
    {
      "package": "plotly",
      "role": "Imports"
    },
    {
      "package": "plyr",
      "role": "Imports"
    },
    {
      "package": "splines2",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    }
  ],
  "_owner": "dongwenluo",
  "_selfowned": true,
  "_usedby": 2,
  "_updates": [],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "dongwenluo",
      "count": 6,
      "uuid": 8648651
    },
    {
      "user": "jmcurran",
      "count": 5,
      "uuid": 1457367
    },
    {
      "user": "s-u",
      "count": 4,
      "uuid": 2073427
    }
  ],
  "_userbio": {
    "uuid": 8648651,
    "type": "user",
    "name": "Dongwen Luo"
  },
  "_downloads": {
    "count": 536,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/predictmeans"
  },
  "_mentions": 14,
  "_devurl": "https://github.com/dongwenluo/predictmeans",
  "_searchresults": 260,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/predictmeans.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/dongwenluo/predictmeans",
  "_realowner": "dongwenluo",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.97",
      "date": "2014-07-03"
    },
    {
      "version": "0.98",
      "date": "2014-09-03"
    },
    {
      "version": "0.99",
      "date": "2014-09-22"
    },
    {
      "version": "1.0",
      "date": "2018-08-07"
    },
    {
      "version": "1.0.1",
      "date": "2018-08-23"
    },
    {
      "version": "1.0.2",
      "date": "2020-02-12"
    },
    {
      "version": "1.0.4",
      "date": "2020-04-15"
    },
    {
      "version": "1.0.6",
      "date": "2021-06-09"
    },
    {
      "version": "1.0.8",
      "date": "2022-11-26"
    },
    {
      "version": "1.0.9",
      "date": "2023-10-20"
    },
    {
      "version": "1.1.0",
      "date": "2024-02-29"
    },
    {
      "version": "1.1.1",
      "date": "2024-11-29"
    }
  ],
  "_exports": [
    "ci_mcp",
    "contrastmeans",
    "CookD",
    "covariatemeans",
    "df_term",
    "Kmatrix",
    "permanova.lmer",
    "permindex",
    "permlmer",
    "permmodels",
    "PMplot",
    "predictmeans",
    "R2_glmm",
    "residplot",
    "se_ranef",
    "semipred",
    "semireg",
    "semireg_tmb",
    "smZ",
    "varcomp"
  ],
  "_datasets": [
    {
      "name": "ATP",
      "title": "'ATP' containing data",
      "object": "ATP",
      "file": "ATP.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "heart",
        "time",
        "A",
        "B",
        "ATP"
      ],
      "rows": 230,
      "table": true,
      "tojson": true
    },
    {
      "name": "Clinical",
      "title": "'Clinical' data",
      "object": "Clinical",
      "file": "Clinical.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Clinic",
        "Treatment",
        "Favorable",
        "Total"
      ],
      "rows": 16,
      "table": true,
      "tojson": true
    },
    {
      "name": "Drug",
      "title": "'Drug' data",
      "object": "Drug",
      "file": "Drug.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Drug",
        "Dose",
        "N",
        "R",
        "log10Dose"
      ],
      "rows": 14,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "predictmeans-package",
      "title": "Predicted Means for Linear and Semiparametric Models",
      "topics": [
        "predictmeans-package"
      ]
    },
    {
      "page": "ATP",
      "title": "'ATP' containing data",
      "topics": [
        "ATP"
      ]
    },
    {
      "page": "ci_mcp",
      "title": "Multiple Comparisons Based on the Confidence Intervals",
      "topics": [
        "ci_mcp"
      ]
    },
    {
      "page": "Clinical",
      "title": "'Clinical' data",
      "topics": [
        "Clinical"
      ]
    },
    {
      "page": "contrastmeans",
      "title": "Linear Contrast Tests for a Linear Model",
      "topics": [
        "contrastmeans"
      ]
    },
    {
      "page": "CookD",
      "title": "Calculates and plots Cook's distances for a Linear (Mixed) Model",
      "topics": [
        "CookD"
      ]
    },
    {
      "page": "covariatemeans",
      "title": "Predicted Means of a Linear Model with Covariate Variable(s)",
      "topics": [
        "covariatemeans"
      ]
    },
    {
      "page": "df_term",
      "title": "Calculate degree of freedom of a modelterm (contrast) for a lmer model",
      "topics": [
        "df_term"
      ]
    },
    {
      "page": "Drug",
      "title": "'Drug' data",
      "topics": [
        "Drug"
      ]
    },
    {
      "page": "Kmatrix",
      "title": "Matrix of Coefficients in a Linear Model",
      "topics": [
        "Kmatrix"
      ]
    },
    {
      "page": "permanova.lmer",
      "title": "Permutation ANOVA for 'lmer' Model",
      "topics": [
        "permanova.lmer"
      ]
    },
    {
      "page": "permindex",
      "title": "Permutation Index",
      "topics": [
        "permindex"
      ]
    },
    {
      "page": "permlmer",
      "title": "Permutation Test of random or fixed effects for 'lmer' model.",
      "topics": [
        "permlmer"
      ]
    },
    {
      "page": "permmodels",
      "title": "Permutation Test of Linear Model",
      "topics": [
        "permmodels"
      ]
    },
    {
      "page": "PMplot",
      "title": "Level Plot of a Matrix of p-values.",
      "topics": [
        "PMplot"
      ]
    },
    {
      "page": "predictmeans",
      "title": "Predicted Means of a Linear Model",
      "topics": [
        "predictmeans"
      ]
    },
    {
      "page": "R2_glmm",
      "title": "An adjusted coefficient of determination (R2) for generalized linear mixed models",
      "topics": [
        "R2_glmm"
      ]
    },
    {
      "page": "residplot",
      "title": "Diagnostic Plots for a Linear (Mixed) Model",
      "topics": [
        "residplot"
      ]
    },
    {
      "page": "se_ranef",
      "title": "Extract Standard Errors of Model Random Effects",
      "topics": [
        "se_ranef"
      ]
    },
    {
      "page": "semipred",
      "title": "Predicted Means of a Semi Paramatric Model with Covariate Variable(s)",
      "topics": [
        "semipred"
      ]
    },
    {
      "page": "semireg",
      "title": "Fitting Semi Parametric Models Using lme4 Ecosystem",
      "topics": [
        "semireg"
      ]
    },
    {
      "page": "semireg_tmb",
      "title": "Fitting Semi Parametric Models Using glmmTMB",
      "topics": [
        "semireg_tmb"
      ]
    },
    {
      "page": "smZ",
      "title": "Generate Sparse Matrix Z for penalized spline smoothing",
      "topics": [
        "smZ"
      ]
    },
    {
      "page": "varcomp",
      "title": "Calculate SE and CI of variance components for 'lmer', 'glmer', 'lme', 'glmmTMB' model",
      "topics": [
        "varcomp"
      ]
    }
  ],
  "_readme": "https://github.com/dongwenluo/predictmeans/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "askpass",
    "backports",
    "base64enc",
    "boot",
    "broom",
    "bslib",
    "cachem",
    "car",
    "carData",
    "cli",
    "colorspace",
    "cowplot",
    "cpp11",
    "crosstalk",
    "curl",
    "data.table",
    "Deriv",
    "digest",
    "doBy",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "forecast",
    "Formula",
    "fracdiff",
    "fs",
    "generics",
    "ggplot2",
    "glmmTMB",
    "glue",
    "gtable",
    "highr",
    "HRW",
    "htmltools",
    "htmlwidgets",
    "httr",
    "isoband",
    "jquerylib",
    "jsonlite",
    "KernSmooth",
    "knitr",
    "labeling",
    "later",
    "lattice",
    "lazyeval",
    "lifecycle",
    "lme4",
    "lmeInfo",
    "lmerTest",
    "lmeSplines",
    "lmtest",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "memoise",
    "mgcv",
    "microbenchmark",
    "mime",
    "minqa",
    "modelr",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "openssl",
    "otel",
    "pbkrtest",
    "pillar",
    "pkgconfig",
    "plotly",
    "plyr",
    "promises",
    "purrr",
    "quantreg",
    "R6",
    "rappdirs",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "rmarkdown",
    "S7",
    "sandwich",
    "sass",
    "scales",
    "SparseM",
    "splines2",
    "stringi",
    "stringr",
    "survival",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "tinytex",
    "TMB",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml",
    "zoo"
  ],
  "_score": 6.193124598354462,
  "_indexed": true,
  "_nocasepkg": "predictmeans",
  "_universes": [
    "dongwenluo"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.1",
      "date": "2026-06-08T09:47:19.000Z",
      "distro": "noble",
      "commit": "7f398a5d008f94e6584ff6bd672c20a8d8834475",
      "fileid": "1e957aca16218319fd574e4ee55c3ae1ad1c742e5dca53cdb24d22a08ae75128",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/dongwenluo/actions/runs/27129078404"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.1",
      "date": "2026-06-08T09:47:31.000Z",
      "distro": "noble",
      "commit": "7f398a5d008f94e6584ff6bd672c20a8d8834475",
      "fileid": "c0510351ac7ae61fdb343f0da1e5e32161a3f78fd227506fc59f685e667265f1",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/dongwenluo/actions/runs/27129078404"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.1",
      "date": "2026-06-08T09:46:59.000Z",
      "commit": "7f398a5d008f94e6584ff6bd672c20a8d8834475",
      "fileid": "edecd9d1cf395915357053106bf2ab7ba4135dc4d0118969a1bdbf85befefce4",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/dongwenluo/actions/runs/27129078404"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.1",
      "date": "2026-06-08T09:47:45.000Z",
      "commit": "7f398a5d008f94e6584ff6bd672c20a8d8834475",
      "fileid": "9f67a52fcf632494e804def5d138c35974530cd2aa38cfc403999d0bcc9d1c1a",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/dongwenluo/actions/runs/27129078404"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.1",
      "date": "2026-06-08T09:47:21.000Z",
      "commit": "7f398a5d008f94e6584ff6bd672c20a8d8834475",
      "fileid": "a3902271450ec81e62e2ba7c15b94f5bf358a5189004e2f7e8a15960de150286",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dongwenluo/actions/runs/27129078404"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.1",
      "date": "2026-06-08T09:46:56.000Z",
      "commit": "7f398a5d008f94e6584ff6bd672c20a8d8834475",
      "fileid": "7a7ca584826230afa502c71fca32dab00c6855050dca16d52a2ade0aa65fe301",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/dongwenluo/actions/runs/27129078404"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.1",
      "date": "2026-06-08T09:46:32.000Z",
      "commit": "7f398a5d008f94e6584ff6bd672c20a8d8834475",
      "fileid": "c31b58c1c4518dfdf2b22b46840d8c7609daeeec1909bd7509ea223f4ad0d44d",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/dongwenluo/actions/runs/27129078404"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.1",
      "date": "2026-06-08T09:46:33.000Z",
      "commit": "7f398a5d008f94e6584ff6bd672c20a8d8834475",
      "fileid": "6aecd65303f991555d46e4f150eb3760ba7dcb548170e8e5a3976f63b394e719",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/dongwenluo/actions/runs/27129078404"
    }
  ]
}