search for: qx

Displaying 20 results from an estimated 107 matches for "qx".

Did you mean: qxl
2008 Sep 03
2
Highlighint rjs problem on a new product
...roceries_id %> <tr id="highlighted"> <% else %> <tr> <% end %> <td><%= product.groceries.brand %></td> <td><%= product.groceries.name %></td> <td><%= product.quantity %></td> <td><%= qx(product,"c") %><% totalC += qx(product,"c")%></td> <td><%= qx(product,"n") %><% totalN += qx(product,"n") %></td> <td><%= qx(product,"s") %><% totalS += qx(product,"s") %></...
2003 Jul 14
1
for loop problem
Dear list, Here's a function that works fine when I assign one value to i. qx, ax and gr are vectors. ax.to.nax <- function(qx, ax, gr=c(0,1,5,10)){ px <- 1 - qx last.n <- gr[length(gr)] - gr[length(gr) - 1] all.bounds <- c(gr, gr[length(gr)] + last.n) n <- diff(all.bounds) # i <- 1 # this i should loop through the values of # gr: i=0, i=1, i=5 and...
2013 Jun 19
1
quantile
? stato filtrato un testo allegato il cui set di caratteri non era indicato... Nome: non disponibile URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20130619/e3d3d918/attachment.pl>
2008 Sep 01
4
action view mutiplication problem and why doesn't method work
I am trying to multiply something in view but what i get is the first parameter without the 2nd parameter being multiplied. <%= product.price*product.quantity %> only gives product.price Secondly I have put this method into the --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2005 Feb 09
1
efficient R code
...does the exact distribution. I'm looking forward to comments on improving the programming efficiency for this problem. (The "return(...)" seems to be necessary in R only.) Knut #-------------------------------------------------------------------------- # asymp.SMN.pvalue(pP,qP,pX,qX,pQ,qQ) # exact.SMN.pvalue(pP,qP,pX,qX,pQ,qQ) #-------------------------------------------------------------------------- # pP,qP = number of PP,PQ children of PP~PQ parents # pX,qX = number of PP,QQ children of PQ~PQ parents # pQ,qQ = number of PQ,QQ children of PQ~QQ parents #---------------------...
2012 Apr 12
3
writing spdiags function for R
Dear R-list, I am in the process of translating a long function written in Matlab into R (mainly because I am a big of fan of R, and folks will not have to pay to use it :). In the translation of this function I got stack because they use spdiags, which, as far as I can tell it is not available in R. I have explored the Matrix package, from which I borrowed some of the functions (e.g.,
2003 Jan 24
4
new function: showcolors {base}
...showcolors.R showcolors <- function( col = "red" , index = NULL , pie = TRUE , lwd = 6 , cex = 1.0 , main = NULL , sub = NULL , ... ){ n.colors <- length( col ) if( n.colors > 1 ){ main <- deparse( substitute( col ) ) title <- qt.colors <- col }else{ qx.colors <- grep( col, colors() ) if( ! is.null( index ) ) qx.colors = qx.colors[ index ] else index = seq( along=qx.colors ) if( is.null( main ) ) main <- paste( sep="", col , ' [', min(index), ':', max(index), ']' ) qt.colors <- colors()[ qx.c...
2017 Apr 16
1
Getting high precision values from qnorm in the tail
Hello All I am looking for high precision values for the normal distribution in the tail,(1e-10 and 1 - 1e-10) as the R package that I am using sets any number which is out of this range to these values and then calls the qnorm and qt function. What I have noticed is that the qnorm implementation in R is not symmetric when looking at the tails. This is quite surprising to me, as it is well known
2009 Dec 10
1
non-linear regression
I have a non-linear regression with 8 parameters to solve .... however it does not converge ... easily solves the excel ... including the initial estimates used in the R were found in the excel ... Another question is how to establish the increments of R by the parameters in the search .. qx.suav<-function(id,A,B,C,D,E,F,G,H,K){(A^((id+B)^C)+(D*exp(-E*(log(id)-log(F))^2))+(G*H^id)/(1+(K*G*H^id)))} HP<-nls(tx.br~qx.suav(id,A,B,C,D,E,F,G,H,K),data=data.frame(id=id,tx.br=tx.br), trace=TRUE,nls.control(maxiter=5000),algorithm='port',start=list(A=0.0006347,B=0.0453814,C=0.1353...
2023 Nov 29
0
QX/hunnox device init requires upsmart
Cheers all, Got an interesting report at https://github.com/networkupstools/nut/issues/2208 about Qx devices that do not respond to NUT unless `upsmart` somehow inits them first (until a re-plug). This behavior is something I've heard of a couple of times, and now there are pcap captures to help smart folks make heads or tails of it and teach `nutdrv_qx` the optionto initialize the UPS communi...
2010 Jun 23
1
A question about R2Winbugs
...t distn sigmae=0.5 # var of cluster mean mu q1=rep(1/K,K) # prior for Z(n,1) ## MCMC sampling data=list("X","m","s","N","T","K","alpha","sigmae","q1") inits=function(){list(a0=rbeta(1,1,1), qx=matrix(rgamma(K^2,alpha,1),nrow=K), sigma0.r=rbeta(K,1,1))} model.sim=bugs(data,inits,model.file="model.txt",parameters=c("mu","sigma"), n.chains=3,n.iter=3500,n.burnin=500,n.thin=1,bugs.directory="C:/Users/t-wec/Desktop/WinBUGS14",codaPkg=T,debug=T) mcmcout=...
2016 Sep 14
0
nutdrv-qx powercool 1500VA USB UPS
...the status string matches the q1 subdriver > but a lowercase "f" is sent to request it instead of "Q1\r". What do you > think? It is certainly possible - there is no comprehensive protocol guide for all these variants. I was hoping we would hear from the author of nutdrv_qx, but in the mean time, he also wrote this portion of the developer documentation: http://networkupstools.org/docs/developer-guide.chunked/ar01s04.html#nutdrv_qx-subdrivers In your case, it sounds like you can start from the q1 driver - maybe modify it in-place first to verify assumptions, then mov...
2016 Oct 03
0
nutdrv-qx powercool 1500VA USB UPS
Hi, it does communicate using the fabula subdriver but I don't get any of the values parsed. If I execute: ./nutdrv_qx -a powercool -DDDDD -x subdriver=fabula -x vendorid=0001 -x productid=0000 I get the following returned: 12.242991 upsdrv_updateinfo... 12.243047 Quick update... 12.243069 send: Q1 12.243087 command index: 0x03 12.249983 read: (47 bytes) => 28 30 30 30 2e 30 20 30 30 30 2e 30 20 30 30...
2016 Oct 10
0
nutdrv-qx powercool 1500VA USB UPS
> On Oct 10, 2016, at 4:29 PM, Matthew Wire <mjw at mjwconsult.co.uk> wrote: > > Here is the complete log for two minutes from startup. thank you compressed to fit on the mailing list. > > On 9 October 2016 at 23:41, hyouko at gmail.com <hyouko at gmail.com> wrote: > > 12.243069 send: Q1 > > 12.243087 command index: 0x03 > > 12.249983 read: (47
2016 Oct 16
3
nutdrv-qx powercool 1500VA USB UPS
Thanks for the log - apparently we always get valid (apart from 0.191312) but empty replies, not only for index 0x03, but also for the other queried index (0x0c). I've re-looked at the logs you posted on GitHub, but I don't see anything exotic going on there. Maybe we're missing some sort of handshaking or the like: can you post the whole captures/logs, right from when you plug the
2016 Nov 03
0
nutdrv-qx powercool 1500VA USB UPS
Hi Charles, I've added 3 more files to github. https://github.com/mattwire/powercool-ups/blob/master/wireshark-UPSmart-startup.pcapng - captures startup of UPSmart software and continues for about 5 minutes. https://github.com/mattwire/powercool-ups/blob/master/wireshark-UPSmart-ups_off-on.pcapng - UPSmart software is running, UPS is OFF. UPS is switched on and connects to software.
2016 Nov 04
1
nutdrv-qx powercool 1500VA USB UPS
Wow just seen this screenshot. I did not know it did that. Is this the port is ask for? Can I go to it's webpage and some port to see this type screen? -Raymond Day On 11/3/2016 6:39 PM, Matthew Wire wrote: > https://github.com/mattwire/powercool-ups/blob/master/UPSmart_connected.png > - is a screenshot of the UPSmart software when connected (shows some > values from UPS).
2016 Nov 28
1
nutdrv-qx powercool 1500VA USB UPS
Thanks again for the logs. Now... let's assume those interrupts are needed to get valid values... well, we can't do exactly the same thing, but let's start from this one: https://github.com/zykh/nut/tree/nutdrv_qx_fabula-zero Please, test nutdrv_qx (with subdriver 'fabula') from that branch and post the output of it running with debug-level of 5.
2023 Aug 12
0
QX driver structuring
Cheers, Have we got any experts on nutdrv_qx structure online? https://github.com/networkupstools/nut/issues/1987 would benefit from suggestions on wedging a PoC-standalone driver into it as a subdriver... Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://alioth-lists.debian.net/pipermail/nut-upsd...
2016 Oct 02
4
nutdrv-qx powercool 1500VA USB UPS
Matthew, I've looked briefly at the files you uploaded to GitHub and it seems to me that the device is like something that should work with the 'fabula' USB subdriver (and 'megatec' protocol): what are the issues you are experiencing and that prevent the driver to work?