- Machine Learning with R Quick Start Guide
- Iván Pastor Sanz
- 57字
- 2021-06-24 16:01:30
Factor
A vector of strings of a character is known as a factor. It is used to represent categorical data, and may also include the different levels of the categorical variable. Factors are created with the factor command:
r<-c(1,4,7,9,8,1)
r<-factor(r)
r
## [1] 1 4 7 9 8 1
## Levels: 1 4 7 8 9
推薦閱讀
- 大學計算機信息技術導論
- Ansible Configuration Management
- Mastering Spark for Data Science
- 三菱FX3U/5U PLC從入門到精通
- 21小時學通AutoCAD
- 精通MATLAB圖像處理
- Visual FoxPro 6.0數據庫與程序設計
- 數控銑削(加工中心)編程與加工
- 大數據技術入門(第2版)
- 西門子變頻器技術入門及實踐
- Machine Learning with Apache Spark Quick Start Guide
- 貫通Java Web開發三劍客
- 分析力!專業Excel的制作與分析實用法則
- 基于神經網絡的監督和半監督學習方法與遙感圖像智能解譯
- FPGA/CPLD應用技術(Verilog語言版)