af: Convert some columns of a data.frame to factors

View source: R/af.R

afR Documentation

Convert some columns of a data.frame to factors

Description

Conveniently convert some columns of data.frame into factors.

Usage

  af(DataFrame, Cols)

Arguments

DataFrame

a data.frame

Cols

column names or indices to be converted

Details

It performs conversion of some columns in a data.frame into factors conveniently.

Value

Returns a data.frame with converted columns.

Author(s)

Kyun-Seop Bae k@acr.kr


sasLM documentation built on Oct. 2, 2024, 9:06 a.m.