{
  "_id": "6a1d4c971d7bb097a0a43ee9",
  "Package": "tvmediation",
  "Type": "Package",
  "Date": "2022-05-13",
  "Version": "1.1.0",
  "Title": "Time Varying Mediation Analysis",
  "Description": "Provides functions for estimating mediation effects that\nvary over time as described in Cai X, Coffman DL, Piper ME, Li\nR. Estimation and inference for the mediation effect in a\ntime-varying mediation model. BMC Med Res Methodol.\n2022;22(1):1-12.",
  "Authors@R": "c(person(given = \"Donna\",\nfamily = \"Coffman\",\nrole = c(\"aut\", \"cre\"),\nemail = \"dcoffman@temple.edu\",\ncomment = c(ORCID = \"0000-0001-6305-6579\")),\nperson(given = \"Xizhen\",\nfamily = \"Cai\",\nrole = \"aut\",\nemail = \"cai.xizhen@gmail.com\",\ncomment = c(ORCID = \"0000-0003-2097-1755\")),\nperson(given = \"Yajnaseni\",\nfamily = \"Chakraborti\",\nrole = \"aut\",\nemail = \"yajnaseni.chakraborti@temple.edu\",\ncomment = c(ORCID = \"0000-0002-6747-8821\")),\nperson(given = \"Harry\",\nfamily = \"Zobel\",\nrole = \"ctb\",\nemail = \"harryzobeljr@gmail.com\")\n)",
  "RoxygenNote": "7.1.2",
  "License": "GPL-3",
  "URL": "https://github.com/dcoffman/tvmediation/wiki",
  "BugReports": "https://github.com/dcoffman/tvmediation/issues",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "Repository": "https://dcoffman.r-universe.dev",
  "Date/Publication": "2022-05-21 15:16:39 UTC",
  "RemoteUrl": "https://github.com/dcoffman/tvmediation",
  "RemoteRef": "HEAD",
  "RemoteSha": "03c740fca34ec58a4ba2c53fb5ae3adf7f344a0f",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-01 09:07:13 UTC",
    "User": "root"
  },
  "Author": "Donna Coffman [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-6305-6579>),\nXizhen Cai [aut] (ORCID: <https://orcid.org/0000-0003-2097-1755>),\nYajnaseni Chakraborti [aut] (ORCID:\n<https://orcid.org/0000-0002-6747-8821>),\nHarry Zobel [ctb]",
  "Maintainer": "Donna Coffman <dcoffman@temple.edu>",
  "MD5sum": "8a7fc8184e66c3132da73578614c5e43",
  "_user": "dcoffman",
  "_type": "src",
  "_file": "tvmediation_1.1.0.tar.gz",
  "_fileid": "a232f07cbbb4d155182a16f3c1a614afa6483847c1d59be5ce8507ecf0726816",
  "_filesize": 2993762,
  "_sha256": "a232f07cbbb4d155182a16f3c1a614afa6483847c1d59be5ce8507ecf0726816",
  "_created": "2026-06-01T09:07:13.000Z",
  "_published": "2026-06-01T09:10:47.573Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78820391346,
      "time": 134,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7327568135"
    },
    {
      "job": 78820391326,
      "time": 134,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7327568198"
    },
    {
      "job": 78820391419,
      "time": 160,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7327567205"
    },
    {
      "job": 78820391364,
      "time": 171,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7327566730"
    },
    {
      "job": 78818323267,
      "time": 767,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7327524685"
    },
    {
      "job": 78820391373,
      "time": 90,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7327553661"
    },
    {
      "job": 78820391355,
      "time": 99,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7327556092"
    },
    {
      "job": 78820391435,
      "time": 96,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7327555481"
    },
    {
      "job": 78820391341,
      "time": 112,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7327560121"
    }
  ],
  "_buildurl": "https://github.com/r-universe/dcoffman/actions/runs/26745046032",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/dcoffman/tvmediation",
  "_commit": {
    "id": "03c740fca34ec58a4ba2c53fb5ae3adf7f344a0f",
    "author": "Yajna2792 <54639743+Yajna2792@users.noreply.github.com>",
    "committer": "Yajna2792 <54639743+Yajna2792@users.noreply.github.com>",
    "message": "Information on tvmediation version 1.1.0 test environments\n",
    "time": 1653146199
  },
  "_maintainer": {
    "name": "Donna Coffman",
    "email": "dcoffman@temple.edu",
    "orcid": "0000-0001-6305-6579"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "version": ">= 4.0.2",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.0.2",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.3.2",
      "role": "Imports"
    },
    {
      "package": "locpol",
      "version": ">= 0.7-0",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "dcoffman",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 5,
  "_contributors": [
    {
      "user": "yajnac",
      "count": 127,
      "uuid": 54639743
    },
    {
      "user": "dcoffman",
      "count": 30,
      "uuid": 5564803
    },
    {
      "user": "harryzobeljr",
      "count": 2,
      "uuid": 50213682
    }
  ],
  "_userbio": {
    "uuid": 5564803,
    "type": "user",
    "name": "Donna Coffman"
  },
  "_downloads": {
    "count": 140,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/tvmediation"
  },
  "_devurl": "https://github.com/dcoffman/tvmediation",
  "_searchresults": 9,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/tvmediation.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/dcoffman/tvmediation",
  "_realowner": "dcoffman",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2021-03-09"
    },
    {
      "version": "1.1.0",
      "date": "2022-05-25"
    },
    {
      "version": "1.1.1",
      "date": "2026-03-30"
    }
  ],
  "_exports": [
    "LongToWide",
    "tvma",
    "tvma_3trt",
    "tvmb"
  ],
  "_datasets": [
    {
      "name": "smoker",
      "title": "Wisconsin Smokers' Health Study 2",
      "object": "smoker",
      "class": [
        "data.frame"
      ],
      "fields": [
        "SubjectID",
        "treatment",
        "patch",
        "varenicline",
        "comboNRT",
        "DaysFromTQD",
        "timeseq",
        "WantToSmokeLst15min",
        "NegMoodLst15min",
        "cessFatig",
        "CigCount",
        "smoke_status"
      ],
      "rows": 40130,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "bootci_coeff_2trt",
      "title": "Bootstrap function for computing CIs for coefficients for a continuous outcome and two treatment groups",
      "topics": [
        "bootci_coeff_2trt"
      ]
    },
    {
      "page": "bootci_coeff_3trt",
      "title": "Bootstrap samples to estimate confidence intervals for coefficients for a continuous outcome and three treatment groups.",
      "topics": [
        "bootci_coeff_3trt"
      ]
    },
    {
      "page": "bootci_coeff_binary",
      "title": "Bootstrap samples to estimate confidence intervals for binary outcome coefficients.",
      "topics": [
        "bootci_coeff_binary"
      ]
    },
    {
      "page": "bootci_tvm_3trt",
      "title": "Bootstrap samples to estimate confidence intervals for continuous outcome and three treatment groups.",
      "topics": [
        "bootci_tvm_3trt"
      ]
    },
    {
      "page": "bootci_tvmb",
      "title": "Bootstrap samples to estimate confidence intervals for the mediation effect for a binary outcome.",
      "topics": [
        "bootci_tvmb"
      ]
    },
    {
      "page": "coeff",
      "title": "Function to estimate coefficients at time t",
      "topics": [
        "coeff"
      ]
    },
    {
      "page": "estBootCIs",
      "title": "Bootstrapping samples to estimate mediation effects confidence intervals for continuous outcome and two treatment (exposure) groups.",
      "topics": [
        "estBootCIs"
      ]
    },
    {
      "page": "estCoeff",
      "title": "Function to estimate coefficients at time t.",
      "topics": [
        "estCoeff"
      ]
    },
    {
      "page": "LongToWide",
      "title": "Function to transpose the data from long to wide format",
      "topics": [
        "LongToWide"
      ]
    },
    {
      "page": "newMediatorOutcome",
      "title": "Function to compute new Mediator and Outcome using time t and t-1 mean centered on the individual.",
      "topics": [
        "newMediatorOutcome"
      ]
    },
    {
      "page": "smoker",
      "title": "Wisconsin Smokers' Health Study 2",
      "topics": [
        "smoker"
      ]
    },
    {
      "page": "smoothest",
      "title": "Function to compute local polynomial estimation using rule of thumb for bandwidth selection",
      "topics": [
        "smoothest"
      ]
    },
    {
      "page": "tvma",
      "title": "Time Varying Mediation Function: Continuous Outcome and Two Treatment Groups",
      "topics": [
        "tvma"
      ]
    },
    {
      "page": "tvma_3trt",
      "title": "Time Varying Mediation Function: Continuous Outcome and Three Treatment Groups",
      "topics": [
        "tvma_3trt"
      ]
    },
    {
      "page": "tvmb",
      "title": "Time Varying Mediation Function: Binary Outcome and Two Treatment Groups",
      "topics": [
        "tvmb"
      ]
    },
    {
      "page": "tvmcurve_3trt",
      "title": "Main function for time varying mediation function for continuous outcome and three treatment arms (i.e., exposure groups).",
      "topics": [
        "tvmcurve_3trt"
      ]
    }
  ],
  "_pkglogo": "https://github.com/dcoffman/tvmediation/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/dcoffman/tvmediation/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "locpol",
    "magrittr",
    "pillar",
    "pkgconfig",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "TVMB_Function_for_Binary_Outcome.Rmd",
      "filename": "TVMB_Function_for_Binary_Outcome.html",
      "title": "Time Varying Mediation Function: Binary Outcome and Two Treatment Groups",
      "author": "Yajnaseni Chakraborti, Donna L. Coffman, Harry Zobel",
      "engine": "knitr::rmarkdown_notangle",
      "headings": [
        "Introduction",
        "Data",
        "Getting started",
        "Formatting your data before calling the tvmb function",
        "Calling the tvmb function",
        "Results",
        "Summary",
        "References"
      ],
      "created": "2020-03-05 00:25:23",
      "modified": "2022-05-13 21:43:40",
      "commits": 38
    },
    {
      "source": "TVMA_Function_3_Treatment.Rmd",
      "filename": "TVMA_Function_3_Treatment.html",
      "title": "Time Varying Mediation Function: Continuous Outcome and Three Treatment Groups",
      "author": "Yajnaseni Chakraborti, Donna L. Coffman, Harry Zobel",
      "engine": "knitr::rmarkdown_notangle",
      "headings": [
        "Introduction",
        "Data",
        "Getting started",
        "Formatting your data before calling the tvma_3trt function",
        "Calling the tvma_3trt function",
        "Results",
        "Summary",
        "References"
      ],
      "created": "2020-04-01 02:16:08",
      "modified": "2022-05-13 21:43:40",
      "commits": 36
    },
    {
      "source": "Time_Varying_Mediation_Analysis.Rmd",
      "filename": "Time_Varying_Mediation_Analysis.html",
      "title": "Time Varying Mediation Function: Continuous Outcome and Two Treatment Groups",
      "author": "Yajnaseni Chakraborti, Donna L. Coffman, Harry Zobel",
      "engine": "knitr::rmarkdown_notangle",
      "headings": [
        "Introduction",
        "Data",
        "Getting started",
        "Formatting your data before calling the tvma function",
        "Calling the tvma function",
        "Results",
        "Summary",
        "References"
      ],
      "created": "2019-05-22 17:51:12",
      "modified": "2022-05-13 21:43:40",
      "commits": 43
    }
  ],
  "_score": 5.176091259055681,
  "_indexed": true,
  "_nocasepkg": "tvmediation",
  "_universes": [
    "dcoffman"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-06-01T09:09:22.000Z",
      "distro": "noble",
      "commit": "03c740fca34ec58a4ba2c53fb5ae3adf7f344a0f",
      "fileid": "fe9cdba8d09c2b50ccd680d9c207b8dcf5f9523c2b6b5b35cf8f6770abe8ee98",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/dcoffman/actions/runs/26745046032"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-06-01T09:09:21.000Z",
      "distro": "noble",
      "commit": "03c740fca34ec58a4ba2c53fb5ae3adf7f344a0f",
      "fileid": "799caf633d373e0798cd6da30bde2e885eb8bff95837aaca51897610d757d2ca",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/dcoffman/actions/runs/26745046032"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-06-01T09:09:28.000Z",
      "commit": "03c740fca34ec58a4ba2c53fb5ae3adf7f344a0f",
      "fileid": "e4d5f32ec4d966b2d1d7ab71dbcf84a4880ed0875e396036338cf10ce8518b91",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/dcoffman/actions/runs/26745046032"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-06-01T09:09:21.000Z",
      "commit": "03c740fca34ec58a4ba2c53fb5ae3adf7f344a0f",
      "fileid": "be015f9a68e57394309248631e4cc6578ed6901d50e364743428553b8c30cae4",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/dcoffman/actions/runs/26745046032"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0",
      "date": "2026-06-01T09:09:04.000Z",
      "commit": "03c740fca34ec58a4ba2c53fb5ae3adf7f344a0f",
      "fileid": "d7dc513b18d9e18da72efafbcff706c1db2cd53cd70a621163175818c72b5173",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dcoffman/actions/runs/26745046032"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-06-01T09:08:36.000Z",
      "commit": "03c740fca34ec58a4ba2c53fb5ae3adf7f344a0f",
      "fileid": "b84d3902824fc526f4acad4419047c052fa298c909b8f4123d1451bcc02eb5cd",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/dcoffman/actions/runs/26745046032"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-06-01T09:08:36.000Z",
      "commit": "03c740fca34ec58a4ba2c53fb5ae3adf7f344a0f",
      "fileid": "c09b5eafbe2f608aa4ae114a256c33557bc5a4f1093fdf2a92b05f28dc3df098",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/dcoffman/actions/runs/26745046032"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-06-01T09:08:43.000Z",
      "commit": "03c740fca34ec58a4ba2c53fb5ae3adf7f344a0f",
      "fileid": "f4718d1dd98c6830a13544f8bc8eab22bdc982d7302969bb89396ccce5487376",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/dcoffman/actions/runs/26745046032"
    }
  ]
}