Description Usage Arguments Details Value Note

This function acts as a switchboard for various regression modelling strategy,
and links these strategies to `compare`

.

1 | ```
strategy(g, method, int, int.adj, model)
``` |

`g` |
a data matrix to which a modelling strategy will be applied. |

`method` |
a list containing the a regression modelling strategy name and strategy-specific parameter values. |

`int` |
logical. If int is TRUE an intercept will be included in the regression model. |

`int.adj` |
logical. If int.adj is TRUE the intercept will be re-estimated after shrinkage is applied to the regression coefficients. |

`model` |
the type of regression model. Either "linear" or "logistic". |

For further details, see `compare`

.

The object returned by `strategy`

depends on the strategy selected in the
call to `compare`

. For example, if `method[1] = "lsq"`

, `strategy`

will return
a matrix of regression coefficients, whereas if `method[1] = "boot"`

, strategy
will return a list containing values returned by `bootval`

.

This function is not designed to be called directly, but acts as a workhorse
function for `compare`

apricom documentation built on May 29, 2017, 7:36 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.