powered by
Show both the head and tail of an R object
ht(x, n = 6L, m = n, returnList = FALSE, ...)
The object to show
The number of elements to list for the head
The number of elements to list for the tail
Logical. Should the result be returned as a list
additional arguments passed to functions (not used at the moment)
NULL unless returnList is set to TRUE in which case a list is returned
This function does no error checking and it is up to the user to ensure that the input is indeed symmetric, positive-definite, and a matrix.
# NOT RUN { ht(trees) ht(diag(20)) ht(1:20) ht(1:20, returnList=TRUE) # }
Run the code above in your browser using DataLab