head(test) returns by default the first sixth entries in the vector “test”; head(test, 3) returns only the first three entries in the vector “test”. Check the example below: [code language=”r”] test <- c(4,7,9,6,89,45,3,5,78,23,45,0,2,12) test head(test) head(test, 3) [/code] tail(test) returns the last sixth entries in the vector “test”; tail(test, […]