![]() ![]() ![]() Left or right for y axes, top or bottom for x axes. Seeįor position scales, The position of the axis. guideĪ function used to create a guide or its name. The default, TRUE, uses the levels that appear in the data įALSE uses all the levels in the factor. Should unused factor levels be omitted from the scale? Where NA is always placed at the far right. Missing values be displayed as? Does not apply to position scales If na.translate = TRUE, what aesthetic value should the If you want to remove missing valuesįrom a discrete scale, specify na.translate = FALSE. Unlike continuous scales, discrete scales can easily show The defaults are toĮxpand the scale by 5% on each side for continuous variables, and byĠ.6 units on each side for discrete variables. To generate the values for the expand argument. Padding around the data to ensure that they are placed some distanceĪway from the axes. Waiver() for the default labels computed by theĪ character vector giving labels (must be same length as breaks)Ī function that takes the breaks as input and returns labelsĪ character vector that defines possible values of the scale and theirĪ function that accepts the existing (automatic) values and returnsįor position scales, a vector of range expansion constants used to add some Waiver() for the default breaks (the scale limits)Ī function that takes the limits as input and returns breaks Waiver(), the default, the name of the scale is taken from the first Arguments passed on to ggplot2::discrete_scale name ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |