search for: probas

Displaying 20 results from an estimated 26 matches for "probas".

Did you mean: probar
2005 Jan 05
3
strange behaviour of negative binomial
Dear list, I ran into a strange behaviour of the pnbinom function - or maybe I just made a stupid mistake. First thing is that pnbinom seems to be very slow. The other - more interesting one - is that I get two different curves when I plot the estimated density and the density given by pnbinom. Shouldn't it be the same? This is only the case, I think, if I use the parameter size = 1. I
2011 Mar 21
5
Stucked with as.numeric function
...Q/R-FAQ.html#How-do-I-convert-factors-to-numeric_003f and history from the list but it is impossible for me to convert the data to numeric without rounding or ranking the values. E.g.: Simply using as.numeric puts the values into ranked classes as explained in the manual, As.numeric(as.character(probas)) as well as as.numeric(levels(probas$forecast_probs))[as.integer(probas$forecast_probs)] return ?NA? for every row. Anyone any idea? --
2005 Apr 25
6
Proba( Ut+2=1 / ((Ut+1==1) && (Ut==1))) ?
Dear all, First I apologize if my question is quite simple, but i'm very newbie with R. I have vectors of the form v = c(1,1,-1,-1,-1,1,1,1,1,-1,1) (longer than this one of course). The elements are only +1 or -1. I would like to calculate : - the frequencies of -1 occurences after 2 consecutives -1 - the frequencies of +1 occurences after 2 consecutives +1 It looks probably something like
2005 Oct 11
2
Problems with plot function
Hello all R users, My simulation function works correctly, but I have problems with plot function. You will find the following code using it. Thank you for your help ##################################################" simulation <- function(k, n){ conc <- seq(0,10,by=0.5) #choixg <- seq(1, length(conc)) choixg <- rep(0,length(conc)) for (i in 1:length(conc)){ choixg[i]
2006 Mar 30
1
warning message in hand-made function
Dear Rusers, I tried to implement a function comparing mean scores between one subject (the patient) and a group a control subjects. The function returns attended results, but I also obtained the following warning : Warning message: the condition has length > 1 and only the first element will be used in: if (substr(fp, 1, 1) == "<") fp else paste("=", fp) Maybe
2005 Dec 11
1
Quantile function for the generalized beta distribution of the 2nd kind
I have succeded in defining the cdf of the generalized beta of the second kind, eg. pgbeta2 <- function(quint,b,a,p1,p2) { integrate(function(x) {exp(log(a)+(a*p1-1)*log(x)-(a*p1)*log(b)-log(beta(p1,p2))-(p1+p2)*log(1+(x/b)^a))},0,quint)$value } but I'm facing problems with the quantile function. I tried something like qgbeta2 <- function(proba,b,a,p1,p2) { optimize(function(z)
2005 Oct 13
1
problems with loop and plot function
Hi all R users, I have problems with my second loop for drawing the three curves in the same graphic. I need help please Thank you in advance ######################################################################### simulation <- function(k, n){ conc <- seq(0,100,by=0.5) #choixg <- seq(1, length(conc)) choixg <- rep(0,length(conc)) for (i in 1:length(conc)){ choixg[i] <- (k
2002 Dec 29
3
lowess + turnpoints = doubling integers?
Happy New Year, r-helpers! I am using lowess to smooth a scatter plot, xx<-lowess(xinput,f=.04) #defaults for other args followed by turnpoints(xx$y) #defaults for other args I plot the smoothed result as well as turnpoints (using yy$tppos) on top of raw data plot. Result is exactly as expected, graphically. For another purpose, I calcuate the difference between turnpoints (representing
2005 Oct 12
0
loop for plot function
Hello all R users, I would like to add another loop to my following R code ( it works for the moment correctly) , which will be able to me to vary n (see the code) from 1 to 4 or 5. And I also would like apply the plot function in this case, eg all four or five figures in the same graphic (n= 1, 2, ..., 4 ou 5) I have tested one, but unsuccessfully. I need you to solve this problems Thank you
2005 Jun 14
2
api_pipe_bind_req: unknown auth type 9 requested.
I encountered this error/warning (I don't know) and I saw in http://lists.samba.org/archive/samba/2005-May/105124.html that jerry was aware of the problem. Should I worry about it or ignore this message ? Thanks.
2011 Jan 10
0
overfilled signature lines in documentation shell for methods
The documentation shells created by the utility functions for classes and methods contain section "Methods". Due to a slight difference in the layout and the underlying Rd code, function signatures are wrapped on the following line (if necessary) in the "methods" section in a class description (xxx-class.Rd) but not in xxx.-methods.Rd. As a result long signatures may
2003 May 16
1
--csum-length ?!
>From the manpage: --csum-length=LENGTH By default the primary checksum used in rsync is a very strong 16 byte MD4 checksum. In most cases you will find that a trun- cated version of this checksum is quite efficient, and this will decrease the size of the checksum data sent over the link, mak- ing things faster. You can choose the
2001 Sep 24
1
Printing Central European characters
Dear R-users, I have problems with printing Central European (CE) characters (e.g. {\H o} and {\H u}) in graphics made by R. After executing the following code I can see the CE characters with gv on my screen, but I cannot print them on a postscript printer. > postscript(file="proba.ps",enc="ISOLatin2.enc") > plot(0:15,0:15,type="n") > grid(15,15,lty=1)
2010 Mar 14
1
Segfault Problem c++ R interface (detailed)
Hello R Community, I've been working on a project that uses pre-made C++ libraries (using STL) in R and build a package. However, I've been getting an unusual segfault that I'm unable to trace its origin. After many attempts of debugging using gdb, commenting out parts (or all of my code) and valgrind, I'm unable to make heads or tails about what I'm doing wrong. In fact, when
2000 Feb 02
0
No subject
I am using the rw0901 version of R and I fail in reading large files. Actually, I really dont know how to extend the memory. Does somebody knows? Louis FERRE D?partement de Math?matiques et Informatique Equipe GRIMM |Laboratoire de Stat et Proba Universit? Toulouse Mirail |Universit? Paul Sabatier 5, all?es Antonio Machado |Ade:lferre at cict.fr 31058 Toulouse Cedex
2010 Apr 15
0
Como introducir una etiqueta con rpanel
Muchas gracias a todo de antemano por vuestra ayuda, Estoy empezando a utilizar el paquete "rpanel" ¿Cómo puedo introducir una etiqueta utilizando rpanel? creo un panel de la siguinte forma, pero me gustaría introducir una etiqueta antes de los botones y no veo como puede hacerse anchoVentana<-1024 altoVentana<-600 panel<-rp.control(title="probando
2012 Jul 24
1
NA's
Buenas tardes Les consulto los siguiente, dentro de unos datos hay registros faltantes, estos son NA. Me gustaría poder avisar cuáles son los registros no tomados en cuenta porque son NA. Como no puedo reproducir el error, copio y pego un script R que es la forma que yo razone, la cuál me funciona, y un trozo de la captura de pantalla donde aparece mi error, es decir todo NA. # NA's
2003 Jun 16
1
[Bug 595] lots of simultaneous ssh's cause sporadic failures
http://bugzilla.mindrot.org/show_bug.cgi?id=595 Summary: lots of simultaneous ssh's cause sporadic failures Product: Portable OpenSSH Version: -current Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: ssh AssignedTo: openssh-bugs at mindrot.org
2004 Jun 02
2
More than 10 open sessions
Hi, we use OpenSSH_3.8.1p1 and we would like to change the complete printer Spool communication from Unix r-Commands to ssh "OpenSSH". Sometimes, we have problems, because of very high connection set-ups in extremely short time intervals, more than 10 open sessions. The connection set-up is partly declined with the error message: ssh_exchange_identification: Connection closed by remote
2004 Jun 22
2
Tcp listen limit.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi folks. Please, someone confirm if i'm right. if i'm wrong, please forgive-me. - -------------------------------------------------------------------------------------------------------------- I've developed a little tool to stress test tcp connections.( Sending syn and answer ack-syn ). that simuates a real tcp connection. (