R/mat2pcl.R

Defines functions mat2pcl

Documented in mat2pcl

mat2pcl <-
function(mat, tag) {
    mat.df <- as.data.frame(rbind(1, mat));
    rownames(mat.df)[[1]] <- "EWEIGHT";
    mat.pcl <- cbind(tag, mat.df);
    return(mat.pcl)}

Try the TTMap package in your browser

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

TTMap documentation built on Nov. 8, 2020, 7:30 p.m.