Learn R Programming

epiCo (version 1.0.0)

describe_ethnicity: Provides the sociological description of ethnicities in Colombia

Description

Function that returns the description of the consulted ethnicities

Usage

describe_ethnicity(ethnic_codes, language = c("EN", "ES"))

Value

A printed message with ethnicities descriptions

Arguments

ethnic_codes

A numeric vector with the codes of ethnicities to consult

language

"ES" for description in Spanish "EN" for English. The default value is EN

Examples

Run this code
describe_ethnicity(round(runif(n = 150, min = 1, max = 4)))

Run the code above in your browser using DataLab