head(df) output.The behaviour is similar to print(head(x, n)). The difference is, that if
the number of rows in a data.frame/matrix or the number of elements in a list
or vector is larger than n, additional information is printed about
the total number of rows or elements respectively.
printHead(x, n = 6L)Nothing.
[data.frame | matrix | list | vector]
Object.
[integer(1)]
Single positive integer: number of rows for a matrix/data.frame or number of
elements for vectors/lists respectively.