How to remove redundant dimension information using the drop function in the R programming language. More details: statisticsglobe.com/drop-func...
R code of this video:
mat <- matrix(1:4, ncol = 4) # Create example matrix
mat # Print example matrix
dim(mat) # Check dimensions
mat_drop <- drop(mat) # Apply drop function
mat_drop # Return output of drop function
dim(mat_drop) # Check dimensions
Follow me on Social Media:
Facebook - Statistics Globe Page: / statisticsglobecom
Facebook - R Programming Group for Discussions & Questions: / statisticsglobe
Facebook - Python Programming Group for Discussions & Questions: / statisticsglobepython
LinkedIn - Statistics Globe Page: / statisticsglobe
LinkedIn - R Programming Group for Discussions & Questions: / 12555223
LinkedIn - Python Programming Group for Discussions & Questions: / 12673534
Twitter: / joachimschork
Music by bensound.com
Негізгі бет drop Function in R (Example) | Delete Redundant Dimensions & Extent Information | Check Using dim()
Пікірлер: 2