tidymodels.org-legacy icon indicating copy to clipboard operation
tidymodels.org-legacy copied to clipboard

set_pred values pre = argument documentation

Open EmilHvitfeldt opened this issue 5 years ago • 0 comments

I got around to it after a bit. But it is not entirely clear from a cursory glance how these functions are used and what they modify.

Stating that these functions can only modify and return ``x(our data) might be worth explicitly spelling out. It took me a little while to realize I couldn't modifyobject` in here.

Showing a template function in the documentation might be nice 😄

function(x, object) {
  # some code

  x
}

EmilHvitfeldt avatar Aug 16 '20 18:08 EmilHvitfeldt