StackOverflow Questions for Tag: r-factor

Ollie
Ollie

Reputation: 117

Factors have different levels but I don't understand why

Score: 0

Views: 103

Answers: 2

Read More
josliber
josliber

Reputation: 44299

"Factor has new levels" error for variable I'm not using

Score: 43

Views: 64379

Answers: 4

Read More
larsroarf
larsroarf

Reputation: 3

How to create a new column based on information from other factor columns in R?

Score: 0

Views: 228

Answers: 1

Read More
wsda
wsda

Reputation: 1405

Coerce multiple columns to factors at once

Score: 106

Views: 182447

Answers: 12

Read More
Nick
Nick

Reputation: 177

Convert strings to factors with levels, but warn when introducing NAs

Score: 1

Views: 45

Answers: 0

Read More
Dan
Dan

Reputation: 1

Factors showing wrong number of levels

Score: 0

Views: 345

Answers: 1

Read More
C.Robin
C.Robin

Reputation: 1102

str_replace inside fct_reorder inside mutate(across())

Score: 1

Views: 64

Answers: 1

Read More
Luther_Blissett
Luther_Blissett

Reputation: 327

How to maintain factors when using plot_ly inside a function in R

Score: 0

Views: 69

Answers: 1

Read More
User
User

Reputation: 23

Why do my characters transform when I append to a vector?

Score: 2

Views: 53

Answers: 1

Read More
user21215346
user21215346

Reputation: 17

Scaling issue on raincloud plot

Score: 0

Views: 172

Answers: 1

Read More
shollaback
shollaback

Reputation: 129

Obtain counts within 3 variable factors

Score: 0

Views: 54

Answers: 2

Read More
Lenman55
Lenman55

Reputation: 39

How to change the levels of multiple factors at once

Score: 0

Views: 724

Answers: 1

Read More
seansteele
seansteele

Reputation: 683

Is there a quicker way to factor and relevel a column based on the levels in another column?

Score: 0

Views: 368

Answers: 1

Read More
at.
at.

Reputation: 52500

R group by with each grouped element associated with most common factor

Score: 0

Views: 66

Answers: 1

Read More
holala
holala

Reputation: 111

How to factorize a numeric column into user-defined intervals

Score: 1

Views: 144

Answers: 2

Read More
Rechlay
Rechlay

Reputation: 1517

Plotting with ggplot2: "Error: Discrete value supplied to continuous scale" on categorical y-axis

Score: 82

Views: 352513

Answers: 3

Read More
Marc C
Marc C

Reputation: 121

geom_boxplot(): forcing an empty level to appear

Score: 12

Views: 9842

Answers: 1

Read More
rua
rua

Reputation: 11

Why is it when I try to convert numerical variable into factor I get this problem?

Score: 0

Views: 61

Answers: 1

Read More
Village.Idyot
Village.Idyot

Reputation: 2043

Why does the as.factor() function not work in a Shiny reactive express, but works fine outside of Shiny in base R?

Score: 0

Views: 135

Answers: 1

Read More
Lara
Lara

Reputation: 119

Return a string vector instead of integer vector when combining factors

Score: 2

Views: 59

Answers: 1

Read More
PreviousPage 2Next