powered by
The type of plot depends on the type of covariate: boxplot for categorical, geom_point and geom_smooth for continuous.
nlme.var.vs.cov(xpdb, covColNames, nrow = 1, ncol = 1, yVar = "WRES", ...)
List of gtable
gtable
An xpose database object.
Character vector of covariates to build the matrix.
Number of rows.
Number of columns; if ncol=1, each gtable object is treated separately.
Variable from xpdb data to build a plot.
Parameters to be passed to ggarrange()
ggarrange()
nlme.var.vs.cov( xpdb = xpdb_ex_Nlme, covColNames = c("sex", "wt", "age"), yVar = "WRES", nrow = 2, ncol = 2 )
Run the code above in your browser using DataLab