create.sgldata: Create sgl data

Description Usage Arguments Author(s)

View source: R/prepare_args.R

Description

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 2, 2019, 5:17 p.m.