addRegressor | R Documentation |
This function adds a regressor to an existing GROAN.Workbench object.
addRegressor(wb, regressor, regressor.name = regressor, ...)
wb |
the GROAN.Workbench instance to be updated |
regressor |
regressor function |
regressor.name |
string that will be used in reports. Keep in mind that when deciding names. |
... |
extra parameters are passed to the regressor function |
an updated instance of the original GROAN.Workbench
createWorkbench GROAN.run
#creating a Workbench with all default arguments wb = createWorkbench() #adding a second regressor wb = addRegressor(wb, regressor = phenoRegressor.dummy, regressor.name = 'dummy') ## Not run: #trying to add again a regressor with the same name would result in a naming conflict error wb = addRegressor(wb, regressor = phenoRegressor.dummy, regressor.name = 'dummy') ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.