Posts Tagged ‘head’

head and tail functions in R

head and tails function in R used to get first or last parts of a vector,table, matrix, data frame or function. head() function: Used to get first parts of vector,table, matrix, data frame or function. By default, it will provide first 6 rows. tail() function: Used to get last parts of vector,table, matrix, data frame […]

Powered by k2schools