Skip to content

Commit 60c44d2

Browse files
committed
Add recode() function
Modeled after dplyr's and Stata's eponymous functions.
1 parent f184019 commit 60c44d2

4 files changed

Lines changed: 948 additions & 2 deletions

File tree

src/CategoricalArrays.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module CategoricalArrays
88
export LevelsException
99

1010
export categorical, compress, decompress, droplevels!, levels, levels!, isordered, ordered!
11-
export cut
11+
export cut, recode, recode!
1212

1313
using Compat
1414

@@ -24,6 +24,7 @@ module CategoricalArrays
2424
include("subarray.jl")
2525

2626
include("extras.jl")
27+
include("recode.jl")
2728

2829
include("deprecated.jl")
2930
end

0 commit comments

Comments
 (0)