Description Usage Arguments Value

For internal use by `groupfs`

.

1 | ```
scaleGroups(x, index, center = TRUE, normalize = TRUE)
``` |

`x` |
Design matrix. |

`index` |
Group membership indicator of length p. |

`center` |
Center groups, default is TRUE. |

`normalize` |
Scale groups by Frobenius norm, default is TRUE. |

- x
Optionally centered/scaled design matrix.

- xm
Means of groups in original design matrix.

- xs
Frobenius norms of groups in original design matrix.

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.