Thursday, December 21, 2006

R documentation with graphics



R documentation with graphics

specifying printer lpr


lpr -#2 -sP dj thesis.txt
This command will create a symbolic link to the file thesis.txt in the spool
directory for the printer named dj, where it would be processed by lpd.
It would then print a second copy of thesis.txt.

Monday, December 18, 2006

bold greek letters latex



% use bm package
\usepackage{bm}

% inside math mode
\[ ... {\bm beta} ... \]

better than \boldmath because it works within math mode directly,
no need to use in text mode.

Friday, December 15, 2006

logit - expit


%% maps (0,b) into (-inf,inf)
%% inverse of expit
%% usage: logit(x,b) or logit(x)
%% b defaults to 1
function y = logit(x,b)
if nargin<2
b = 1;
end
y = log( x ./ (b - x) );

%% maps (-inf, inf) into (0,b)
%% inverse of logit
%% usage: expit(x,b) or expit(x)
%% b defaults to 1
function y = expit(x,b)
if nargin<2
b = 1;
end
y = b./(1+exp(-x)) ;

Monday, December 11, 2006

xcdroast

to copy files to CD in linux
> xcdroast

Tuesday, December 5, 2006

psnup

psnup -d -8 oldfile.ps newfile.ps
many postscript pages in one

Contributors

google