Randomize feature order to eliminate any position-dependent effects
Dataframe with an outcome variable and other columns as features.
Column name as a string of the outcome variable
Dataset with feature order randomized.
Nick Lesniak, firstname.lastname@example.org
Kelly Sovacool, email@example.com
dat <- data.frame( outcome = c("1", "2", "3"), a = 4:6, b = 7:9, c = 10:12, d = 13:15 ) randomize_feature_order(dat, "outcome")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.