{
  "_id": "6af751a8b90b31e79afd8733",
  "Package": "DMwR2",
  "Type": "Package",
  "Title": "Functions and Data for the Second Edition of \"Data Mining with\nR\"",
  "Description": "Functions and data accompanying the second edition of the\nbook \"Data Mining with R, learning with case studies\" by Luis\nTorgo, published by CRC Press. Compatibility updates by Renova.",
  "Version": "0.0.2.9001",
  "Authors@R": "person(\"Luis\", \"Torgo\", email = \"ltorgo@dcc.fc.up.pt\", role = c(\"aut\", \"cre\"))",
  "URL": "https://github.com/ltorgo/DMwR2",
  "BugReports": "https://github.com/ltorgo/DMwR2/issues",
  "License": "GPL (>= 2)",
  "LazyLoad": "yes",
  "LazyData": "yes",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-13 18:02:08 UTC",
    "User": "root"
  },
  "Author": "Luis Torgo [aut, cre]",
  "Maintainer": "Luis Torgo <ltorgo@dcc.fc.up.pt>",
  "Config/pak/sysreqs": "libssl-dev libx11-dev",
  "Repository": "https://renova-r.r-universe.dev",
  "Date/Publication": "2026-11-13 17:54:03 UTC",
  "RemoteUrl": "https://github.com/renova-r/DMwR2",
  "RemoteRef": "renova-0.0.2.9001",
  "RemoteSha": "4985a67d2b2fa9a3a16b446af64d41d3b330c123",
  "_user": "renova-r",
  "_type": "src",
  "_file": "DMwR2_0.0.2.9001.tar.gz",
  "_fileid": "https://r2.ropensci.org/2c09c626c445ce8cb4c9f57bc41a733b7a7b22ffadb695ad38c38a3b92f1b4fd",
  "_filesize": 2170565,
  "_sha256": "2c09c626c445ce8cb4c9f57bc41a733b7a7b22ffadb695ad38c38a3b92f1b4fd",
  "_expires": "2027-02-21T18:06:29.000Z",
  "_created": "2026-11-13T18:02:08.000Z",
  "_published": "2026-11-13T18:06:32.125Z",
  "_upstream": "https://github.com/renova-r/DMwR2",
  "_status": "success",
  "_maintainer": {
    "name": "Luis Torgo",
    "email": "ltorgo@dcc.fc.up.pt"
  },
  "_jobs": [
    {
      "job": 132069246126,
      "time": 120,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14064431602"
    },
    {
      "job": 132069245875,
      "time": 121,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14063772817"
    },
    {
      "job": 132069245929,
      "time": 109,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14064835084"
    },
    {
      "job": 132069246053,
      "time": 101,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14063374469"
    },
    {
      "job": 132067401263,
      "time": 193,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14063394612"
    },
    {
      "job": 132069245823,
      "time": 86,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14064496371"
    },
    {
      "job": 132069246122,
      "time": 198,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14063657987"
    },
    {
      "job": 132069247135,
      "time": 179,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14065175148"
    },
    {
      "job": 132069245974,
      "time": 215,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14064426895"
    }
  ],
  "_buildurl": "https://github.com/r-universe/renova-r/actions/runs/43478107740",
  "_commit": {
    "id": "4985a67d2b2fa9a3a16b446af64d41d3b330c123",
    "author": "Renova <37424630+guanyangwang@users.noreply.github.com>",
    "committer": "Renova <37424630+guanyangwang@users.noreply.github.com>",
    "message": "Prepare Renova DMwR2 0.0.2.9001 release\n",
    "time": 1794592443
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.0",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Depends"
    },
    {
      "package": "xts",
      "version": ">= 0.9-7",
      "role": "Imports"
    },
    {
      "package": "zoo",
      "version": ">= 1.7-10",
      "role": "Imports"
    },
    {
      "package": "class",
      "version": ">= 7.3-14",
      "role": "Imports"
    },
    {
      "package": "rpart",
      "version": ">= 4.1-10",
      "role": "Imports"
    },
    {
      "package": "quantmod",
      "version": ">= 0.4-5",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 0.4.3",
      "role": "Imports"
    },
    {
      "package": "readr",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "DBI",
      "version": ">= 0.5",
      "role": "Imports"
    }
  ],
  "_owner": "renova-r",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-46",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "renova-0.0.2.9001",
      "date": "2026-11-13"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "guanyangwang",
      "count": 2,
      "uuid": 37424630
    }
  ],
  "_userbio": {
    "uuid": 356078339,
    "type": "organization",
    "name": "Renova",
    "followers": 0,
    "description": "Reviving R software with AI."
  },
  "_downloads": {
    "count": 147,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/DMwR2"
  },
  "_mentions": 2,
  "_devurl": "https://github.com/ltorgo/dmwr2",
  "_searchresults": 634,
  "_abi": {
    "exports": [
      {
        "key": "DMwR2::tradeRecord",
        "hash": "6cbaf5e9e2debbff"
      }
    ],
    "imports": []
  },
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/DMwR2.html",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.0.1",
      "date": "2016-09-09"
    },
    {
      "version": "0.0.2",
      "date": "2016-10-12"
    }
  ],
  "_exports": [
    ".Eq",
    ".St",
    "centralImputation",
    "centralValue",
    "createEmbedDS",
    "kNN",
    "knnImputation",
    "lofactor",
    "manyNAs",
    "nrLinesFile",
    "outliers.ranking",
    "plot",
    "rpartXse",
    "rt.prune",
    "sampleCSV",
    "sampleDBMS",
    "SelfTrain",
    "show",
    "sigs.PR",
    "SoftMax",
    "summary",
    "tradeRecord",
    "trading.signals",
    "trading.simulator",
    "tradingEvaluation"
  ],
  "_datasets": [
    {
      "name": "algae",
      "title": "Training data for predicting algae blooms",
      "object": "algae",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "season",
        "size",
        "speed",
        "mxPH",
        "mnO2",
        "Cl",
        "NO3",
        "NH4",
        "oPO4",
        "PO4",
        "Chla",
        "a1",
        "a2",
        "a3",
        "a4",
        "a5",
        "a6",
        "a7"
      ],
      "rows": 200,
      "table": true,
      "tojson": true
    },
    {
      "name": "algae.sols",
      "title": "The solutions for the test data set for predicting algae blooms",
      "object": "algae",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "a1",
        "a2",
        "a3",
        "a4",
        "a5",
        "a6",
        "a7"
      ],
      "rows": 140,
      "table": true,
      "tojson": true
    },
    {
      "name": "GSPC",
      "title": "A set of daily quotes for SP500",
      "object": "GSPC",
      "class": [
        "xts",
        "zoo"
      ],
      "fields": [
        "GSPC.Open",
        "GSPC.High",
        "GSPC.Low",
        "GSPC.Close",
        "GSPC.Volume",
        "GSPC.Adjusted"
      ],
      "rows": 11622,
      "table": true,
      "tojson": false
    },
    {
      "name": "sales",
      "title": "A data set with sale transaction reports",
      "object": "sales",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "ID",
        "Prod",
        "Quant",
        "Val",
        "Insp"
      ],
      "rows": 401146,
      "table": true,
      "tojson": true
    },
    {
      "name": "sp500",
      "title": "A set of daily quotes for SP500 in CSV Format",
      "object": "sp500",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Index.GSPC.Open.GSPC.High.GSPC.Low.GSPC.Close.GSPC.Volume.GSPC.Adjusted"
      ],
      "rows": 11622,
      "table": true,
      "tojson": true
    },
    {
      "name": "test.algae",
      "title": "Testing data for predicting algae blooms",
      "object": "algae",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "season",
        "size",
        "speed",
        "mxPH",
        "mnO2",
        "Cl",
        "NO3",
        "NH4",
        "oPO4",
        "PO4",
        "Chla"
      ],
      "rows": 140,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "DMwR2-package",
      "title": "Functions and data for the second edition of the book \"Data Mining with R\"",
      "topics": [
        "DMwR2-package",
        "DMwR2"
      ]
    },
    {
      "page": "algae",
      "title": "Training data for predicting algae blooms",
      "topics": [
        "algae"
      ]
    },
    {
      "page": "algae.sols",
      "title": "The solutions for the test data set for predicting algae blooms",
      "topics": [
        "algae.sols"
      ]
    },
    {
      "page": "centralImputation",
      "title": "Fill in NA values with central statistics",
      "topics": [
        "centralImputation"
      ]
    },
    {
      "page": "centralValue",
      "title": "Obtain statistic of centrality",
      "topics": [
        "centralValue"
      ]
    },
    {
      "page": "createEmbedDS",
      "title": "Creates an embeded data set from an univariate time series",
      "topics": [
        "createEmbedDS"
      ]
    },
    {
      "page": "dist.to.knn",
      "title": "An auxiliary function of 'lofactor()'",
      "topics": [
        "dist.to.knn"
      ]
    },
    {
      "page": "GSPC",
      "title": "A set of daily quotes for SP500",
      "topics": [
        "GSPC"
      ]
    },
    {
      "page": "kNN",
      "title": "k-Nearest Neighbour Classification",
      "topics": [
        "kNN"
      ]
    },
    {
      "page": "knneigh.vect",
      "title": "An auxiliary function of 'lofactor()'",
      "topics": [
        "knneigh.vect"
      ]
    },
    {
      "page": "knnImputation",
      "title": "Fill in NA values with the values of the nearest neighbours",
      "topics": [
        "knnImputation"
      ]
    },
    {
      "page": "lofactor",
      "title": "An implementation of the LOF algorithm",
      "topics": [
        "lofactor"
      ]
    },
    {
      "page": "manyNAs",
      "title": "Find rows with too many NA values",
      "topics": [
        "manyNAs"
      ]
    },
    {
      "page": "nrLinesFile",
      "title": "Counts the number of lines of a file",
      "topics": [
        "nrLinesFile"
      ]
    },
    {
      "page": "outliers.ranking",
      "title": "Obtain outlier rankings",
      "topics": [
        "outliers.ranking"
      ]
    },
    {
      "page": "reachability",
      "title": "An auxiliary function of 'lofactor()'",
      "topics": [
        "reachability"
      ]
    },
    {
      "page": "rpartXse",
      "title": "Obtain a tree-based model",
      "topics": [
        "rpartXse"
      ]
    },
    {
      "page": "rt.prune",
      "title": "Prune a tree-based model using the SE rule",
      "topics": [
        "rt.prune"
      ]
    },
    {
      "page": "sales",
      "title": "A data set with sale transaction reports",
      "topics": [
        "sales"
      ]
    },
    {
      "page": "sampleCSV",
      "title": "Drawing a random sample of lines from a CSV file",
      "topics": [
        "sampleCSV"
      ]
    },
    {
      "page": "sampleDBMS",
      "title": "Drawing a random sample of records of a table stored in a DBMS",
      "topics": [
        "sampleDBMS"
      ]
    },
    {
      "page": "SelfTrain",
      "title": "Self train a model on semi-supervised data",
      "topics": [
        "SelfTrain"
      ]
    },
    {
      "page": "sigs.PR",
      "title": "Precision and recall of a set of predicted trading signals",
      "topics": [
        "sigs.PR"
      ]
    },
    {
      "page": "SoftMax",
      "title": "Normalize a set of continuous values using SoftMax",
      "topics": [
        "SoftMax"
      ]
    },
    {
      "page": "sp500",
      "title": "A set of daily quotes for SP500 in CSV Format",
      "topics": [
        "sp500"
      ]
    },
    {
      "page": "test.algae",
      "title": "Testing data for predicting algae blooms",
      "topics": [
        "test.algae"
      ]
    },
    {
      "page": "tradeRecord-class",
      "title": "Class \"tradeRecord\"",
      "topics": [
        "plot,tradeRecord-method",
        "show,tradeRecord-method",
        "summary,tradeRecord-method",
        "tradeRecord",
        "tradeRecord-class"
      ]
    },
    {
      "page": "trading.signals",
      "title": "Discretize a set of values into a set of trading signals",
      "topics": [
        "trading.signals"
      ]
    },
    {
      "page": "trading.simulator",
      "title": "Simulate daily trading using a set of trading signals",
      "topics": [
        "trading.simulator"
      ]
    },
    {
      "page": "tradingEvaluation",
      "title": "Obtain a set of evaluation metrics for a set of trading actions",
      "topics": [
        "tradingEvaluation"
      ]
    }
  ],
  "_readme": "https://github.com/renova-r/DMwR2/raw/renova-0.0.2.9001/README.md",
  "_rundeps": [
    "bit",
    "bit64",
    "class",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "curl",
    "DBI",
    "dplyr",
    "generics",
    "glue",
    "hms",
    "jsonlite",
    "lattice",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "quantmod",
    "R6",
    "readr",
    "rlang",
    "rpart",
    "tibble",
    "tidyselect",
    "TTR",
    "tzdb",
    "utf8",
    "vctrs",
    "vroom",
    "withr",
    "xts",
    "zoo"
  ],
  "_score": 3.8020892578817325,
  "_indexed": true,
  "_nocasepkg": "dmwr2",
  "_universes": [
    "renova-r",
    "ltorgo"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.2.9001",
      "date": "2026-11-13T18:04:07.000Z",
      "distro": "resolute",
      "commit": "4985a67d2b2fa9a3a16b446af64d41d3b330c123",
      "fileid": "https://r2.ropensci.org/5453683a7e946679ade4d75b50b06ba630b29f280d8d80a18eef8cedf361a245",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/renova-r/actions/runs/43478107740"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.0.2.9001",
      "date": "2026-11-13T18:04:10.000Z",
      "distro": "resolute",
      "commit": "4985a67d2b2fa9a3a16b446af64d41d3b330c123",
      "fileid": "https://r2.ropensci.org/96465535638726810e38946e9d2762ef17231e460d98f72c38985e5d0e5b6f3a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/renova-r/actions/runs/43478107740"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.2.9001",
      "date": "2026-11-13T18:03:57.000Z",
      "commit": "4985a67d2b2fa9a3a16b446af64d41d3b330c123",
      "fileid": "https://r2.ropensci.org/ba5e4fbe7a80a59576a24121f4657273f4c9994d05b008b9b025e97e14e664fa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/renova-r/actions/runs/43478107740"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.0.2.9001",
      "date": "2026-11-13T18:03:50.000Z",
      "commit": "4985a67d2b2fa9a3a16b446af64d41d3b330c123",
      "fileid": "https://r2.ropensci.org/ee297e2604b21a79e2100c544568524c53917f2ebcb9a6310f92e6496f2ec753",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/renova-r/actions/runs/43478107740"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.2.9001",
      "date": "2026-11-13T18:03:57.000Z",
      "commit": "4985a67d2b2fa9a3a16b446af64d41d3b330c123",
      "fileid": "https://r2.ropensci.org/89b094de3c5c7054c3ba60aa51e482ea684be5d1cf54c7186e3be0f6bcd42871",
      "status": "success",
      "buildurl": "https://github.com/r-universe/renova-r/actions/runs/43478107740"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.2.9001",
      "date": "2026-11-13T18:04:29.000Z",
      "commit": "4985a67d2b2fa9a3a16b446af64d41d3b330c123",
      "fileid": "https://r2.ropensci.org/c485ee3a5efe9e2ba6cf517812de2b89d02d713cbea2372c0b6cf307727e5874",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/renova-r/actions/runs/43478107740"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.2.9001",
      "date": "2026-11-13T18:04:11.000Z",
      "commit": "4985a67d2b2fa9a3a16b446af64d41d3b330c123",
      "fileid": "https://r2.ropensci.org/789ac5d9f1e7ee5bdce085c5c8f99856cd404aa0b4f91d87df1cc11149f262b6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/renova-r/actions/runs/43478107740"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.0.2.9001",
      "date": "2026-11-13T18:04:44.000Z",
      "commit": "4985a67d2b2fa9a3a16b446af64d41d3b330c123",
      "fileid": "https://r2.ropensci.org/0f3d4d98ded47c7c37315b9c7e554abb585bc163ddff6938bd77f3ccf0f184b8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/renova-r/actions/runs/43478107740"
    }
  ]
}