add_observation_column: Adds a column to a data.frame

View source: R/add_observation_column.R

add_observation_columnR Documentation

Adds a column to a data.frame

Description

The new column has name atable_options('colname_for_observations') and class 'count_me'.

Usage

add_observation_column(DD)

Arguments

DD

A data.frame.

Details

Throws an error if a column of that name is already present in DD.

Value

As DD now with one more column.


atable documentation built on Sept. 17, 2023, 5:06 p.m.