Skip to content

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.

15 results for “from:culpritNr1”

Paddding an integer with zeros
culpritNr1 · Oct 21, 2008 · r-help

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...

subsetting of a data.frame
culpritNr1 · May 21, 2009 · r-help

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...

Drawing from an empirical distribution
culpritNr1 · Jan 6, 2009 · r-help

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...

R: "in-place" appending to a matrix.
culpritNr1 · Oct 15, 2008 · r-help

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...

File permissions
culpritNr1 · Mar 10, 2009 · r-help

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...

subsetting of a data.frame
culpritNr1 · May 21, 2009 · r-help

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...

Paddding an integer with zeros
culpritNr1 · Oct 21, 2008 · r-help

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...

Drawing from an empirical distribution
culpritNr1 · Jan 6, 2009 · r-help

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...

system() not accepting strings from cat()
culpritNr1 · Mar 10, 2009 · r-help

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...

system() not accepting strings from cat()
culpritNr1 · Mar 10, 2009 · r-help

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...

system() not accepting strings from cat()
culpritNr1 · Mar 10, 2009 · r-help

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...

a general question
culpritNr1 · Mar 10, 2009 · r-help

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...

Calling R functions from Python
culpritNr1 · Jan 9, 2009 · r-help

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...

R: "in-place" appending to a matrix.
culpritNr1 · Oct 16, 2008 · r-help

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...

Inserting a new row in a matrix
culpritNr1 · Oct 21, 2008 · r-help

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 .