Skip to content

CRAN Release

Compare
Choose a tag to compare
@leeper leeper released this 12 Apr 04:36
· 57 commits to master since this release

User-visible changes

  • Changed internal behavior of build_datalist(). The function now returns an an at_specification attribute, which is a data frame representation of the at argument.
  • The at argument in build_datalist() now accepts a data frame of combinations for limiting the set of levels.
  • build_datalist() gains an as.data.frame argument, which - if TRUE - returns a stacked data frame rather than a list. This argument is now used internally in most prediction() functions in an effort to improve performance. (#18)
  • Most prediction() methods gain a (experimental) calculate_se argument, which regulates whether to calculate standard errors for predictions. Setting to FALSE can improve performance if they are not needed.
  • Added a summary.prediction() method to interact with the average predicted values that are printed when at != NULL.

Support for new model classes

  • Added prediction.knnreg() method for "knnreg" objects from caret. (#1)
  • Added prediction.gausspr() method for "gausspr" objects from kernlab. (#1)
  • Added prediction.ksvm() method for "ksvm" objects from kernlab. (#1)
  • Added prediction.kqr() method for "kqr" objects from kernlab. (#1)
  • Added prediction.earth() method for "earth" objects from earth. (#1)
  • Added prediction.rpart() method for "rpart" objects from rpart. (#1)
  • Added prediction.glmML() method for "glimML" objects from aod. (#1)
  • Added prediction.glmQL() method for "glimQL" objects from aod. (#1)
  • Added prediction.truncreg() method for "truncreg" objects from truncreg. (#1)
  • Noted implicit support for "tobit" objects from AER. (#1)
  • Added prediction.bruto() method for "bruto" objects from mda. (#1)
  • Added prediction.fda() method for "fda" objects from mda. (#1)
  • Added prediction.mars() method for "mars" objects from mda. (#1)
  • Added prediction.mda() method for "mda" objects from mda. (#1)
  • Added prediction.polyreg() method for "polyreg" objects from mda. (#1)
  • Added prediction.speedglm() and prediction.speedlm() methods for "speedglm" and "speedlm" objects from speedglm. (#1)
  • Added prediction.bigLm() method for "bigLm" objects from bigFastlm. (#1)
  • Added prediction.biglm() and prediction.bigglm() methods for "biglm" and "bigglm" objects from biglm, including those based by "ffdf" from ff. (#1)
  • Added prediction.train() method for "train" objects from caret. (#1)
  • Due to a change in gam_1.15, prediction.gam() is now prediction.Gam() for "Gam" objects from gam. (#1)