Package 'banana'

Title: Translate everything into Banana size.
Description: Translate everything into bananas.
Authors: Roel M. Hogervorst [aut, cre]
Maintainer: Roel M. Hogervorst <[email protected]>
License: MIT + file LICENSE
Version: 0.0.0.9000
Built: 2024-10-10 06:00:29 UTC
Source: https://github.com/RMHogervorst/banana

Help Index


'banana' vector

Description

This creates a double vector that represents banana so when it is printed, it is converted and displayed as 🍌. However the underlying structure is still units vector.

Usage

banana(x = double())

is_banana(x)

as_banana(x)

Arguments

x

object to convert into banana

Value

An S3 vector of class 'banana'.

Examples

banana(c(0.25, 0.5, 0.75))

Find the best fitting banana

Description

Find the best fitting banana

Usage

best_banana_fit(numeric_vector)