python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Function for clean factor levels (Adoption from janitor::clean_names())
I was stupid and coded a lot of my factor labels with "(" or "/". In general it worked for me but now I am at a point (glht(mod, linfct = c("……"))) where this doesn't wor...
Eco007
Votes: 0
Answers: 1
preserve specific characters with janitor clean_names
I am using janitor clean_names()/make_clean_names() and would like to preserve certain characters. I think replace is the argument I should be using and that works for some cases. For example, I can r...
burger
Votes: 0
Answers: 1
Making 2-way graph (ggplot2) out of a tabyl table changing values
male FALSE TRUE
0 50.0% 66.7%
1 50.0% 33.3%
structure(list(male = 0:1, `FALSE` = c("50.0%", "50.0%"), `TRUE` = c("66.7%",
"33.3%")), row.names = c(NA...
R novice
Votes: 0
Answers: 1
Using base::function with tidyverse and janitor to create several crosstables in R
I have a Data Frame with Survey Data and want to create crosstables between every dimension and diagnosis. I succesfully did this with dplyr and janitor:
library(tidyverse)
library(janitor)
survey &l...
Ntgllr
Votes: 0
Answers: 1