search for: qu

Displaying 20 results from an estimated 1053 matches for "qu".

Did you mean: equ
2020 Sep 21
2
Help with the Error Message in R "Error in 1:nchid : result would be too long a vector"
Hello everyone, I am using *mlogit* to analyse my choice experiment data. I have *3 alternatives* for each individual and for each individual I have *9 questions*. I have a response from *516 individuals*. So it is a panel of 9*516 observations. I have arranged the data in long format (it contains 100 columns indicating different variables and identifiers). In mlogit I tried the following command--- *mldata<- mlogit.data(mydata, shape = "lo...
2011 Jan 10
2
Step command failing for lm function
...selection to see if things can be cleaned up a bit. Calling the step function returns ONE iteration (all the variables) and then stops. No errors are reported. Can someone suggest why this might not be working as expected. (Normally this function steps through all the variables to find the "best" combination.) Thanks! -N
2016 Apr 14
4
Bug in by() function which works for some FUN argument and does not work for others
...Indira Gandhi Krishi Vishwavidyalaya, Raipur, Chhattisgarh, India. While taking classes, I found the *by() *function producing following error when I use FUN=mean or median and some other functions, however, FUN=summary works. Given below is the output of the example I used on a built-in dataset "mtcars", along with error message reproduced herewith: > by(data=mtcars, INDICES=list(mtcars$am), FUN=mean) : 0 [1] NA ------------------------------------------------------------ : 1 [1] NA Warning messages: 1: In mean.default(data[x, , drop = FALSE], ...) : argument is not numeric or...
2016 Apr 14
0
Bug in by() function which works for some FUN argument and does not work for others
...Raipur, > Chhattisgarh, India. > > While taking classes, I found the *by() *function producing following error > when I use FUN=mean or median and some other functions, however, > FUN=summary works. > > Given below is the output of the example I used on a built-in dataset > "mtcars", along with error message reproduced herewith: > > > by(data=mtcars, INDICES=list(mtcars$am), FUN=mean) > : 0 > [1] NA > ------------------------------------------------------------ > : 1 > [1] NA > Warning messages: > 1: In mean.default(data[x, , drop =...
2009 Aug 30
2
error with summary(vector)??
Hello, I get > summary(E) level nodes ave_nodes time Min. : 1 Min. : 1.00 Min. : 10.71 Min. : 0.0000 1st Qu.: 237414 1st Qu.: 2.00 1st Qu.: 19.70 1st Qu.: 0.0100 Median : 749229 Median : 3.00 Median : 27.01 Median : 0.0100 Mean : 767902 Mean : 49.85 Mean : 98.89 Mean : 0.2296 3rd Qu.:1111288 3rd Qu.: 7.00 3rd Qu.: 80.38 3rd Qu.: 0.0300 Max. :209715...
2004 Mar 11
3
widen the screen place
...gh in R. My true computer monitor is very wide, so I wish that I can line up the text when I stretch it wide. i.e.: This is typical R returns: > summary(a) V1 V2 V3 V4 F:625 Min. :20020103 EMC : 34 Min. : 9300300 L:944 1st Qu.:20020530 BRW : 27 1st Qu.: 9323865 N:615 Median :20020807 Q : 23 Median : 9355230 Mean :20020761 DSS : 22 Mean : 9404488 3rd Qu.:20021015 LU : 20 3rd Qu.: 9410738 Max. :20021231 SLR : 20 Max. :13191609...
2016 Apr 15
4
Bug in by() function which works for some FUN argument and does not work for others
Dear All, Thanks for your help. However, I would like to draw your attention to the following: Actually, I was replicating the Example 2.3, using the dataset "brainsize.txt" given in Section 2.3.3 ("Summarize by group") at page 55, of a famous book "R by Example" written by "Jim Albert and Maria Rizzo" published in Springers (2012) in a Use R! Series. The output of the by() function printed in the book is being reprod...
2006 Feb 21
1
feature not available
Hi I am working with this data: my data summary is: > summary(spi) open high low close volume Min. :4315 Min. :4365 Min. :4301 Min. :4352 Min. : 0 1st Qu.:4480 1st Qu.:4497 1st Qu.:4458 1st Qu.:4475 1st Qu.:11135 Median :4609 Median :4631 Median :4594 Median :4614 Median :14439 Mean :4620 Mean :4640 Mean :4599 Mean :4620 Mean :16590 3rd Qu.:4773 3rd Qu.:4796 3rd Qu.:4753 3rd Qu.:4766 3rd Qu.:18294...
2006 Dec 14
5
Nicely formatted tables
If I use latex(summary(X)) where X is a data frame with four variables I get something like Rainfall Education Popden Nonwhite Min. :10.00 Min. : 9.00 Min. :1441 Min. : 0.80 1st Qu.:32.75 1st Qu.:10.40 1st Qu.:3104 1st Qu.: 4.95 Median :38.00 Median :11.05 Median :3567 Median :10.40 Mean :37.37 Mean :10.97 Mean :3866 Mean :11.87 3rd Qu.:43.25 3rd Qu.:11.50 3rd Qu.:4520 3rd Qu.:15.65 Max. :60.00 Max. :12.30 Max. :9699 Max...
2015 May 08
3
pregunta
Estimados Al dirigir la lectura de un folder tYA1.csv me da este error y no me percato del motivo, adjunto archivo. Espero su ayuda Saludos Jos? > setwd("D:/Public/Documents/R/bioimpedancia") > a<-read.csv("tYA1.csv",header=TRUE, sep=",", dec=".") Error in read.table(file = file, header = header, sep = sep, quote = quote, : more columns than column names ------------ próxima parte ------------ Se...
2016 Apr 15
0
Bug in by() function which works for some FUN argument and does not work for others
> On Apr 15, 2016, at 1:16 AM, Akhilesh Singh <akhileshsingh.igkv at gmail.com> wrote: > > Dear All, > > Thanks for your help. However, I would like to draw your attention to the > following: > > Actually, I was replicating the Example 2.3, using the dataset > "brainsize.txt" given in Section 2.3.3 ("Summarize by group") at page 55, > of a famous book "R by Example" written by "Jim Albert and Maria Rizzo" > published in Springers (2012) in a Use R! Series. The output of the by() > function printed in the book...
2008 Mar 17
1
summary of summaries
Hi, I have a few hundreds files with numerical information of different length but with the same column structure. I use the following code to get summary statistics fplist <- list.files(pattern=".*analysis") for (fp in fplist){ x2 <- read.delim(fp) summary(x2) } Summary gives something like: summary (x2) V1 V2 V3 V4 V5 V6 V7 V8 V9 Min...
2016 Apr 16
2
Bug in by() function which works for some FUN argument and does not work for others
Dear All, I have got your core message, that it is my responsibility to determine whether any particular function in my version of R satisfies the language requirements at the time of your use. Jim Albert and Maria Rizzo must have used their code, which was permitted in the R-code of their time (2012). Therefore, I have now modified my R-code, as per R-3..2.4 version, according to my requirement as follows, which is working for my 'brain' data set...
2006 Jan 04
1
Difficulty with 'merge'
Dear R-helpers, Happy New Year to all the helpful members of the list. Here is the behavior I'm looking for: > v1 <- c("a","b","c") > n1 <- c(0, 1, 2) > v2 <- c("c", "a", "b") > n2 <- c(0, 1 , 2) > (f1 <- data.frame(v1, n1)) v1 n1 1 a 0 2 b 1 3 c 2 > (f2 <- data.frame(v2, n2)) v2 n2 1 c 0 2 a 1 3 b 2 >...
2012 Jun 13
1
How to calculate the statistcs for extracted region?
I have a binary file(a) with size of (360 720 )for the globe.I wrote the code given below to read and extract an area (south america)from that file. when I use summary for the whole file I got: summary(a, na.rm=FALSE) Min. 1st Qu. Median Mean 3rd Qu. Max. NA's 0.00 1.00 3.00 4.15 7.00 20.00 200083 . But when I used summary for the region(b) which I extracted, I got many V1,V2, V3. Which is not right I should have got one line (as for a )not many V1,V2. Here is the code: X <- c(200:300) Y &...
2005 Mar 10
2
Logistic regression goodness of fit tests
...cannot be solved at the same level of thinking we were at when we created them. (Albert Einstein) ---------------------------- summary(datamatrix) siteid block recordyear cclo 564-125: 5 Min. :1.000 Min. :2000 Min. :0.0000 564-130: 5 1st Qu.:2.000 1st Qu.:2001 1st Qu.:1.0000 564-135: 5 Median :3.000 Median :2002 Median :1.0000 564-140: 5 Mean :3.042 Mean :2002 Mean :0.7509 564-145: 5 3rd Qu.:4.000 3rd Qu.:2003 3rd Qu.:1.0000 564-150: 5 Max. :5.000 Max. :2004 Max. :1.0000 (...
2016 Apr 17
0
Bug in by() function which works for some FUN argument and does not work for others
> On Apr 16, 2016, at 2:03 AM, Akhilesh Singh <akhileshsingh.igkv at gmail.com> wrote: > > Dear All, > > I have got your core message, that it is my responsibility to determine whether any particular function in my version of R satisfies the language requirements at the time of your use. Jim Albert and Maria Rizzo must have used their code, which was permitted in the R-code of their time (2012). > > Therefore, I have now modified my R-code, as per R-3..2.4 version, according to my requirement as follows, which is working for my 'brain...
2009 Aug 05
0
get NA from outlier{randomForest}
Hi I have a data frame like this: V1 V2 V3 V4 Min. :0.01146 Min. :0.0006714 Min. :0.004912 Min. : 0 1st Qu.:0.03938 1st Qu.:0.0072805 1st Qu.:0.052719 1st Qu.:1150 Median :0.04224 Median :0.0077581 Median :0.056388 Median :1150 Mean :0.04010 Mean :0.0074669 Mean :0.052602 Mean :1173 3rd Qu.:0.04250 3rd Qu.:0.0082344 3rd Qu.:0.056388 3rd Qu.:1150 Max. :0.04282 Max....
2009 Dec 19
3
DROP and KEEP statements in R
What is equivalent to DROP or KEEP statements of SAS in R? -- This message was sent on behalf of sarjinder at yahoo.com at openSubscriber.com http://www.opensubscriber.com/messages/r-help at r-project.org/topic.html
2011 Jul 25
1
lme convergence error
...+ C11 + C12, random =~ 1 + time | IID, data = d) Error in lme.formula(cd4 ~ time + genBI + genBI:time + PC1 + : nlminb problem, convergence error code = 1 message = false convergence (8) >From iteration to iteration, genBI is the only variable which changes and it is a numerical variable equal to 1, 2, or 3 for a given IID. When I remove the interaction term genBI:cd4years there is no problem with convergence. Also, I have played around with scaling time (days to years, eg) which can solve the problem but then leads to convergence issues in other iterations. When I shift the time (say...