names_pos-set: Prefix form of colnames(x)[c(2, 5, ...)] for use in pipes

names_pos<-R Documentation

Prefix form of colnames(x)[c(2, 5, ...)] for use in pipes

Description

names_pos<- rename the columns at the indexes of pos.

Usage

names_pos(x, pos) <- value

Arguments

x

A data frame.

pos

Numeric. The index of columns for name change.

value

Characters. The new column names.

Value

The data frame with new names.


qzhang503/proteoQ documentation built on Dec. 14, 2024, 12:27 p.m.