Skip to content

Conversation

@btupper
Copy link
Contributor

@btupper btupper commented May 30, 2023

Hi,

A tiny modification proposal... this pull request makes it possible to provide the newdata argument to predict() as a tibble in addition to as a data.frame or matrix. Single square bracket indexing (ala x[,column_name]) into a tibble always returns another tibble unless drop = TRUE is included in the argument list.

https://github.com/BigelowLab/maxnet/blob/afa40f410f0fc65bb62e6f4b1c0cc4232ef79269/R/predict.maxnet.R#L45

Best wishes,
Ben

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant