Hi Lida,
Given that this is such a common question and the R FAQ doesn't really
answer it, perhaps a brief explanation will help. In R the factor class is
a sort of combination of the literal representation of the data and a
sequence of numbers beginning at 1 that are alphabetically ordered by
defa
You need to read the Introduction to R, paying particular attention to the
factors data type, which is designed for this problem.
You should also be aware that on this list failure to include a small example
of your problem in R, using plain text email (a setting in your email program),
often l
It's correct.
You need to spend some time with an R tutorial -- there are many on
the web -- and learn about how R handles factors in modeling.
?factor
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
Hi dear experts,
I have a general question in R, about the categorical variable such as
Gender(Male or Female)
If I have this column in my data and wanted to do regression model or feed
the data to seqmeta packages (singlesnp, skat meta) , would you please let
me know should I code them first ( ma
4 matches
Mail list logo