1 개요[ | ]
- R dim()
- "dimension"
- 객체의 차원을 조회하거나 설정하는 R 함수
R
Reload
Copy
1:6
Loading
Copy
class( 1:6 )
Loading
Copy
dim( 1:6 )
Loading
R
Reload
Copy
diag(2)
Loading
Copy
class( diag(2) )
Loading
Copy
dim( diag(2) )
Loading
R
Reload
Copy
matrix(1:6, 2, 3)
Loading
Copy
class( matrix(1:6, 2, 3) )
Loading
Copy
dim( matrix(1:6, 2, 3) )
Loading
Copy
m <- matrix(1:6, 2, 3)
m
Loading
Copy
dim( m ) <- c(3:2)
m
Loading
R
Reload
Copy
BOD
Loading
Copy
dim(BOD)
Loading
2 같이 보기[ | ]
3 참고[ | ]
편집자 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.