Jr: Matrix of ones

View source: R/utlis.R

JrR Documentation

Matrix of ones

Description

Makes a matrix of ones with a single column and nr rows.

Usage

Jr(nr)

Arguments

nr

Number of rows to create.

Details

A simple apply function to make a matrix of one column and nr rows.

Value

$res

a matrix

References

Giovanny Covarrubias-Pazaran (2024). evola: a simple evolutionary algorithm for complex problems. To be submitted to Bioinformatics.

See Also

evolafit – the core function of the package

Examples


Jr(5)


evola documentation built on Aug. 8, 2025, 7:54 p.m.