search for: range1

Displaying 15 results from an estimated 15 matches for "range1".

Did you mean: range
2006 Nov 23
0
W3C Range specification conceptually flawed?
...i all! check this one: <html> <head> <title>Range test</title> </head> <body> <div id="myText">FooBarBaz</div> <script type="text/javascript"> myText = document.getElementById(''myText'').firstChild; var range1 = document.createRange(); range1.setStart(myText, 3); range1.setEnd(myText, 6); var range2 = document.createRange(); range2.setStart(myText, 6); range2.setEnd(myText, 9); // as you can see in Firebug console we selected ''bar'' and ''baz'' console.l...
2012 Jun 20
2
passing function parameters into a 'with' statement to dynamically pick out columns
Hi, I've built a function to generate plots and would like to be able pass in column names as a parameter. Here's a boiled down version of what I have right now: pmts <- data.frame(date=c(1,2,3), all=c(5,6,7),maj=c(4,5,6),ind=c(3,4,5)) perc.mktshare <- function(df){ range1 <- floor(min(with(df, 100*ind/all))) range2 <- ceiling(max(with(df, 100*ind/all))) with(df,plot(date,100*ind/all,ylim=c(range1,range2),ylab="% Marketshare")) } perc.mktshare(pmts) What I'd like to do is something like this: perc.mktshare <- function(df, scaling.column...
2006 Jun 29
1
RCOM Package
...heet sheet <- comGetProperty(excel,"ActiveSheet") #Set a specific sheet sheet <- comGetProperty(excel,"Worksheets","WorksheetXY") #Create a new Worksheet comInvoke(comGetProperty(excel,"Worksheets"),"Add") #Define a range in a defined sheet range1 <- comGetProperty(sheet,"Range","A1","A20") #Read out this range from Excel val1 <- as.double(comGetProperty(range1,"Value")) #Give back the results to Excel comSetProperty(range1,"Value",val1) Some of my questions are: - How can I rename...
2007 Dec 14
4
rcom close Excel problem
...ialog and does not take my second parameter: x<-comCreateObject("Excel.Application") wb<-comInvoke(comGetProperty(x,"Workbooks"),"Open","G: /MR/Stephen/repo. xls", "0") sh<-comGetProperty(wb,"Worksheets","Market Data") range1 <- comGetProperty(sh,"Range","C10","I11") vals <- comGetProperty(range1,"Value") comInvoke(wb,"Close","G:/MR/Stephen/repo.xls","True") # True is ignored Thank you All. Stephen
2013 Feb 18
2
error: Error in if (is.na(f0$objective)) { : argument is of length zero
...is.na() applied to non-(list or vector) of type 'NULL' Here is the syntax itself: library('nloptr') library('pracma') # objective function f <- function(x,s) {m<-100 t<-2*m+1 H<-matrix(data=NA,nrow=t,ncol=t) I<-diag(t) delta<-2*x[1]/t z<--x[1]+.5*delta range1<-t for (i in 1:range1){ z_i=-x[1]+(i-.5)*delta for (j in 1:range1){ up<-(((-x[1]+j*delta-(1-x[2])*z_i)/x[2]))-s down<-(((-x[1]+(j-1)*delta-(1-x[2])*z_i)/x[2]))-s H[i,j]<-pnorm(up,mean=0,sd=1)-pnorm(down,mean=0,sd=1)} } K<-solve(I-H) one <...
2013 Feb 27
0
A program running for a too long time
...gives me ouput in a short time keeping the value of m at 100. 2-increase the number of iterations in romberg. library('nloptr') library('pracma') f <- function(x,y) {m<-100 t<-2*m+1 H<-matrix(data=NA,nrow=t,ncol=t) I<-diag(t) delta<-2*x[1]/t z<--x[1]+.5*delta range1<-t for (i in 1:range1){ z_i=-x[1]+(i-.5)*delta for (j in 1:range1){ up<-(((-x[1]+j*delta-(1-x[2])*z_i)/x[2]))-y down<-(((-x[1]+(j-1)*delta-(1-x[2])*z_i)/x[2]))-y H[i,j]<-pnorm(up,mean=0,sd=1)-pnorm(down,mean=0,sd=1)} } K<-solve(I-H) one &lt...
2012 Dec 20
2
How to count the nos. in a range?
Dear R forum I have a following vector of random no.s x = runif(100, 0.01, 0.99)  [1] 0.47212037 0.77867992 0.33947474 0.93369035   [5] 0.03720073 0.79307831 0.81801835 0.92710688 ................................................. I need to count the random no. falling in the range (0 - 0.10), (0.10 - 0.20), (0.20 - 0.30)..upto (0.90 - 1) Thus, I need to have a data frame as
2012 Aug 02
5
IP range
Hi all Can someone explain me this: ifcfg-eth0-range1: ONBOOT="yes" IPADDR_START="192.168.1.48" IPADDR_END="192.168.1.55" CLONENUM_START="1" Why Bcast is 192.168.1.51 and why Mask is 255.255.255.252 ? OS: Centos 6.3/64bit Thanks Levi # ifconfig eth0:1 Link encap:Ethernet HWaddr 00:9C:02:99:FA:00...
2015 Jan 11
1
Help with IPv6 /48 block
...ut whats crazy is the OP's original request, he apparently thinks he wants a lan alias on every single IP.... > It happens that at the company I'm working decided to start migration > of IPs tech. > > So they got a /48 block. I were trying to add it with: > > ifcfg-eth0-range1 (0 is already in use with IPv4 range): > > IPV6ADDR_START=xxxx > IPV6ADDR_END=xxxx > CLONENUM_START=0 > > But of course I am assuming that like in IPv4 IPADDR_START/END is > implemented. > > Please give some guidance as I need this to done already and the hole > /48...
2015 Jan 10
3
Help with IPv6 /48 block
Hello. It happens that at the company I'm working decided to start migration of IPs tech. So they got a /48 block. I were trying to add it with: ifcfg-eth0-range1 (0 is already in use with IPv4 range): IPV6ADDR_START=xxxx IPV6ADDR_END=xxxx CLONENUM_START=0 But of course I am assuming that like in IPv4 IPADDR_START/END is implemented. Please give some guidance as I need this to done already and the hole /48 must be available and virtualized. Thanks.
2010 Jun 03
3
Multiple Serial Port Passthrough in HVM domU
...purchasing 4 upgraded processors, I don''t have a way of making these systems support VTd. However, I''m hoping there''s still a way for the serial port passthrough to work. I know there are two methods for serial port passthrough: serial = /dev/ttyS0 and irq=4 ioports=[range1,range2,etc] Two questions: first, with the first method above, is there any way to pass through more than one serial port? Second, with the second method, is there any way to pass through serial port cards that don''t have traditional I/O ranges, but, instead, only seem to support MMIO? I...
2016 Jan 16
2
Does Xapian support query string like "(age: 1..25) OR (age: 35..50)"? or "(age: 1..25) - (age: 35..50)"?
Hi, All Does Xapian support query string like "(age: 1..25) OR (age: 35..50)"? or "(age: 1..25) - (age: 35..50)"? I?want?to?get?the?results?with?age?range?from?1?to?25, 35?to?50. I?tested,?"(age: 1..25) OR (age: 35..50)"? or "(age: 1..25) - (age: 35..50)" doesn't work. Thanks Best wish-Rafael Gu
2015 Jan 11
4
Help with IPv6 /48 block
El 10/01/2015 a las 04:03 p.m., John R Pierce escribi?: > On 1/10/2015 12:56 PM, F. Mendez wrote: >> We need that same with IPv6 since we have a /48 and we need to have >> all IPv6s available for usage. > > Do you realize that a ipv6 /48 is a septillion IP addresses? thats > 1,208,925,819,614,629,200,000,000 individual IPs ? > > Or, its 65536 /64 subnets of
2015 Jan 08
5
Intel NUC? Any experience
Folks The price point of Intel's NUC unit makes it attractive to use as a server that doesn't have significant computational load. In my environment, a USB connected hard-drive could provide all the storage needed. I wonder if anyone has had experience with it, and can answer: 1) Does Centos6 and/or Centos7 install from a USB connected optical drive? or a USB flash drive? I'd
2003 Jan 10
7
System Boot problem...
...faccia di loopback: succeeded gen 2 14:12:13 firewall shorewall: IP Forwarding Enabled gen 2 14:12:00 firewall network: Attivazione interfaccia eth0: succeeded gen 2 14:12:13 firewall shorewall: Processing /etc/shorewall/tunnels... gen 2 14:12:02 firewall network: Attivazione interfaccia eth0-range1: succeede d gen 2 14:12:13 firewall shorewall: Processing /etc/shorewall/rules... gen 2 14:12:05 firewall network: Attivazione interfaccia eth1: succeeded ... [cut] .... ... (setup rules whitout problem) ... [cut] .... gen 2 14:12:15 firewall shorewall: Setting up ICMP Echo handling... gen 2 1...