Jc: Matrix of ones

View source: R/utlis.R

JcR Documentation

Matrix of ones

Description

Makes a matrix of ones with a single row and nc columns.

Usage

Jc(nc)

Arguments

nc

Number of columns to create.

Details

A simple apply function to make a matrix of one row and nc columns.

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


Jc(5)


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