fKeepColumnAttributes: fKeepColumnAttributes

View source: R/DataFunctions.R

fKeepColumnAttributesR Documentation

fKeepColumnAttributes

Description

Copy column attributes after processing a data.frame

Usage

fKeepColumnAttributes(x, FUN, ...)

Arguments

x

data.frame to be processed

FUN

function(x::data.frame, ...) -> data.frame to be applied

...

additional arguments to FUN

Details

The columns of the resulting data.frame that match a column name in x will get the same attributes as in x.

Value

result of function(x, ...) with column attributes preserved

Author(s)

Department for Biogeochemical Integration at MPI-BGC, Jena, Germany <REddyProc-help@bgc-jena.mpg.de> [cph], Thomas Wutzler <twutz@bgc-jena.mpg.de> [aut, cre], Markus Reichstein <mreichstein@bgc-jena.mpg.de> [aut], Antje Maria Moffat <antje.moffat@bgc.mpg.de> [aut, trl], Olaf Menzer <omenzer@bgc-jena.mpg.de> [ctb], Mirco Migliavacca <mmiglia@bgc-jena.mpg.de> [aut], Kerstin Sickel <ksickel@bgc-jena.mpg.de> [ctb, trl], Ladislav <U+0160>igut <sigut.l@czechglobe.cz> [ctb]


REddyProc documentation built on May 29, 2024, 12:10 p.m.