is_contained: The function that will look if something is contained in...

Description Usage Arguments Value

Description

The function that will look if something is contained in something if number of ingredients if too far (in percentage) from the number of ingredients in the recipe, is_contained don't count the containance. The percentage parameter is set to 0 by default for reasons you will understand after

Usage

1
is_contained(v1, v2, percentage = 0)

Arguments

v1

vector to be included in v2

v2

vector to contain v1

percentage

percentage of v2 covered by the elements of v2

Value

boolean


antoinepay/foodx documentation built on May 6, 2019, 4:30 p.m.