nounits: Remove units from header

Description Usage Arguments Value Author(s) Examples

View source: R/camweather.R

Description

Removes the units from the data.frame names.

Usage

1
  nounits(x)

Arguments

x

A data.frame of weather data, as returned by weatherdata.

Value

The same data.frame as x with unitless names.

Author(s)

Laurent Gatto <lg390@cam.ac.uk>

Examples

1
2
3
x <- weatherdata("2012-12-25")
names(x)
names(nounits(x))

lgatto/camweather documentation built on May 21, 2019, 6:04 a.m.