fillMatrixFromColumn: fillMatrixFromColumn

Description Usage Arguments Value Author(s) Examples

Description

The fillMatrixFromColumn takes a single column and an integer for the number of times to repeat this column.

Usage

1

Arguments

col

a sparse column matrix

n

integer, how many times to repeat the column

Value

A sparse matrix

Author(s)

Michael Love

Examples

1
2
3
  sds <- simulateSparseDataSet(5, c(5,5))
  sds <- calculateMeans(sds)
  fillMatrixFromColumn(means(sds)[["c1"]], 3)

mikelove/SparseData documentation built on May 22, 2019, 10:52 p.m.