Re: [R] OT UNIX grep question

2006-08-10 Thread francoisromain
Hi, You have to learn about regular expressions. Then you'll come up with something like : grep ^dog$ /usr/share/dict/words Cheers, Romain Selon Erin Hodgess [EMAIL PROTECTED]: Dear R People: I want to use the grep command in UNIX/Linux to check some words from the dictionary. Let's

Re: [R] OT UNIX grep question

2006-08-10 Thread francoisromain
Selon Rolf Turner [EMAIL PROTECTED]: [EMAIL PROTECTED] wrote: You have to learn about regular expressions. Then you'll come up with something like : grep ^dog$ /usr/share/dict/words *You* have to learn about shell syntax. The foregoing doesn't work; it gives an ``Illegal variable

Re: [R] OT UNIX grep question

2006-08-10 Thread francoisromain
Selon Chris wallace [EMAIL PROTECTED]: On 10/08/06, Rolf Turner [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: grep '^dog$' /usr/share/dict/words or (simpler, in my view) grep -w dog /usr/share/dict/words Chris. Well, for the record it's

Re: [R] generating random numbers from the logit-normal distribution ?

2006-01-26 Thread francoisromain
Selon Taka Matzmoto [EMAIL PROTECTED]: Hi R users I like to generate random numbers from the logit-normal distribution. Are there available simple commands I can use? I used to generate using exp(rnorm(1000,0,1))/(1+exp(rnorm(1000,0,1))) I am looking for a simple command such as

Re: [R] measuring computation time

2006-01-26 Thread francoisromain
Selon Taka Matzmoto [EMAIL PROTECTED]: Hi R users Is there any function or command for measureing computation time? For example, if I like to how long it takes to generate 10 random numbers from a normal distribution, Is there any command I can wrap up around rnorm(10,0,1) and

Re: [R] how to draw cumulative histogram

2005-11-08 Thread francoisromain
Selon Lisa Wang [EMAIL PROTECTED]: Hello there, I am using R to plot some cumulative histogram for my data. Please help in this case. Thank you Lisa Wang Hi Lisa, Here is one way (if i am right in what is a cumulative histogram), using the existing possibilities cumhist - function(x,

Re: [R] boxplot statistics

2005-10-06 Thread francoisromain
Selon bogdan romocea [EMAIL PROTECTED]: A related comment - don't rely (too much) on boxplots. They show only a few things, which may be limiting in many cases and completely misleading in others. Here are a couple of suggestions for plots which you may find more useful than the standard box

[R] AR-ARCH specification and forecast

2005-03-14 Thread francoisromain
Hello list, I use the packages tseries and fSeries to perform a time series analysis. I have a model with an AR specification for the mean and an ARCH(1) specification for the variance. I just wonder if there is something to compute a forecast with that specification and also if there is

Re: [R] randomisation

2005-02-09 Thread francoisromain
Selon Yann Clough [EMAIL PROTECTED]: Dear useRs I am looking for a way to randomise the values within a matrix: the conditions are that the sums of the rows and the sums of the columns should remain the same as in the original matrix. Any help would be appreciated Cheers Yann

[R] (sans objet)

2004-12-14 Thread francoisromain
Hello, Just look at the examples in ?persp. There is a function called trans3d defined in it that will traduce your 3D coordinates to 2D, and so you will be able to draw lines with lines function. Romain. Corey Bradshaw a écrit : I've created a perspective plot using 'persp' in the graphics

Re: [R] Question d'un débutant

2004-11-28 Thread francoisromain
Hello Didier, Please read the posting guide, it says that the R mailing list speaks in english : http://www.R-project.org/posting-guide.html And it also says to read the FAQ and An introduction to R. That covers your question. After that, try : ?mean ?by Hope this helps. Selon HOME - Didier

Re: [R] Mode?

2004-11-23 Thread francoisromain
Yhe question of finding the mode of a dataset has been discussed previously in the list not only for categorical data : search How can I get the mode in the search engine of the list. Hope this helps. Romain. Selon Uwe Ligges [EMAIL PROTECTED]: LONG Yu wrote: Dear all, I want to find

Re: [R] Lexical Scoping: eval(expr,envir=)

2004-11-18 Thread francoisromain
Hello, I'm quite new to the objet-oriented vision of life in R, but I think you are looking for ?setClass or other functions in the methods package. Selon Eric Lecoutre [EMAIL PROTECTED]: Hi R-listers, I am trying to better undertand what we would call functional paradigm use of S/R to

Re: [R] How to remove x, y labels from a plot

2004-11-16 Thread francoisromain
try : plot(rnorm(20),rnorm(20),axes=F,xlab=,ylab=) Selon [EMAIL PROTECTED]: Hi there, I need to plot an illustrative figure without ticks, x, y labels in R. I managed to get the ticks removed, but had no luck with x, y labels. Any suggestions would be much appreciated. Jin Li