get_grid {martini} | R Documentation

## Parse `scones.cv` settings

### Description

Creates a list composed by all `scones.cv` settings, with the values provided by the user, or the default ones if none is provided.

### Usage

    get_grid(c = numeric(), etas = numeric(), lambdas = numeric())

### Arguments

`c` | Numeric vector with the association scores of the SNPs. Specify it to automatically an appropriate range of etas and lambas.
`etas` | Numeric vector with the etas to explore in the grid search. If ommited, it's automatically created based on the association scores.
`lambdas` | Numeric vector with the lambdas to explore in the grid search. If ommited, it's automatically created based on the association scores.

### Value

A list of `scones.cv` settings.

### Examples

    martini:::get_grid(etas = c(1,2,3), lambdas = c(4,5,6))
    martini:::get_grid(c = c(1,10,100))

[Package martini version 1.14.0 Index]