2022년 11월 12일 토요일

ch.40 number as a nominal variable

 easier R than SPSS with Rcmdr : Contents

ch.40 number as a nominal variable


Replace a simple integer numeric variable with a nominal variable. This is the method I used once in the text earlier.

 

‘event’ is a variable code by 0 and 1. You can leave the form as a number, change the type to a nominal variable, or name it anew.

Let’s name it this time.

 

I’ve named it as above.

 

And then it changed.

 

 


easier R than SPSS with Rcmdr : Contents

=================================================

  • R data visualization book 2
https://tinyurl.com/R-plot-II-2  simple variables
https://tinyurl.com/R-plot-II-3-4   many variables / map
https://tinyurl.com/R-plot-II-5-6   time related / statistics related
https://tinyurl.com/R-plot-II-7-8   others / reactive chart 
 

 

댓글 없음:

댓글 쓰기