Other arguments to be passed to geom_point Theme_minimal(), theme_classic(), theme_void(). Default value is theme_pubr().Īllowed values include ggplot2 official themes: theme_gray(), theme_bw(), FALSE never includes,įunction, ggplot2 theme name. The default, includes if any aesthetics are mapped. Should text be included in the legends? NA, If not NULL, points are added to an existing plot. Numeric vector, of length 2, specifying the x and yĬoordinates of the correlation coefficient. Values are one of "pearson", "kendall", or "spearman". Method for computing correlation coefficient. Label.x.npc = "right", label.y.npc = "top"). Stat_cor for customizing the displayed correlationĬoefficients. Ī list of arguments to pass to the function If TRUE, correlation coefficient with the If TRUE, the labels will be parsed into expressions andĭisplayed as described in ?plotmath. repelĪ logical value, whether to use ggrepel to avoid overplotting lectĬharacter vector specifying some labels to show. To specify only the size and the style, useĬharacter vector specifying font family. For example font.label =Ĭ(14, "bold", "red"). font.labelĪ vector of length 3 indicating respectively the size Can be also aĬharacter vector with length = nrow(data). The name of the column containing point labels. Numeric value specifying the size of mean points. If TRUE, group mean points are added to the This ellipse probably won't appear circular unlessĪlpha for ellipse specifying the transparency level ofįill color. The radius equal to level, representing the euclidean distance from theĬenter. "confidence": plot confidence ellipses arround group mean points as "convex": plot convex hull of a set o points. "euclid") for plotting concentration ellipses. Stat_ellipse() including one of c("t", "norm", "convex", "confidence" or types supported by The size of the concentration ellipse in normalĬharacter specifying frame type. Should the fit span the full range of the plot, or just theĭata. Used only when add != "none" and conf.int = TRUE. Parameters (color, size, linetype) for the argument 'add' Į.g.: add.params = list(color = "red"). Regression line) or "loess" (for adding local regression fitting). addĪllowed values are one of "none", "reg.line" (for adding linear Labelled only by variable grouping levels. Labels for panels by omitting variable names in other words panels will be For two grouping variables, you can useįor example panel.labs = list(sex = c("Male", "Female"), rx = c("Obs", For example, panel.labs = list(sex = c("Male", "Female")) specifies panel.labsĪ list of one or two character vectors to modify facet panel Variables for faceting the plot into multiple panels. Use ylab = FALSE toĬharacter vector, of length 1 or 2, specifying grouping Use xlab = FALSE toĬharacter vector specifying y axis labels. titleĬharacter vector specifying x axis labels. "lancet", "jco", "ucscgb", "uchicago", "simpsons" and "rickandmorty". Scientific journal palettes from ggsci R package, e.g.: "npg", "aaas", The color palette to be used for coloring or filling by groups.Īllowed values include "grey" for grey color palettes brewer palettes e.g. Labels and the x variable is used as grouping variable. If merge = "flip", then y variables are used as x tick Used only when y isĪ vector containing multiple variables to plot. Used only when y is a vectorĬontaining multiple variables to plot.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |