get_age_from_string()

get_age_from_string R Documentation

Extract Age from String

Description

Extracts the age value from a vector of strings, taking all characters after the double underscore ("__").

Usage

get_age_from_string(vec_names)

Arguments

vec_names

A character vector containing names with the format "dataset__age".

Value

A character vector of age values.

Back to top