as.GeoExperimentData: Coerces an object to a GeoExperimentData object.

Description Usage Arguments Value Note

View source: R/as_geoexperimentdata.R

Description

Coerces an object to a GeoExperimentData object.

Coerces a GeoTimeseries object to a GeoExperiment object.

Usage

1
2
3
4
as.GeoExperimentData(obj, ...)

## S3 method for class 'GeoTimeseries'
as.GeoExperimentData(obj, strict = TRUE, ...)

Arguments

obj

an object.

...

further arguments passed to methods.

strict

(flag) if FALSE, the additional columns are optional and no error is thrown if any of them is missing;

Value

A GeoExperimentData object.

A GeoExperimentData object.

Note

The GeoTimeseries object is supposed to have the columns 'period', 'geo.group', and 'assignment'. If any of these columns are missing, the corresponding columns in the resulting object will be 'NA'.


google/GeoexperimentsResearch documentation built on May 17, 2019, 7:42 a.m.