DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR R
changing base group in factor in r
df
$
x
<-
relevel
(
df
$
x
,
"x_a"
)
#x_a is the intended group to be set as the base group
PREVIOUS
NEXT
Tagged:
#changing
#base
#group
#factor
ADD COMMENT
Topic
COMMENT
Name
4+6 =
Submit