- Machine Learning with R Quick Start Guide
- Iván Pastor Sanz
- 38字
- 2021-06-24 16:01:30
Representing matrices
To represent a matrix of n elements with r rows and c columns, the matrix command is used:
m<-matrix(c(1,2,3,4,5,6), nrow=2, ncol=3)
m
## [,1] [,2] [,3]
## [1,] 1 3 5
## [2,] 2 4 6
推薦閱讀
- 基于LabWindows/CVI的虛擬儀器設(shè)計(jì)與應(yīng)用
- Hadoop 2.x Administration Cookbook
- 輕松學(xué)Java
- PIC單片機(jī)C語言非常入門與視頻演練
- 大數(shù)據(jù)平臺(tái)異常檢測(cè)分析系統(tǒng)的若干關(guān)鍵技術(shù)研究
- LAMP網(wǎng)站開發(fā)黃金組合Linux+Apache+MySQL+PHP
- Linux嵌入式系統(tǒng)開發(fā)
- 空間機(jī)械臂建模、規(guī)劃與控制
- FPGA/CPLD應(yīng)用技術(shù)(Verilog語言版)
- 人工智能:語言智能處理
- 大數(shù)據(jù)導(dǎo)論
- AMK伺服控制系統(tǒng)原理及應(yīng)用
- 3ds Max造型表現(xiàn)藝術(shù)
- 30天學(xué)通Java Web項(xiàng)目案例開發(fā)
- Practical Network Automation