IntegralEnvision / integral

Package for Integral functions
https://integralenvision.github.io/integral/
Other
0 stars 0 forks source link

Create utils-columns.R #16

Closed ebenp closed 2 years ago

ebenp commented 2 years ago

Added A function to get the column number from an Upper or lower case letter.

ebenp commented 2 years ago

Thanks. I added some warning code. I think this is a good addition.

ebenp commented 2 years ago

@jzadra Updated for 2 and 3 letter combinations, error checking and to allow vectors. Tests I ran included:

letnum("A")
letnum("Aa")
letnum("Aaz")
letnum(1)
letnum("1")
letnum(c("AA", 1, 23))