tarbes rencontres femmes How to rank data in R.
rank(a)
Then how to rank the data in reverse order?
rand(-a)
tarbes rencontres femmes How to rank data in R.
rank(a)
Then how to rank the data in reverse order?
rand(-a)
Vim folding tips.
zf: create a manual fold
zd: remove a manual fold
zM: overview
zR: detail
zo: open fold
zc: close fold
:mkview save fold
:loadview load fold
http://www.linux.com/learn/tutorials/442438-vim-tips-folding-fun
View very large images.
http://zoom.it/
Select random contents from a file
Sort
sort -R infile | head -n 3000
Perl
perl -n -e 'print if (rand > 0.1)' infile
Process multiple files in a directory by Makefile.
SOURCES := $(wildcard *_conversion.txt) TARGETS := $(patsubst %_conversion.txt, %_uniq.txt, $(SOURCES)) .PHONY: all all: $(TARGETS) %_uniq.txt: %_conversion.txt > command $< > $@
scatter plot equivalent to pairs() by ggplot.
http://stackoverflow.com/questions/3735286/pairs-equivalent-in-ggplot2
Hadley recommends using the GGally package instead. It has a function, ggpairs that is a vastly improved pairs plot (lets you use non-continuous variables in your data frames). It plots different plots in each square, depending on the variable types:
Probability density function in R
http://www.cyclismo.org/tutorial/R/probability.html
Chi square goodness-of-fit test in R
http://ww2.coastal.edu/kingw/statistics/R-tutorials/goodness.html
Chi square independence test in R
http://ww2.coastal.edu/kingw/statistics/R-tutorials/independ.html
ANOVA in R
http://personality-project.org/r/r.anova.html
Use Inkscape as a command line tool to batch convert svg to pdf files.
ls *svg | xargs -I{} inkscape -z -f {} -A {}.pdf
Display file system status in Unix
stat
Catalogue inspiration