Skip to content

Commit

Permalink
ordered -> ordinal
Browse files Browse the repository at this point in the history
  • Loading branch information
vandenman authored Oct 21, 2024
1 parent 6ffbc7a commit 9b4bc4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/dataset.R
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ convertToTypes <- function(dataset, types, datasetPathOrObject) {

dataset[[i]] <- switch(types[i],
"scale" = as.numeric(dataset[[i]]),
"ordered" = as.ordered(dataset[[i]]),
"ordinal" = as.ordered(dataset[[i]]),
"nominal" = as.factor(dataset[[i]]),
autodetectType(dataset[[i]], colnames(dataset)[i], typesEnv)
)
Expand Down

0 comments on commit 9b4bc4e

Please sign in to comment.