remove_attributes: remove_attributes

View source: R/Functions_Generic.R

remove_attributesR Documentation

remove_attributes

Description

This function clears attributes

The parameters can be shorted to lat, lon if space is short.

Usage

remove_attributes(x)

Arguments

x

the variable which to remove the attributes

Examples


df <- list(
  fun = function(x){sum(x)},
  fun1 = function(x){mean(x)},
  fun2 = function(x){sd(x)} 
)

df$fun <- remove_attributes(df$fun)

df <- lapply(df, remove_attributes)



JerryHMartin/waterDataSupport documentation built on Jan. 25, 2023, 2:36 a.m.