Addo: Add column of 1 to data

Description Usage Arguments Value Examples

View source: R/StatComp21088R.R

Description

Before using the algorithm, the first column of data should be filled with 1.

Usage

1

Arguments

data

Data matrix without adding constant 1 column.

Value

Data with first column filled with 1. new_data

Examples

1
2
3
4
5
6
7
## Not run: 
A = matrix(
c(1,1,1,1,1,2,3,4),4,2)
x <- Addo(A)
print(x)

## End(Not run)

Sakoylf/StatComp21088 documentation built on Dec. 23, 2021, 10:22 p.m.