search for: jingjiang

Displaying 3 results from an estimated 3 matches for "jingjiang".

Did you mean: hongjiang
2006 Dec 24
1
how to do the "double substitute" in a loop?
Hi, people I am just new to R, when writing my loop functions, I meet a problem. There are some data frames, their names is randomized, ( e.g. a1,b3,c7, etc), what should I write it when I want to see them printed together in a loop function? I have tried : > for ( df in 'a1','b3','c7') { + print(print(df)) + } the
2007 Jul 09
1
why function 'sum' within 'aggregate' need an 'index'?
Hi, people. I am using R-2.5.0 now, when tried the function aggregate with sum, it showed an error as following: > a <- gl(3,10) > b <- rnorm(30) > aggregate(b,list(a),sum) # here is the error message, it complained that an error in FUN(X[[1L]], missing "INDEX", and no defaults value. but the tapply function will be okay. > tapply(b,list(a),sum) 1 2
2009 Jan 22
1
Is there any function can be used to compare two probit models made from same data?
hi, people How can we compare two probit models brought out from the same data? Let me use the example used in "An Introduction to R". "Consider a small, artificial example, from Silvey (1970). On the Aegean island of Kalythos the male inhabitants suffer from a congenital eye disease, the effects of which become more marked with increasing age. Samples of islander males