rownames2col1: add rownames as first colum of a dataframe

View source: R/io.R

rownames2col1R Documentation

add rownames as first colum of a dataframe

Description

add rownames as first colum of a dataframe: useful for xtp_atwb where rownames are to be saved

Usage

rownames2col1(x, nm = "x")

Arguments

x

data.frame

nm

name to give to the first columnù

Examples

## Not run: 
xtp_atwb(rownames2col1(Indometh),
         wb = wb, sheet = 'Indometh', label = 'tab:indometh',
         caption = 'Indometh dataset')

## End(Not run)


lbraglia/lbmisc documentation built on March 28, 2024, 10:03 a.m.