Last answered:

10 Dec 2020

Posted on:

17 Jul 2020

0

Factors in R

Hi, during this lecture we set the stringAsFactor = FALSE because we had pokemon names. But we also have a column regarding the type. I think that this variable can be seen as factor, am I right? If so, is it possible to make this column only as a factor? From my understanding when we set stringAsFactor = FALSE, all strings are not considered factors anymore.
1 answers ( 0 marked as helpful)
Instructor
Posted on:

10 Dec 2020

0
Hi Lisa,  thanks for reaching out and sorry for the late response. I am unable to see the picture you've uploader, or rather what's actually on it.  To your question, yes if you set the stringAsFactor = FALSE, the strings will not be considered factors in your data frame. Let me know if there is anything further I can assist you with.    Best,  365 Eli

Submit an answer