R/ULPring.R

`ULPrint` <- 
function(aData, nRows=10, nCols=10, Title="") {
    if (Title != "") cat(Title,"\n")
    RRng <- RCRng(nRows)
    CRng <- RCRng(nCols) 
    print(aData[
        max(RRng[1],1):min(nrow(aData),RRng[2]),
        max(CRng[1],1):min(ncol(aData),CRng[2])])
    if (nRows < nrow(aData)) cat("...")
    cat("\n")
}

Try the muStat package in your browser

Any scripts or data that you put into this service are public.

muStat documentation built on May 2, 2019, 5:12 a.m.