Description Usage Arguments Examples
This is a helper function for OncosigNB;Given the specified columns as a dataframe, return the maximum LR for each case. Note that these columns should be highly correlated.
1 | getMaxLR(df_1)
|
df_1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
function (df_1)
{
the_max_results = lapply(1:nrow(df_1), function(x) {
max(df_1[x, ])
})
the_max_results = unlist(the_max_results)
return(the_max_results)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.