Learn R Programming

stats19 (version 4.1.0)

clean_make: Clean vehicle make

Description

This function cleans the make of the vehicle.

Usage

clean_make(make, extract_make = TRUE)

Arguments

make

A character vector of vehicle makes. Can be raw generic make/model strings if extract_make is TRUE.

extract_make

Logical, whether to extract the make from the input string using extract_make_stats19 first. Default is TRUE.

Examples

Run this code
clean_make(c("VW", "Mercedez"))
clean_make(c("FORD FIESTA", "LAND ROVER DISCOVERY"), extract_make = TRUE)

Run the code above in your browser using DataLab