add_coherence: Add a column with 'coherence' information to a data.frame

View source: R/correct_categ.R

add_coherenceR Documentation

Add a column with 'coherence' information to a data.frame

Description

Internal function that calls is_iti_coherent

Usage

add_coherence(data, col_name = "coherent")

Arguments

data

a data.frame. Some columns are mandatory. See details for more information

col_name

name of the new column created

Details

data should have the following columns: iti_km_voyage, iti_experience, iti_depart_itineraire, iti_arrivee_itineraire, iti_depart_initial, iti_arrivee_final

Value

'data' data.frame with a new logical column name after 'col_name'


JMPivette/evavelo documentation built on April 8, 2023, 4:20 p.m.