similar to: Batch problem

Displaying 20 results from an estimated 3000 matches similar to: "Batch problem"

2009 Oct 15
1
Discriminant plot
Hi Alejo, According to my knowledge the two plots are different because in the first one a point belongs to a group depending on its group in the data whereas in the second plot a point belongs to the group predicted by the linear discriminant analysis. I hope somebody will correct me if I am wrong. Alain Alejo C.S. wrote: > Hi Alain, this is the code: > > > library(MASS) >
2009 Apr 08
1
Is a point into an ellipse
Hi, I drew an ellipse with the package ellipse. Now I would like to know if a point is inside the ellipse. Is any R functions to do it without computing the equation of the ellipse manually? Thanks. For example, if I do "plot(ellipse(0.8), type = 'l')", I would like to know if (0,1) belongs to the drawn ellipse. Regards, Alain -- Alain Guillet Statistician and Computer
2018 Feb 06
0
Aggregate behaviour inconsistent (?) when FUN=table
Don't use aggregate's simplify=TRUE when FUN() produces return values of various dimensions. In your case, the shape of table(subset)'s return value depends on the number of levels in the factor 'subset'. If you make B a factor before splitting it by C, each split will have the same number of levels (2). If you split it and then let table convert each split to a factor, one
2010 Jun 15
1
Problem with the recode function
Hello, I am using the recode() function in Rcmdr and the result is not what I expect so I am almost sure I did something wrong but what... > test <- data.frame(x=1:10) > library(car) > recode(test$x,'1:5=0 ; else=1', as.factor.result=TRUE) [1] 0 0 0 0 0 1 1 1 1 1 Levels: 0 1 BUT > library(Rcmdr) # recode from the car package is now masked Now I recode test$x
2018 Feb 06
3
Aggregate behaviour inconsistent (?) when FUN=table
Dear R users, When I use aggregate with table as FUN, I get what I would call a strange behaviour if it involves numerical vectors and one "level" of it is not present for every "levels" of the "by" variable: --------------------------- > df <- data.frame(A=c(1,1,1,1,0,0,0,0),B=c(1,0,1,0,0,0,1,0),C=c(1,0,1,0,0,1,1,1)) >
2008 Oct 03
0
New package: expert 1.0-0
expert: Modeling Without Data Using Expert Opinion Expert opinion is a technique to do statistical modeling when data is scarse (e.g. accidents in nuclear plants) or even absent, at least for the analyst (e.g. confidential settlements in liability insurance). Opinions on the distribution of the decision random variable is sought from experts in the field. The experts give their opinion in the
2008 Oct 03
0
New package: expert 1.0-0
expert: Modeling Without Data Using Expert Opinion Expert opinion is a technique to do statistical modeling when data is scarse (e.g. accidents in nuclear plants) or even absent, at least for the analyst (e.g. confidential settlements in liability insurance). Opinions on the distribution of the decision random variable is sought from experts in the field. The experts give their opinion in the
2008 Jun 12
4
problem with function "rep"
To whom it may concern, I am currently writing a program where I need to use function rep. The results I get are quite confusing. Given two vectors A and B, I want to replicate a[1] b[1] times, a[2] b[2] times and so on. All the entries of vector B are positive integers. My problem comes from the fact that if I sum up all the elements of B, I get a certain value x(for example 10000). And if
2004 Jun 04
1
[Wish]: Add "..." argument to library function
Hello, I would find it very usefull to have the ability to load packages with options. Consider for example the SciViews package Philippe and me are working on. When loading on Windows, it automatically loads the associated GUI executable. It should be convenient to have an option not to load the exe but still have an access to the R functions of the package. For that, I think a simple change
2013 Mar 20
3
Introduction to R. Any such documentation in Vietnamese?
Dear fellow users Are there any Vietnamese language resources for beginners of R? If so, I would be interested in hearing from people who have had experience with them and which are better (if there is more than one). I am involved with an aid project in Vietnam, and would like to move the scientists involved from using Excel for 'analysis' to R. Thanks .... Peter Alspach The
2002 Jun 20
1
Argument visible of addTaskCallback
Hello, I have a question about addTaskCallback It is said that the argument visible allows to know wether the result of the top-level evaluation was printed or not. Nevertheless, in the following example, I encountered a problem, as it seems not all printed objects are visible... Could someone tell me where is the tip? TIA
2004 Nov 09
2
do.call invoking a function with multiple arguments
Hi users, I am not sure to understand the help page about do.call. -- do.call(what, args) args: a _list_ of arguments to the function call. The 'names' attribute of 'args' gives the argument names. -- If we take the following sample data: > (tab=as.data.frame(table(factor(1:10)))) Var1 Freq 1 1 1 2 2 1 3 3 1 4 4 1 5 5
2004 Oct 19
0
R2HTML version 1.4-3
Hi useRs, I have uploaded on CRAN R2HTML version 1.4-3, which should be available soon for your favorite platform. For R 2.0.0, I had to rewrite some parts of the code so that it works. I did that quickly (maybe too), letting some bugs. Now, this is mere the good R 2.0 version, with some new functionalities: - HTML.matrix and HTML.data.frame now can use several new output options as they
2004 Oct 19
0
R2HTML version 1.4-3
Hi useRs, I have uploaded on CRAN R2HTML version 1.4-3, which should be available soon for your favorite platform. For R 2.0.0, I had to rewrite some parts of the code so that it works. I did that quickly (maybe too), letting some bugs. Now, this is mere the good R 2.0 version, with some new functionalities: - HTML.matrix and HTML.data.frame now can use several new output options as they
2004 Nov 23
0
merge.list proposal
Hi R-devel, Today I was needing a way to "merge" two different lists (see the example for my definition of merge). I didn't find anything relevant using different search methods. So, here is my proposal to add a list method for "merge". Best wishes, Eric PS: AFAIK, there still is no place for code snipplets. I am not sure this mail doesn't suite R-devel. If not,
2004 Apr 21
0
R2HTML update
Hi to all R users, I have just uploaded in CRAN R2HTML 1.3, latest update of the R2HTML package, so that it should soon be available for your favorite platform. CHANGELOG: - Fixed some user-contributed bugs. - More CSS styles are defined, so that it's possible to change the whole look-and-feel of outputs / Add some CSS sample files. - Added HTMLstem to produce a stem-and-leaf plot (as
2004 Apr 21
0
R2HTML update
Hi to all R users, I have just uploaded in CRAN R2HTML 1.3, latest update of the R2HTML package, so that it should soon be available for your favorite platform. CHANGELOG: - Fixed some user-contributed bugs. - More CSS styles are defined, so that it's possible to change the whole look-and-feel of outputs / Add some CSS sample files. - Added HTMLstem to produce a stem-and-leaf plot (as
2004 May 26
0
Once again in search of memory
Hello any R user, Working on R 1.8.1 or R 1.9 on Windows, 256 Mb RAM. I am trying to debug/correct/speedup the execution of one of our student's program. Basically, we perform simulations. R is launched with high memory-limits. One execution of the program requires nearly 200 Mbs and is OK the first time. Then, launching it again does strange things: seen from Windows manager, the RAM
2005 Jun 14
0
c(recursive=TRUE)
Hi R users, I am currently using c(...,recursive=TRUE) to handle list-structured objects. This allows to represent something like: > l1 = list(level1=1,level2=list(sub1=1,sub2=2)) as: > (l1names = names(c(l1,recursive=TRUE))) [1] "level1" "level2.sub1" "level2.sub2" Then, one can use: > (l1names = sapply(l1names,FUN=function(element)
2009 Jul 13
2
Problems in plotting with abline
Dear R-users, I am using R(a package igraph) to calculate certain topological features of networks. When I try to draw a plot between these features I get an error. Following is the code I am using : *> plot(met_eco_deg,met_eco_bet) > lmout<-lm(met_eco_bet ~ met_eco_deg) > abline(lmout) Error in int_abline(a = a, b = b, h = h, v = v, untf = untf, ...) : plot.new