qheat(mat, low = "white", high = "darkblue", values = FALSE, digits = 1, text.size = 3, text.color = "grey40", xaxis.col = "black", yaxis.col = "black", order.by = NULL, grid = "white", by.column = TRUE, auto.size = FALSE, mat2 = NULL, plot = TRUE, facet.vars = NULL, facet.flip = FALSE, diag.na = FALSE, diag.values = "", ...)"qheat"(mat, low = "white", high = "darkblue", values = FALSE, digits = 1, text.size = 3, text.color = "grey40", xaxis.col = "black", yaxis.col = "black", order.by = NULL, grid = "white", by.column = TRUE, auto.size = FALSE, mat2 = NULL, plot = TRUE, facet.vars = NULL, facet.flip = FALSE, diag.na = FALSE, diag.values = "", ...)"qheat"(mat, low = "white", high = "darkblue", values = FALSE, digits = 1, text.size = 3, text.color = "grey40", xaxis.col = "black", yaxis.col = "black", order.by = NULL, grid = "white", by.column = TRUE, auto.size = FALSE, mat2 = NULL, plot = TRUE, facet.vars = NULL, facet.flip = FALSE, diag.na = FALSE, diag.values = "", ...)"qheat"(mat, low = "white", high = "darkblue", values = FALSE, digits = 1, text.size = 3, text.color = "grey40", xaxis.col = "black", yaxis.col = "black", order.by = NULL, grid = "white", by.column = TRUE, auto.size = FALSE, mat2 = NULL, plot = TRUE, facet.vars = NULL, facet.flip = FALSE, diag.na = FALSE, diag.values = "", ...)"qheat"(mat, low = "white", high = "darkblue", values = FALSE, digits = 1, text.size = 3, text.color = "grey40", xaxis.col = "black", yaxis.col = "black", order.by = NULL, grid = "white", by.column = TRUE, auto.size = FALSE, mat2 = NULL, plot = TRUE, facet.vars = NULL, facet.flip = FALSE, diag.na = FALSE, diag.values = "", ...)"qheat"(mat, low = "white", high = "darkblue", values = FALSE, digits = 1, text.size = 3, text.color = "grey40", xaxis.col = "black", yaxis.col = "black", order.by = NULL, grid = "white", by.column = TRUE, auto.size = FALSE, mat2 = NULL, plot = TRUE, facet.vars = NULL, facet.flip = FALSE, diag.na = FALSE, diag.values = "", ...)"qheat"(mat, low = "white", high = "darkblue", values = FALSE, digits = 1, text.size = 3, text.color = "grey40", xaxis.col = "black", yaxis.col = "black", order.by = NULL, grid = "white", by.column = TRUE, auto.size = FALSE, mat2 = NULL, plot = TRUE, facet.vars = NULL, facet.flip = FALSE, diag.na = FALSE, diag.values = "", ...)"qheat"(mat, low = "white", high = "darkblue", values = FALSE, digits = 1, text.size = 3, text.color = "grey40", xaxis.col = "black", yaxis.col = "black", order.by = NULL, grid = "white", by.column = TRUE, auto.size = FALSE, mat2 = NULL, plot = TRUE, facet.vars = NULL, facet.flip = FALSE, diag.na = FALSE, diag.values = "", ...)
word_stats
and question_type
.TRUE
the cell values will be included on
the heatmap.values
is TRUE
.values
is
TRUE
.values
is TRUE
.-
) before the column name.NULL
to remove the grid).TRUE
applies scaling to the column. If
FALSE
applies scaling by row (use NULL
to turn off scaling).TRUE
the visual will be resized to
create square cells.mat
that will be
used for cell labels if values
is TRUE
.TRUE
the plot will automatically plot.
The user may wish to set to FALSE
for use in knitr, sweave, etc.
to add additional plot layers.TRUE
the direction of the faceting
is reversed.TRUE
and mat
is a symmetrical
matrix the diagonals are set to NA
. This is useful with correlation
matrices because the diagonal of ones do not affect the scaling of the
heatmap.diag.na
is set to TRUE
. Default is to not print a value.A quick heatmap function for visualizing typical qdap dataframe/matrix outputs.
diversity Method for qheat
termco Method for qheat
word_stats Method for qheat
character_table Method for qheat
question_type Method for qheat
pos_by Method for qheat
qheat
is useful for finding patterns and anomalies in large
qdap generated dataframes and matrices.
qheat
is a fast way of working with data formats
produced by qdap. The function isn't designed to be extended beyond
exploratory qdap usage.
## <strong>Not run</strong>: # dat <- sentSplit(DATA, "state") # ws.ob <- with(dat, word_stats(state, list(sex, adult), tot=tot)) # qheat(ws.ob) # qheat(ws.ob) + coord_flip() # qheat(ws.ob, order.by = "sptot", # xaxis.col = c("red", "black", "green", "blue")) # qheat(ws.ob, order.by = "sptot") # qheat(ws.ob, order.by = "-sptot") # qheat(ws.ob, values = TRUE) # qheat(ws.ob, values = TRUE, text.color = "red") # qheat(ws.ob, "yellow", "red", grid = FALSE) # qheat(mtcars, facet.vars = "cyl") # qheat(mtcars, facet.vars = c("gear", "cyl")) # qheat(t(mtcars), by.column=FALSE) # qheat(cor(mtcars), diag.na=TRUE, diag.value="", by.column=NULL, values = TRUE) # # dat1 <- data.frame(G=LETTERS[1:5], matrix(rnorm(20), ncol = 4)) # dat2 <- data.frame(matrix(LETTERS[1:25], ncol=5)) # qheat(dat1, values=TRUE) # qheat(dat1, values=TRUE, mat2=dat2) # ## <strong>End(Not run)</strong>