{
  "_id": "6ad5ea947f75c4fbd3a1ee84",
  "Package": "L0TFinv",
  "Type": "Package",
  "Title": "A Splicing Approach to the Inverse Problem of L0 Trend Filtering",
  "Version": "0.1.0",
  "Date": "2025-5-25",
  "Authors@R": "c(person(given = \"Tianhao\",\nfamily = \"Wang\",\nrole = c(\"aut\", \"cre\"),\nemail = \"tianhaowang@mail.ustc.edu.cn\"),\nperson(given = \"Canhong\",\nfamily = \"Wen\",\nrole = \"aut\",\nemail = \"wench@ustc.edu.cn\"))",
  "Description": "Trend filtering is a widely used nonparametric method for\nknot detection. This package provides an efficient solution for\nL0 trend filtering, avoiding the traditional methods of using\nLagrange duality or Alternating Direction Method of Multipliers\nalgorithms. It employ a splicing approach that minimizes\nL0-regularized sparse approximation by transforming the L0\ntrend filtering problem. The package excels in both efficiency\nand accuracy of trend estimation and changepoint detection in\nsegmented functions. References: Wen et al. (2020)\n<doi:10.18637/jss.v094.i04>; Zhu et al.\n(2020)<doi:10.1073/pnas.2014241117>; Wen et al. (2023)\n<doi:10.1287/ijoc.2021.0313>.",
  "License": "GPL (>= 3)",
  "RoxygenNote": "7.3.2",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/C2S2-HF/InverseL0TF",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-19 09:55:54 UTC",
    "User": "root"
  },
  "Author": "Tianhao Wang [aut, cre], Canhong Wen [aut]",
  "Maintainer": "Tianhao Wang <tianhaowang@mail.ustc.edu.cn>",
  "Repository": "https://thaowang.r-universe.dev",
  "Date/Publication": "2025-06-10 09:38:12 UTC",
  "RemoteUrl": "https://github.com/cran/L0TFinv",
  "RemoteRef": "HEAD",
  "RemoteSha": "b4780ea907256fdfb2c38a0e3e5bae67abb1bdb8",
  "_user": "thaowang",
  "_type": "src",
  "_file": "L0TFinv_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/7b57dede36965136215728386de110e22fce2b220a0cc774c09bc75190ab425c",
  "_filesize": 820689,
  "_sha256": "7b57dede36965136215728386de110e22fce2b220a0cc774c09bc75190ab425c",
  "_expires": "2027-01-27T10:01:54.000Z",
  "_created": "2026-10-19T09:55:54.000Z",
  "_published": "2026-10-19T10:01:56.559Z",
  "_buildurl": "https://github.com/r-universe/thaowang/actions/runs/39233065846",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 117997774187,
      "time": 131,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12177679229"
    },
    {
      "job": 117997774098,
      "time": 269,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12177138620"
    },
    {
      "job": 117997774039,
      "time": 201,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12178373770"
    },
    {
      "job": 117997774122,
      "time": 236,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12177043560"
    },
    {
      "job": 117995592835,
      "time": 322,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12177763857"
    },
    {
      "job": 117997774002,
      "time": 224,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12177439839"
    },
    {
      "job": 117997774082,
      "time": 99,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12178323364"
    },
    {
      "job": 117997774302,
      "time": 92,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12177303185"
    },
    {
      "job": 117997774081,
      "time": 318,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12177834817"
    }
  ],
  "_upstream": "https://github.com/cran/L0TFinv",
  "_commit": {
    "id": "b4780ea907256fdfb2c38a0e3e5bae67abb1bdb8",
    "author": "Tianhao Wang <tianhaowang@mail.ustc.edu.cn>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.0\n",
    "time": 1749548292
  },
  "_maintainer": {
    "name": "Tianhao Wang",
    "email": "tianhaowang@mail.ustc.edu.cn",
    "login": "thaowang",
    "description": "",
    "uuid": 153406048
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "thaowang",
      "count": 1,
      "uuid": 153406048
    }
  ],
  "_userbio": {
    "uuid": 153406048,
    "type": "user",
    "name": "thaowang",
    "followers": 0
  },
  "_downloads": {
    "count": 284,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/L0TFinv"
  },
  "_devurl": "https://github.com/c2s2-hf/inversel0tf",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/L0TFinv.html",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_realowner": "thaowang",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2025-06-10"
    }
  ],
  "_exports": [
    "DiffMat",
    "L0TFinv.fix",
    "L0TFinv.opt",
    "SimuBlocksInv",
    "SimuWaveInv",
    "solMat",
    "TFmetrics",
    "XMat"
  ],
  "_help": [
    {
      "page": "L0TFinv-package",
      "title": "A package for L0-regularized sparse approximation",
      "topics": [
        "L0TFinv-package"
      ]
    },
    {
      "page": "coef.L0TFinvfix",
      "title": "Extract estimated trends",
      "topics": [
        "coef.L0TFinvfix",
        "coef.L0TFinvopt"
      ]
    },
    {
      "page": "DiffMat",
      "title": "Generate a difference matrix",
      "topics": [
        "DiffMat"
      ]
    },
    {
      "page": "L0TFinv.fix",
      "title": "The inverse L0 trend filtering with fixed change points",
      "topics": [
        "L0TFinv.fix"
      ]
    },
    {
      "page": "L0TFinv.opt",
      "title": "The inverse L0 trend filtering with optimal change points",
      "topics": [
        "L0TFinv.opt"
      ]
    },
    {
      "page": "plot.L0TFinvfix",
      "title": "Plot L0TFinvfix or L0TFinvopt object",
      "topics": [
        "plot.L0TFinvfix",
        "plot.L0TFinvopt"
      ]
    },
    {
      "page": "print.L0TFinvfix",
      "title": "Print L0TFinvfix or L0TFinvopt object",
      "topics": [
        "print.L0TFinvfix",
        "print.L0TFinvopt"
      ]
    },
    {
      "page": "SimuBlocksInv",
      "title": "Simulate Blocks Data",
      "topics": [
        "SimuBlocksInv"
      ]
    },
    {
      "page": "SimuWaveInv",
      "title": "Simulate Wave Data",
      "topics": [
        "SimuWaveInv"
      ]
    },
    {
      "page": "solMat",
      "title": "Generate the inverse of the crossprod matrix",
      "topics": [
        "solMat"
      ]
    },
    {
      "page": "TFmetrics",
      "title": "Print four metrics about change point detection results",
      "topics": [
        "TFmetrics"
      ]
    },
    {
      "page": "XMat",
      "title": "Generate an artificial design matrix",
      "topics": [
        "XMat"
      ]
    }
  ],
  "_readme": "https://github.com/cran/L0TFinv/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "Matrix",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "L0TFinv-vignette.Rmd",
      "filename": "L0TFinv-vignette.html",
      "title": "L0TFinv Vignette",
      "author": "Tianhao Wang, and Canhong Wen, University Of Science And Technology Of China",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Installation",
        "Tutorial",
        "Fitting L0-regularized Sparse Models",
        "Special Structure Matrix",
        "Simulated Data",
        "Fitting Models",
        "Change Point Detection and Trend Estimation",
        "Visualization",
        "References"
      ],
      "created": "2025-06-10 09:38:12",
      "modified": "2025-06-10 09:38:12",
      "commits": 1
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "l0tfinv",
  "_universes": [
    "thaowang",
    "c2s2-hf"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-19T09:57:44.000Z",
      "distro": "resolute",
      "commit": "b4780ea907256fdfb2c38a0e3e5bae67abb1bdb8",
      "fileid": "https://r2.ropensci.org/ccf3b3e2f061bf5f2ca56ee7d5cef8f6da5a7815393e772cf90b8668fb2e0a63",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thaowang/actions/runs/39233065846"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-19T10:00:01.000Z",
      "distro": "resolute",
      "commit": "b4780ea907256fdfb2c38a0e3e5bae67abb1bdb8",
      "fileid": "https://r2.ropensci.org/9b414aa40d4c8f355d317540a36da0c1b4090c4830357394eec4c6ab2ae3e671",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thaowang/actions/runs/39233065846"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-19T09:58:35.000Z",
      "commit": "b4780ea907256fdfb2c38a0e3e5bae67abb1bdb8",
      "fileid": "https://r2.ropensci.org/09f68c3871f5fd8ffa6cc28e5765cecb4d846d81086d02f82fc473835ec09124",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thaowang/actions/runs/39233065846"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-19T09:58:45.000Z",
      "commit": "b4780ea907256fdfb2c38a0e3e5bae67abb1bdb8",
      "fileid": "https://r2.ropensci.org/1fe869aac5af4656151eb46d55596d71d21f226734298d329310ee5270c58ef6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thaowang/actions/runs/39233065846"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-10-19T09:59:54.000Z",
      "commit": "b4780ea907256fdfb2c38a0e3e5bae67abb1bdb8",
      "fileid": "https://r2.ropensci.org/66fe36f3794018612da13e7c808d4236f13c1730892c194c1519af76347cc73a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/thaowang/actions/runs/39233065846"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-19T09:57:03.000Z",
      "commit": "b4780ea907256fdfb2c38a0e3e5bae67abb1bdb8",
      "fileid": "https://r2.ropensci.org/43936bc81df823a0acce00f42089e3110a44d6be9b360275669d37b65d4c0351",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thaowang/actions/runs/39233065846"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-19T09:57:01.000Z",
      "commit": "b4780ea907256fdfb2c38a0e3e5bae67abb1bdb8",
      "fileid": "https://r2.ropensci.org/d4cdbb4fc5101a99a58dd1361961149b8821692d60f1d2e63ac9f1dfb3baedf5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thaowang/actions/runs/39233065846"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-19T10:00:47.000Z",
      "commit": "b4780ea907256fdfb2c38a0e3e5bae67abb1bdb8",
      "fileid": "https://r2.ropensci.org/279a167badefad7b40f48608f25ea0f0bb179eb9e4eecda9659dc32ff5fc1e68",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thaowang/actions/runs/39233065846"
    }
  ]
}