default_label: Set Default Variable Labels from Column Names

View source: R/variable_label.R

default_labelR Documentation

Set Default Variable Labels from Column Names

Description

This internal function creates variable labels from the column names of a1 data frame.

Usage

default_label(x, ...)

## Default S3 method:
default_label(x, ...)

## S3 method for class 'data.frame'
default_label(x, ...)

Arguments

x

A data.frame

Value

Returns a data.frame with labelled columns. Labels are preserved (if already specified), otherwise generated from column names.


papaja documentation built on Oct. 30, 2024, 9:09 a.m.