similar to: Organized examples for newbyes

Displaying 20 results from an estimated 3000 matches similar to: "Organized examples for newbyes"

2003 Oct 12
7
Integration between R & latex
As an R absolute beginner and an expert (very old) statistician and latex user, I'm interested in using R to produce AUTOMAGICALLY tables in latex format. I mean I would like to have the means to build an R procedure generating **FROM INSIDE** a table or a graph to be inserted directly into latex. I've read http://hesweb1.med.virginia.edu/biostat/s/doc/summary.pdf where the author speaks
2004 Jan 19
4
Some more help needed...
As an absolute beginner, still reading "Modern Applied Statistics with S" and exercising with its examples, I'm frequently stopped by what it looks to be R poor help system (or is it my gigantic ignorance?). I mean that using help many arguments of a command seems to be given for granted like for instance: ............................... ?lines lines(x, ...) ## Default S3
2003 Oct 22
2
High frequency time-series
Having to collect hourly electricity loads and quarter-of-an-hour electricity production data for some years I think that the tidiest way of doing it is to resort to ts but I don't know how to define such a frequency starting from a set date. Leafing through r-help mail archives I've found this *ALMOST* satisfactory message: ==========================================================
2003 Dec 07
5
A hint to start ESS-xemacs
I'm trying to use ESS & xemacs under debian linux testing and KDE. My problem is that I didn't find any document in the internet explaining a **step by step** session with R and xemacs. The (wrong) procedure I follow (to no avail!) is: 1) I start R in a terminal window; 2) I start xemacs and open a file with the extension .R (test.R); 3) I issue M-x R RET and I can see an Rd new
2003 Dec 30
1
Mistake with contour...
I'm reading Ripley-Venables "Modern Applied Statistics with S - Fourth edition" , at the same time trying the examples proposed in the book using R 1.8.1 under linux. Now I'm trying the following code from the book (example code of spatial statistics at page 76) with R : | data(topo) library("spatial") topo.loess<-loess(z ~ x * y, topo, | degree= 2,span=0.25) |
2004 Jan 01
1
Barplot errors in MASS script
Reading "Modern Applied Statististics with S" and trying the corresponding examples both in the book and in ../lib/R/library/MASS/script, I'm now trying chapter 4 plotting bars with the following code on a linux box with R 1.8.1: ---------------------- library(MASS) library(lattice) options(echo=T, width=65, digits=5) lung.deaths <- aggregate(ts.union(mdeaths, fdeaths), 1)
2003 Dec 23
1
What's "latex" for?
As an R absolute beginner when I update my R 1.8.1, after installing the packages I see the various updated commands orderly running in a table on the screen where, among other things, "latex" and "example" are indicated. 1) Being an old user of latex what **exactly** the "latex" label on a command mean and how, in what context, can it be used? 2) How can I see the
2003 Oct 17
3
Strange behaviour
As an absolute beginner I'm reading and practicing with the Verzani doc to learn R. Now, being an expert latex user who wants to integrate graphical capabilities if R and latex, using the "Simple" library and the simple.scatterplot examples I had a go at: 1) Including the resulting graph into a doc.snw then compiled through sweave & latex; 2) Produce the graph in pdf format
2003 Apr 28
4
plot(pam.object) error with R-1.7.0 on Red-Hat 8.0 i686
I don't know if there is some fault in compiling or a bug of the new R-1.7.0 version: cl.pam.2 <- pam(as.dist(1-cor(mel.data)),2) plot(cl.pam.2) perform a right partitioning and silhouette plot on the old R-1.6.2 instead "Error in clusplot.default(x$diss,...... ; x is not numeric" is the output on the new R-1.7.0. Same platform: RH8.0 i686. Some suggestions? A.S.
2003 Oct 23
7
generic algorithm
Dear all, Is there any generic algorithm code for optimization implemented in R? I searched without success. Thanks, -- Zhu Wang Statistical Science Department Southern Methodist University Phone: (214)768-2453 Fax: (214)768-4035 Email: zhuw at mail.smu.edu
2004 Nov 02
4
Loadhistory problems
History files saved using nFile Save History do not open when using File Load History. I notice that when they are saved they do not seem to have a file extension and there is no option to chose an extension. Is this a problem. Other than this it seems so simple that I can't see what the problem is. I've tried using loadhistory and savehistory with the same problems. The syntax guide
2004 Nov 11
5
expressions and paste
I have written a function to plot data which will be used for various different chemistries. A simplified version is: plot_data <- function(risk,levels,chem,sd2,measure){ plot(risk, levels,main=paste ("per", sd2, measure, "\n in usual", chem)) } The problem is with the title. This works fine if the variable "chem" is just text, but if it is an expression then
2004 Feb 17
4
normality test
Hello, I am analysing several samples whose sizes are from 9 to 110. I would like to test their distribution with R, whether they are normal or not. I wonder which test for normality from R should I use . Thank you for help. Samuel Samuel BERTRAND Doctorant Laboratoire de Biomecanique LBM - ENSAM - CNRS UMR 8005 151, bd de l'Hopital 75013 PARIS Tel. +33 (0) 1 44 24 64 53 Fax +33 (0) 1
2003 Oct 29
3
long algo
Hi everyone, I ve been using R for months and find it really practical and straight forward. However (the inevitable however), I am finding it very slow for one of my operations: it s basically an itertation over i and j in a pretty big table (4* 4608). It takes 30 minutes!!!! Thanks Ps:if it can help here is the source: median1<-matrix(nrow=4608,ncol=1)
2004 Apr 02
1
which on array
Good morning ! Today I found a strange, for my poor knowledge of R, behaviour of 'which' on a matrix: HAL9000> str(cluster.matrix) num [1:227, 1:6300] 2 2 2 2 2 2 2 2 2 2 ... HAL9000> class(cluster.matrix) [1] "matrix" HAL9000> ase <- cluster.matrix[1:5,1:5] HAL9000> ase [,1] [,2] [,3] [,4] [,5] [1,] 2 2 2 0 -2 [2,] 2 2 2 0 -2 [3,]
2003 Nov 25
1
Something broken with update?
Updating my 1.8.0 R installation (>update.packages() ) I obtain the following (SORRY FOR THE LENGTH OF THE LOG BUT IT HELPS!!!): ................ downloaded 135Kb KernSmooth : Version 2.22-11 in /usr/lib/R/library Version 2.22-12 on CRAN Update (y/N)? y mgcv : Version 0.9-3.1 in /usr/lib/R/library Version 0.9-6 on CRAN Update (y/N)? y trying URL
2001 Oct 29
2
Samba 2.2.2 PDC - Win98/Winme - Can't see more than 100 users when sharing (PR#21923)
On Mon, Oct 29, 2001 at 06:15:01AM -0800, pessagno@esempi.com.ar wrote: > This is a multi-part message in MIME format. > > ------=OMAIL_ATT_0.349429895243706 > Content-Type: text/plain; charset=iso-8859-1 > > > > Hello, > First, a big thank you from Argentina for all your work (Samba team + > Samba Users). > We have a 600 pcs with Win98/Winme and a redhat 7.1
2004 Nov 24
1
Problems with samba under FreeBSD, not under Linux
Dear All, (Context: Office windows LAN; PC Pentium 3 with 128 MB, FreeBSD 5.3.) Here you are the unanswered message I sent to the FreeBSD mailing list: \BEGIN{MESSAGE} -------------------------------------------------------------------------------------- After installing and launching samba 3.0.7 daemons under my postgresql FBSD5.3 stable server at office, I'm having trouble in connecting
2003 Sep 24
1
Graph window is not available any more
Hi all, I have currently been using the book Modern Applied Statistics with S from Venables and Ripley. At chapter 6 on Linear Statistical models I wanted to produce the plot as shown by "Figure 6.1" using Whiteside's data. xyplot command seems not to work on my version of "R"(version 1.7.0) running on different environments (Win XP, Win 98 and Win 2000). I then used the
2003 Oct 14
3
Number Format
Hi A very simple question on number formats. After some calculations, some variables I have come out looking like this: -1.892972e+00 Now apart from the fact that the "e+00" is completely redundant, I would rather have the number represented without the e bit. I want to export data like this to a text file and would rather have: -1.892972 than -1.892972e+00 I have tried