Posts Tagged ‘tail’

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 […]

Linux and Unix Tail Command

Tail command used to display the last 10 lines of a file in Linux or UNix systems.By default, it displays last 10 lines of the file. But, we can get last 100 or 200 lines of a file. Usage: tail [OPTION]… [FILE]… Options: Mandatory arguments to long options are mandatory for short options too.

Powered by k2schools