ez.wherena | R Documentation |
visualize where all the NAs of a dataframe are
ez.wherena(
df,
id = NULL,
color = "red",
angle = 270,
basesize = 9,
xsize = 1,
ysize = 1
)
df |
data frame in wide format |
id |
a column name as id, will be shown as y axis, quoted "", eg, subject ID; if id not given, internally add row# as id |
color |
color of missing values, eg, "red" |
angle |
the x axis label angle, default=270 (vertical), suggests 330 if label is not too long |
basesize |
base font size |
xsize |
x axis label font relative size |
ysize |
y axis label font relative size |
a ggplot object (+theme_apa() to get apa format plot)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.