When trying some old (even not so old) examples using R package mboost, the dataset "bodyfat" cannot be loaded.
> data("bodyfat", package = "mboost")
Warning message:
In data("bodyfat", package = "mboost") : data set ‘bodyfat’ not found
Many famous examples are still like this, like
Yanchang Zhao's book: “R and Data Mining: Examples and Case Studies”
To use the data, run code below.> data("bodyfat", package = "mboost")
Warning message:
In data("bodyfat", package = "mboost") : data set ‘bodyfat’ not found
Many famous examples are still like this, like
Yanchang Zhao's book: “R and Data Mining: Examples and Case Studies”
==============================================================
The data is provided in package TH.data, but no longer in package mboost.
data("bodyfat", package="TH.data")
No comments:
Post a Comment