# create.sgldata: Create sgl data In SglOptimizer: Sparse group lasso optimizer

Create sgl data

## Usage

 1 2  create.sgldata(x, y, weights = rep(1/nrow(x), nrow(x)), sampleGrouping = NULL) 

## Arguments

 x design matrix, matrix of size N \times p. y responses, vector of length N. sampleWeights sample weights, a vector of length N. sampleGrouping grouping of samples, a factor of length N. Default is no grouping (NULL), that is all samples is the same group

## Author(s)

Martin Vincent

SglOptimizer documentation built on May 31, 2017, 3:04 a.m.