Learn R Programming

Rgretl (version 0.2.2)

description: printing description of a data frame

Description

Prints "description" attribute of an object if such attribute exists. Otherwise returns NULL. It is intended to be applied to data frames created by open_gdt.

Usage

description(x)
# denmark <- open_gdt("denmark")
# description(denmark)

Arguments

x

any object, supposedly a data frame created by open_gdt. If x has "description" attribute the function prints its contents; otherwise returns NULL.

Value

character vector

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
denmark <- open_gdt("denmark")
description(denmark)
# }

Run the code above in your browser using DataLab