[R] geoR - help for bayesian modelling

2004-03-24 Thread Ole F. Christensen
coincide = get("loc.coincide", : chol: matrix not pos def, diag[13]= -1.279220e-018 I will really appreciate any suggestion you may have. Thank you so much, Monica -- Ole F. Christensen Center for Bioinformatik Aarhus Universitet Ny Munkegade, Bygning

[R] Sweave and R output: possible to suppress "Schunk" tags in *.tex file output?

2004-03-12 Thread Ole F. Christensen
Dear Scott Why not use the function xtable() in the library of the same name for this ? Cheers Ole Hello, I would like to fill the rows of a Latex tabular environment with output from R, as in \begin{table} \caption{Table caption.} \label{tab:events} \begin{tabular}{c r r r r r} \hline <>

[R] kriging prediction intervals

2004-02-12 Thread Ole F. Christensen
intervals. Any suggestions will be very much appreciated. Thank you in advance, Monica -- Ole F. Christensen Center for Bioinformatik Aarhus Universitet Ny Munkegade, Bygning 540 8000 Aarhus C __ [EMAIL PROTECTED] mailing list https

[R] Subset function of lm(); "rolling regressions"

2004-02-09 Thread Ole F. Christensen
You need brackets in i:(i+25) 3:3+25 is not want you 3:(3+25) is what you want. to explicitly print out values in a for loop you need to use print for (i in 1:10) { print(i) } Ole -- Ole F. Christensen Center for Bioinformatik Aarhus Universitet Ny Munkegade, Bygning 540 8000 Aarhus C

[R] Change in 'solve' for r-patched

2003-10-31 Thread Ole F. Christensen
the right way'' ? My first attempt (trying to imitate the LS solution recommended by Prof. Bates) is : temp <- backsolve(chol(Omega),cbind(X,y)) betahat <- qr.coef(qr(temp[,1:ncol(X)]), temp[,ncol(X)+1]) Thank you in advance for any help Cheers Ole -- Ole F. Christensen Center

[R] Re: geoR size limit problem

2003-07-25 Thread Ole F. Christensen
of 15 #approx Thanks, Miha Staut Guessing : * geoR does not implement kriging with local neighbourhoods, but instead conditions on all data. Therefore having 2500 data points would imply having a covariance matrix of size 2500*2500 approx 6million . Not sure if this is too much, bu