[R] ANOVA factors

2012-01-30 Thread Wolfgang Polasek
Hi all How to make from a n x m matrix with the stack command 2 categorical factors in R, the row and the col factor? Is there a function for nice graphical outputs in ANOVA? Thanks Wolfgang [[alternative HTML version deleted]] __

[R] map on irregular grids

2010-11-04 Thread Wolfgang Polasek
Hi all how to find a function for plotting polygon surface, like polgon3d(xc,yc,obs) xc, yc ... coordinates obs observations result: persp plot with grid net over the coordinates W.Polasek [[alternative HTML version deleted]] __

[R] how to find a function for plotting polygon surfaces: polgon3d(xc, yc, obs)

2010-10-30 Thread Wolfgang Polasek
I have set of n coordinates xc, yc (but not a grid!) and n observations obs at these points. Where to find a simple plot function (3D perspective) that plots a polygon (alternative: just segmented points over a map, as eg in library maps). rgl.surface(xc,yc,obs) is not working. Thanks W.Polasek

[R] Numeric, 2 ??? as a result of marix???

2009-08-29 Thread Wolfgang Polasek
Strange things are going on in R, if you reshape a matrix in R: g=gretldata[1:2,] g Empfang Versand Transit Inland AuslandSumS 1 787844.0 1307176.6 223395.4 1474726 16199.1 3809341 2 421473.1 306445.4 448801.2 1779402 14445.6 2970567 dim(g) [1] 2 6 as.vector(g) Empfang Versand

[R] script navigation in Vista

2009-08-29 Thread Wolfgang Polasek
Why is the option last changed not working if I open a script from R under Vista? Wolfgang [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

[R] Anomaly in sample() function

2009-07-13 Thread Wolfgang Polasek
Hi all Maybe someone knows a way to solve this anomaly in sample(): I like to compute a sample (n=100) with replications from a population of 2500 units but if I draw repeated samples from it I dont get what seems to be a representative sample if I look at other partitions of the population.

[R] flexible contour plots

2008-10-03 Thread Wolfgang Polasek
I want to make a contour plot estimate based on a sample of points -- a sort of smoothing.in 2D (but also in a scatterplot)? Any ideas [[alternative HTML version deleted]] __ R-help@r-project.org mailing list