percent_to_numeric: Convert a formatted percent to a numeric

View source: R/percent_to_numeric.R

percent_to_numericR Documentation

Convert a formatted percent to a numeric

Description

Convert a vector of percents (strings) to a numeric vector.

Usage

percent_to_numeric(perc)

Arguments

perc

A vector of strings

Examples

percent_to_numeric(c("32.4%", "1.2%"))

overdodactyl/mRclwhip documentation built on June 30, 2023, 6:24 a.m.