write_learner_template: Generate a file containing a template 'sl3' Learner

Description Usage Arguments Value

View source: R/utils.R

Description

Generates a template file that can be used to write new sl3 Learners. For more information, see the Defining New Learners vignette.

Usage

1

Arguments

file

the path where the file should be written

Value

the return from file.copy. TRUE if writing the template was successful.


jeremyrcoyle/sl3 documentation built on Feb. 3, 2022, 9:12 a.m.