add_id: Adds column .id eqal to column row.

Description Usage Arguments Value

View source: R/utils.R

Description

Works with input dataframes or arrays. If it is an array, then the column's name is chosen to be the column name if it exists, the passed arguments' name otherwise.

Usage

1

Arguments

df

'data.frame'

name

'character(1)'

Value

a dataframe with column .id


signaux-faibles/MLsegmentr documentation built on Aug. 29, 2019, 2:22 p.m.