# FirstColToRowname.R
FirstColToRowname <- function(dat){
# if dat first column contains rownames you want, move it to
# rownames, then return dat
rownames(dat) <- dat[, 1]
dat <- dat[, -1]
return(dat)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.