-
Turn numeric into categorical data AdultUCI age…
http://atl-minibus.fr/?fbclid=IwAR0UjyFvb_GhU3JBMVoK-Bqs6iGXtJ22WKPRCO3se8rSJWFubpf6tDYA_9Y Turn numeric into categorical data. AdultUCI[[“age”]]
-
Two column for LaTeX from Pandoc Add twocolumn…
http://murielgilbert.com/page/19/ Two column for LaTeX from Pandoc. Add twocolumn and replace longtable with supertabular. \documentclass[twocolumn]{article} … \usepackage{supertabular} … \begin{supertabular}[c]{@{}lll@{}} … \end{supertabular} To make a figure span over two columns, use figure*. \begin{figure*}[htbp] … \end{figure*}
-
Diff sort output diff
Diff sort output. diff
-
Change the order of discrete axis Generate a…
Change the order of discrete axis. Generate a factor with reversed levels or use a new ggplot2 option. Examples. df$X1 = with(df, factor(X1, levels = rev(levels(X1)))) http://stackoverflow.com/questions/7418191/sorting-dotplot-factor-axis-in-ggplot Reverse the order of a discrete-valued axis Get the levels of the factor flevels