Learn R Programming

clinDataReview (version 1.6.2)

setFacetLayoutWrap: Set facetting layout for 'wrap' facetting.

Description

By default, the number of columns is 2.

Usage

setFacetLayoutWrap(data, facetPars = list())

Value

Updated facetPars.

Arguments

data

Data.frame with data.

facetPars

List with facetting parameters, passed to the facetting function. Variables should be specified as character or formula. For 'wrap' facetting (facetType is 'wrap'), if the layout is not specified via nrow/ncol, 2 columns are used by default.

Author

Laure Cougnaud