ourMELONS/man/ones.Rd
2019-12-17 11:24:58 +01:00

17 lines
347 B
R

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/zeros_ones.R
\name{ones}
\alias{ones}
\title{Matrix of ones}
\usage{
ones(n1, n2 = n1)
}
\arguments{
\item{n1}{number of rows}
\item{n2}{number of columns}
}
\description{
wrapper of `zeros_or_ones()` that replicates the behavior of
the `ones()` function on Matlab
}