Created
November 19, 2021 18:33
-
-
Save kstawiski/f4c79f18f1a470157aca34ac500a4fba to your computer and use it in GitHub Desktop.
Load Excel file and make character variables factors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(readxl) | |
library(dplyr) | |
dane <- read_excel("dataset_uzupelniony.xlsx") %>% mutate_if(is.character,funs(factor(.))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment