Description Usage Arguments Value Examples

View source: R/carrot_functions.R

Reorders the columns of matrix `a`

according to the ordered elements of array `s`

1 |

`a` |
A |

`s` |
array of numbers of the size N |

`j` |
number of rows in |

`c` |
array of all indices of the predictors |

`st` |
a subset of predictors to be always included into a predictive model |

Returns a submatrix of matrix `a`

which consits of columns determined by the input array `s`

1 2 3 4 5 6 |

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.