dir.hist | R Documentation |
Accepts a numeric vector and writes a histogram in EPS format to a specified file. Allows for setting all values greater than a given quantile to the quantile value. Any folders in the path that do not exist are created.
dir.hist(
x,
file,
breaks = "FD",
quant = 1,
path = ".",
append.date = T,
col = "gray28",
border = F,
main = "",
xlab = "length (bp)",
...
)
x |
A numeric vector. |
breaks |
A |
quant |
The maximum quantile to be plotted. |
path |
The path to the output file. |
append.date |
Whether to write the output to a directory with today's date. |
... |
Additional arguments to |
filename |
The output file name. |
dir.eps
, hist
dir.hist(1:100,"example",path="path/to",quant=.9)
plot(1:5,1:5)
dev.off()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.