ones: Make a one-column matrix of 1s

View source: R/ones.R

onesR Documentation

Make a one-column matrix of 1s

Description

Make a one-column matrix of 1s

Usage

ones(sample_size)

Arguments

sample_size

The number of rows for the matrix.

Value

A one column matrix of 1s with sample_size rows.


jgabry/RHhelpers documentation built on Feb. 22, 2024, 12:56 p.m.