similar to: Help in Compliling user -defined functions in Rpart

Displaying 20 results from an estimated 100 matches similar to: "Help in Compliling user -defined functions in Rpart"

2012 Nov 14
1
Winsorisation function
Dear all, someone can find what I doing wrong with the following function. It is for winsorisation mean. At my eyes it is ok, but for reason I sometimes it is changing the results when I change the k value. wmean <- function (x, na.rm = FALSE, k = 1) { if (any(i.na <- is.na(x))) { if (na.rm) x <- x[!i.na] else return(NA) } n
2001 Mar 22
2
Two-argument functions in tapply()
Hello to all. My question is very simple... Let's say we have a data frame with three variables (columns): X, W and F. X is a numeric variable (e.g. like income) F is a factor (e.g. with 2 levels) and W is a case weight (data are from household sample but an individual was interviewed, weights are functions of number of persons in the house hold). I wanted to compute a means of X weighted
1998 Jun 26
3
Error while compliling
Hi, Please help me resolve this problem. While compiling samba-1.9.18p8, I got this message: cc: Internal compiler error: program cc1 got fatal signal 6 make: *** [smbpass.o] Error 1 I have re-edited the Makefile, and recompiled several times. Each time I got the same error message, at exactly this same spot. Is this a problem with my gcc compiler? which the message seems to imply. But I have
2007 Feb 09
1
[Debian Sarge 3.1] Compliling NUT 2.1 SVN failed with automake tools (version 1.4-p6)
Hello, I've tried NUT trunk SVN branch some time ago in order to use it with a Blazer USB UPS (megatec protocol driver supported by Carlos Rodriguez). This UPS wasn't yet supported by NUT but I was able to compile and test the software on my Debian. I download in order to try latest Rev: 805 today to see if USB support for my UPS where better but the 'autoreconf' command give me
2007 Jun 12
1
Post-hoc tests for interactions of between- and within-subject factors
Is there a standardized way in R to perform post-hoc comparisons for main adn interaction effects of between- and within-subject factors? For instance, I have a data set of performance of adults of different age groups (20-30, 60-70,70-80) performing a WM task (n-back, with n=1,2,3,4) in two different conditions (while sitting or walking). The corresponding ANOVA produces the following output
2007 Feb 18
3
User defined split function in rpart
Dear R community, I am trying to write my own user defined split function for rpart. I read the example in the tests directory and I understand the general idea of the how to implement user defined splitting functions. However, I am having troubles with addressing the data frame used in calling rpart in my split functions. For example, in the evaluation function that is called once per node,
2019 Jul 13
2
Mitigating Stalls Caused by Call Deparse on Error
When large calls cause errors R may stall for extended periods.? This is particularly likely to happen with `do.call`, as in this example with a 24 second stall: ??? x <- runif(1e7) ??? system.time(do.call(paste0, list(abs, x)))? # intentional error ??? ## Error in (function (..., collapse = NULL)? : ??? ##?? cannot coerce type 'builtin' to vector of type 'character' ??? ##
2019 Jul 14
2
[External] Mitigating Stalls Caused by Call Deparse on Error
Luke, thanks for considering the issue.? I would like to try to separate the problem into two parts, as I _think_ your comments address primarily part 2 below: 1. How can we avoid significant and possibly crippling ?? stalls on error with these non-standard calls. 2. What is the best way to view these non-standard calls. I agree that issue 2. requires further thought and discussion under a
2006 Oct 10
2
find weighted group mean
HI, I am trying to figure out an efficient way to calculate group means and associate each entry with it. I made up an example: A = rep(rep(0:1,each=2),3) B = rep(rep(0:1,4),3) C = rep(rep(c(0,0,1,1),2),3) X =cbind(rnorm(24,0,1),runif(24,0,1),A,B,C) A B C [1,] -1.92926469 0.32213127 0 0 0 [2,] -0.83935617 0.77794096 0 1 0 [3,] -1.27799751
2019 Jul 16
1
[External] Mitigating Stalls Caused by Call Deparse on Error
We also have a few other suggestions and wishes about backtrace storage and display on the one hand, and display of constructed calls on the other hand. Perhaps it would be better to open a different wishlist item for traceback() to keep the discussions focused? FWIW I think deparsing backtraces lazily is a great idea. Displaying 1 line per call by default in interactive sessions, while being
2019 Jul 14
0
[External] Mitigating Stalls Caused by Call Deparse on Error
This is probably best viewed in the context of other issue with displaying calls, such as issues arising from calls constructed in non-standard evaluation contexts. Might be good to move to a wishlist item in bugzilla. Best, luke On Sat, 13 Jul 2019, brodie gaslam via R-devel wrote: > When large calls cause errors R may stall for extended periods.? This > is particularly likely to happen
2019 Jul 15
0
[External] Mitigating Stalls Caused by Call Deparse on Error
Better to add this to the wishlist item. This all needs to be looked at together, and nothing is likely to happen until after vacation/conference season. It will disappear from everyone's radar if it is just in R_devel. Best, luke On Sun, 14 Jul 2019, brodie gaslam wrote: > Luke, thanks for considering the issue.? I would like to > try to separate the problem into two parts, as I
2008 Jan 14
2
What is connect-debounce wrt usb?
I get the following message on a Centos 5 system (really a Trixbox 2.4 build on Centos 5): Jan 14 00:12:28 sip2 kernel: hub 1-0:1.0: connect-debounce failed, port 1 disabled What does this mean? This message occurs about 30 times/sec for about 45 sec. Then my Bluetooth token starts up. Jan 14 00:12:28 sip2 kernel: hub 1-0:1.0: connect-debounce failed, port 1 disabled Jan 14 00:13:00 sip2
2006 Jun 07
0
[patch] s390: fix mmap complilation
From: Heiko Carstens <heiko.carstens@de.ibm.com> Fix mmap compilation (missing errno.h include) and use correct minimum error number for compare. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> --- Does not compile in akpm's latest -mm tree. usr/klibc/arch/s390/mmap.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git
2008 Jun 19
0
Error when complile samba 4 with python 2.5
Hi, When compile samba4 with python 2.5, I've got error below: n/mergedobj/python_svcctl.o: In function `py_SERVICE_LOCK_STATUS_get_lock_owner': py_svcctl.c:(.text+0x142): undefined reference to `PyUnicodeUCS2_Decode' bin/mergedobj/python_svcctl.o: In function `py_SERVICE_LOCK_STATUS_set_lock_owner': py_svcctl.c:(.text+0x227): undefined reference
2011 Oct 13
0
xyplot() and confidence interval polygons
Dear all, I'm trying to replicate the panel function behaviour that Deepayan and others discuss here: https://stat.ethz.ch/pipermail/r-help/2007-April/130779.html and Oscar Lamigueiro refers to here and provides sample code for: http://www.r-bloggers.com/confidence-bands-with-lattice-and-r/ where a polygon is generated around lines on panels to display the confidence interval bounds for
2005 Jan 28
2
compiling and making R-2.0.1 for windows XP
I am having no luck compiling R-2.0.1 on a Windows XP platform. I have not had these problems when compliling previous versions of R. I've installed all the recommended software and tools. But I cannot get round this error message: make make[1]: `Rpwd.exe' is up to date. make -f Makefile.docfiles make[3]: Nothing to be done for `docfiles'. -------- Building
2001 Apr 05
2
CI for wilcoxon test (PR#895)
Full_Name: Marketa Kylouskova Version: 1.2.1 OS: Windows Submission from: (NULL) (147.231.7.2) Hi, I believe there is a bug in the extension of wilcox.test, namely in determination of confidence intervals. I concentrated on the two-sample test only. I examined and tested its performance on this working data set: x<-rnorm(10,3,1) # So I have two samples, I will test whether
2012 Apr 02
6
como hacer grafico de medias con barra de desviacion estandar ??
estimados no he encontrado el modo de hacer en R el tipico grafico de medias con la desviacion estandar asociada ... me explico, tengo 2 variables numericas, para la variable independiente se elijen 3 niveles y en cada uno de ellos se mide 15 veces la variable respuesta, para este data.frame se quiere mostrar en un grafico en el eje X los 3 niveles escogidos y en el Y la vbla respuesta, pero no e
2010 Sep 24
3
Odds ratio from Logistic model in R
Hi, I am new to R. Anyone can explain the following from R-help or anyone can direct me how to calculate odds ratio from logistic model in R. Thank you very much. Guoya Stefano <stecalza at tiscalinet.it <https://stat.ethz.ch/mailman/listinfo/r-help> > writes: >Hi all. > >A simple question. >Is there a function to compute the Odds Ratio and its confidence intervall,