var_to_rownames: 'var_to_rownames' convert a column of a data frame to be row...

Description Usage Arguments Value Author(s)

View source: R/data_clean.R

Description

var_to_rownames convert a column of a data frame to be row name.

Usage

1
var_to_rownames(df, var = "site")

Arguments

df

a data frame.

var

the column you want to put as row name, the name is quoted.

Value

a data frame.

Author(s)

Daijiang Li


daijiang/dli55 documentation built on Jan. 28, 2018, 3:48 a.m.