Learn R Programming

magclass (version 3.74)

quitte-class: Class "quitte" ~~~

Description

The quitte class is a more standardized data.frame format. is.quitte tests if x is an quitte-object, as.quitte transforms x to an quitte-object (if possible).

Usage

is.quitte(x, warn=TRUE) as.quitte(x)

Arguments

x
An object that should be either tested or transformed as/to an quitte-object.
warn
Boolean which determines whether warnings should be shown in the case that the class attribute of the object is "quitte" but it actually does not follow the quitte standard. If the object does no fullfill all quitte standards is.quitte will return FALSE in any case.

See Also

as.magpie

Examples

Run this code
showClass("quitte")

data(population_magpie)
q <- as.quitte(population_magpie)
is.quitte(q)
m <- as.magpie(q)

Run the code above in your browser using DataLab