Description Usage Arguments Details Value Author(s) Examples

Use positive brain network to predicate behavior via feature selection and LOOCV

1 | ```
loocv_pos(x, y, threshold = 0.01)
``` |

`x` |
x is a n by p matrix consisting n subjects and p features. |

`y` |
y is a n by 1 vector consisting behavior measurement. |

`threshold` |
threshold is a number (e.g. 0.01) specifying the significant feature to retain |

The codes take two variables x and y, where x is a n by p matrix consisting n subjects and p features, and y is a n by 1 vector consisting behavior measurement. The codes then conduct (1) feature selection, and (2) leave-one-subject-out cross-validation using selected features of x on predication of y.

`cor ` |
correlation between observed and predicated behavior |

`p ` |
p-value (significance) of the correlation between observed and predicated behavior |

`significant.positive.edges` |
significant edges predicative of behavior in the positive network |

Oliver Y. Chén

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.