Learn R Programming

demography (version 2.0)

as.data.frame.demogdata: Coerce a demogdata object to a data.frame object

Description

Coerce a demogdata object to a data.frame object

Usage

# S3 method for demogdata
as.data.frame(x, ...)

Value

A data.frame object.

Arguments

x

Object to be coerced to a data frame.

...

Other arguments not used

Examples

Run this code
# coerce demogdata object to data.frame ----
as.data.frame(fr.mort)

Run the code above in your browser using DataLab