mirror of
https://github.com/agdamsbo/REDCapCAST.git
synced 2025-09-12 10:39:39 +02:00
include data...
This commit is contained in:
parent
21f7b0cb83
commit
053c4447ad
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ NULL
|
||||||
#' @rdname fct_drop
|
#' @rdname fct_drop
|
||||||
#' @export
|
#' @export
|
||||||
fct_drop.data.frame <- function(x, ...) {
|
fct_drop.data.frame <- function(x, ...) {
|
||||||
purrr::map(\(.x){
|
purrr::map(x, \(.x){
|
||||||
if (is.factor(.x)){
|
if (is.factor(.x)){
|
||||||
forcats::fct_drop(.x)
|
forcats::fct_drop(.x)
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue