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
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
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
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
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
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,
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
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
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
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
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
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
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
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
14 matches
Mail list logo