list_to_data.frame: Convert a List to a Data Frame

Description Usage Arguments Value Author(s) Examples

Description

Takes a list of equal-sized objects and returns a data frame.

Usage

1

Arguments

x

a list of vectors of equal length

Value

A data frame with listed vectors as rows.

Author(s)

Jonathan A. Greenberg, Alison R. Mynsberge

Examples

1
2
3
4
5
6
7
8
## Not run: 

x<-c(4,1:3,NA,4)
y<-c(2:4,1,1,NA)
length(x)==length(y)
list_to_data.frame(list(x,y))

## End(Not run)

climstats documentation built on May 2, 2019, 6:15 p.m.