Search Archives
Search tips
from:Name
Search by author name, e.g. from:Duncan Murdoch
"exact phrase"
Match an exact phrase
word1 word2
Match messages containing both words
Date range
Use the date pickers to filter results to a time period
Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.
Hello List, Can anybody point me to a number-to-string formatting function? I need to convert, say, 12 to 00012. I tried format() but its too stubborn: it seems to only pad with spaces. Thank you, Your culpritNr1 -- View...
Hello everybody How do you subset a data.frame when your boundaries are a combination of explicit and implicit limits? For example, I need to subset from the fourth (explicit) to the last (implicit) column a data.frame named A...
Hi All, Does anybody know if there is a simple way to draw numbers from an empirical distribution? I know that I can plot the empirical cumulative distribution function this easy: plot(ecdf(x)) Now I want to pick a...
Hello fellow R sufferers, Is there a way to perform an appending operation in place? Currently, the way my pseudo-code goes is like this for (i in 1:1000) { if (some condition) { newRow <- myFunction(myArguments) X <- rbind(X, newRow...
Great. I tried chmod (which does not exist) but I didn't know that there was sys.chmod. Thank you. Prof Brian Ripley wrote: > > On Tue, 10 Mar 2009, ig2ar-saf1 at yahoo.co.uk wrote: > >> >> Hello fellow R-ists...
Hi Sarah and Jorge, ncol(). How elegant! Thank you. Jorge Ivan Velez wrote: > > Dear culprit > Try this: > A[ , 4:ncol(A) ] > > HTH, > > Jorge > > > > On Thu, May 21, 2009 at 12:06 PM, culpritNr1 <ig2ar-saf1 at yahoo.co.uk> > wrote...
sprintf works like a charm. I feel rather embarrassed right now. I see that when I do ?format, at the very end of the documentation, sprintf is suggested as further reading. muito obrigado culpritNr1 Henrique Dallazuanna wrote: > > Try this: > > formatC...
Thank you. That's exactly what I was looking for. Antonio, Fabio Di Narzo wrote: > > If the ecdf is 'ecdf(x)', do just: >> sample(x, size=whatever, replace=TRUE) > > HTH, > Antonio. > > 2009/1/6 culpritNr1 <ig2ar-saf1 at yahoo.co...
embarrasSing, not embarrasing. You see how I became culpritNr1? culpritNr1 wrote: > > I meant charm, not sharm! > > (how embarrasing...) > > > > > culpritNr1 wrote: >> >> OH! The joy! >> >> It worked like a sharm. >> >> Thank you. >> >> culpritNr1 >> >> >> >> >> >> baptiste auguie-2 wrote: >>> >>> >>> try >>> ?paste >>> >>> >>> baptiste >>> >>> On 10...
OH! The joy! It worked like a sharm. Thank you. culpritNr1 baptiste auguie-2 wrote: > > > try > ?paste > > > baptiste > > On 10 Mar 2009, at 20:01, ig2ar-saf1 at yahoo.co.uk wrote: > >> >> Hi again R-ists, >> >> How do you construct...
I meant charm, not sharm! (how embarrasing...) culpritNr1 wrote: > > OH! The joy! > > It worked like a sharm. > > Thank you. > > culpritNr1 > > > > > > baptiste auguie-2 wrote: >> >> >> try >> ?paste >> >> >> baptiste >> >> On 10 Mar 2009, at 20:01, ig2ar-saf1 at yahoo.co.uk...
Hello Bogdan, Put in those terms, option b looks more defensible. It sounds like a test of two proportions, sometimes called z-test. The problem is that, for that test to be used, you must be sampling from large population...
Hello Ryan, I have good and bad news for you. The good one is that there is a new rpy in active development. The bad one is that you should compile it yourself. You can get it here http://rpy...
Hello Gabor, First of all, thanks for your reply. Indeed, your strategy solves the problem of speed=). My question was, however, more of an R design question. Your suggestion of pre-allocating a big and continuous portion of memory is...
Hi Alwx99, Nobody has answered your email, so, I am left with the honour of disappointing you. In R, matrices are not dynamically allocated. If you are a C/C++/Fortran/etc programmer you know what I am talking about...
Can't find what you're looking for? Try searching with Google .