[R] Gelman-Rubin convergence diagnostics via coda package

2011-03-17 Thread fbielejec
Dear, I'm trying to run diagnostics on MCMC analysis (fitting a log-linear model to rates data). I'm getting an error message when trying Gelman-Rubin shrink factor plot: gelman.plot(out) Error in chol.default(W) : the leading minor of order 2 is not positive definite I take it that

[R] Generating time progressing line for Google Earth

2011-01-20 Thread fbielejec
Dear, I am trying to visualise a time-progressing line (it's supposed to represent spread patterns) using brew package and Google Earth. The idea is to have a function which takes start and end point geographic coordinates, as well as number of intervals to chop the path up, and returns the

[R] Generating time progressing line for Google Earth

2011-01-20 Thread fbielejec
Dear, I am trying to visualise a time-progressing line (it's supposed to represent spread patterns) using brew package and Google Earth. The idea is to have a function which takes start and end point geographic coordinates, as well as number of intervals to chop the path up, and returns the

[R] Loglinear models for missing data

2010-12-06 Thread fbielejec
Dear, I have the data in the following form: head(matrices_m) Location Variable Value Week 1 Africa Africa21 4 weeks 2 Asia Africa 0 4 weeks 3 Canada Africa17 4 weeks 4China Africa29 4 weeks 5 Europe AfricaNA 4 weeks 6Japan Africa68 4

[R] Generating kml lines output

2010-11-26 Thread fbielejec
Dear, I would like to generate kml file with lines (LineString) of different style (definitely color, but width would also be nice to see). However with kmlLine from maptools package I am able only to output the single first Lines object (first row of SpatialLinesDataFrame) I guess the option

Re: [R] Generating kml lines output

2010-11-26 Thread fbielejec
Dnia 2010-11-26, o godz. 17:11:22 Barry Rowlingson b.rowling...@lancaster.ac.uk napisaƂ(a): On Fri, Nov 26, 2010 at 5:03 PM, fbielejec fbiele...@gmail.com wrote: Dear, I would like to generate kml file with lines (LineString) of different style (definitely color, but width would also

[R] Reading parts of data files

2010-11-23 Thread fbielejec
Dear, I'm doing analysis where I need to work on relatively large (50-60 MB) text files, though I'm really interested only in parts with binary variables (named indicators1, indicators2, ... etc.) Every text file contains other numeric columns, but not always the same and not always in the same

[R] Reading location info from kml files

2010-11-13 Thread fbielejec
Dear, I have a bunch of kml files in the general form: Folder namediscrete rates with bayes factor larger than 3.0/name Placemark namerate1_part1/name styleUrl#rate1_style/styleUrl LineString altitudeModerelativeToGround/altitudeMode