get_sum: Get sum of numbers from a string

View source: R/utils.R

get_sumR Documentation

Get sum of numbers from a string

Description

Get sum of numbers from a string

Usage

get_sum(x)

Arguments

x

A string of interest

Value

A numeric that correspond to the sum of every digit in the provided string.


cleanepi documentation built on June 22, 2024, 9:48 a.m.