get_sum {cleanepi}R 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.


[Package cleanepi version 1.0.2 Index]