R/readclp0.R

"readclp0" <-
function (filenm) 
{
    cmat <- read.table(filenm, skip = 1)
    clist <- list()
    for(i in 1:nrow(cmat)) {
	clist[[i]] <- list(low=cmat[i,2], high = cmat[i,3], 
	comp = cmat[i,1])
    }
    clist
}

Try the TIMP package in your browser

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

TIMP documentation built on May 2, 2019, 5:55 p.m.