similar to: generate random numbers subject to constraints

Displaying 20 results from an estimated 200 matches similar to: "generate random numbers subject to constraints"

2004 Aug 15
3
Stacking Vectors/Dataframes
Hello, Is there a simple way of stacking/merging two dataframes in R? I want to stack them piece-wise, not simply add one whole dataframe to the bottom of the other. I want to create as follows: x.frame: aX1 bX1 cX1 ... zX1 aX2 bX2 cX2 ... zX2 ... ... ... ... ... aX99 bX99 cX99 ... zX99 y.frame: aY1 bY1 cY1 ... zY1 aY2 bY2 cY2 ... zY2 ... ... ... ... ... aY99 bY99 cY99 ...
2005 Jan 05
1
TDM400P + Asterisk + zaptel timer ?
Hello, I thought that my Digium TDM400P would be the right hardware to support the zaptel timer, and put the following IAX.CONF entry to test, (trunk=yes) in the example below [VHAX] type=peer auth=md5 username=whoknows jitterbuffer=yes ;trunk=yes secret=terriblesecret host=4.5.6.7 qualify=1200 disallow=all allow=ulaw allow=gsm ;allow=g711u ;allow=g711a But, it didn't work. So I had to
2011 Nov 25
1
plsr how to return my formula
Hi, I have experimental response (Y) and many (important or not) actions (X). I want to create model: Y = aX1 + bX2 + ... + eX5 (1) from few most important actions of course. As I understand I have to use plsr for this task. I learned read.table and plsr R functions and how to plot some results from them, but still do not understand how I can get (or construct) function I need (function 1)?
1999 Nov 09
1
Win95 & Samba 1st timer
Can anyone help us... We're Samba ist Timers... We're trying out a Linux machine as a feasability study. We're running a copy of SuSE 6.1 Linux on a DX4/100 and trying to get Samba up asd running. As far as I can tell it's all ok, but I can't ping anything from the Linux box and Win95 / NT workstation can't see Linux. The DX4 has a 3Com509B NIC, and as for as I can tell
2006 Nov 23
2
Need SAN suggestion
Hello, It is not total off-topic since almost all connected servers will be RHEL and CentOS. :) We are considering to purchase new storage system. The most probably we will be choosing between HP (EVA6000), EMC (CX3-20C) and Hitachi (similar model). iSCSI connection is also required. What are your experienced with listed systems? What to avoid? What ot expect? Now I just know
2005 Jul 12
1
Several basic doubts
I have a connection cablemodem (down 1024kbit up 256 kbit) that spreads Internet to a LAN of 4 PC. Router-firewall is one 486 DX4 100 96 MB RAM that runs a Debian Sarge (kernel 2,4,25), that does NOT serve nor squid, nor samba, nor smtp, etc.... single do routing-firewalling. I am something confused by opinions and "presumed" manual and howto that I have read and have confused I
2002 Sep 10
2
Traceroute
How do I allow traceroute to reach my server? Pings work fine but traceroute stops at the last hop before my server. If I shut off the firewall it reaches it fine. PING danicar.net (24.222.246.120): 56 data bytes 64 bytes from 24.222.246.120: icmp_seq=0 ttl=237 time=104.0 ms 64 bytes from 24.222.246.120: icmp_seq=1 ttl=237 time=74.9 ms 64 bytes from 24.222.246.120: icmp_seq=2 ttl=237 time=90.6
2011 Sep 28
1
generic argument passing to plot function
Hello I am trying to write a function that would plot timeseries easily... I aim at plotting two time-series on 2 different y axis sharing the same x-axis I succeded in doing so: plotTimeSerie(x,y,y2,[a lot of other args]){ ... plot() axis.POSIXct(side=1) #here I build the x-axis points() #here I plot the first time serie related to y-axis ... axis(side=2,[some args])
2008 Nov 20
1
gam and ordination (vegan and labdsv surf and ordisurf)
I have a general question about using thin plate splines in the surf and ordisurf routines. My rudimentary knowledge of a gam is that with each predictive variable there is a different smooth for each one and then they are added together with no real interaction term (because they don't handle this well?). Now, If I have two variables that have a high D^2 score and a low GCV score (I am
2019 Dec 13
2
Long running nbdkit tests
The nbdkit tests take a long time to run especially on armv7. To try to get an idea of which tests take the most time, and since I happen to have a qemu aarch64 *TCG* guest available, I ran the tests on that guest. A TCG guest is about the worst case for libguestfs, used by some tests, since it uses double-nested TCG, and as you can see below there are tests taking over 6 hours. In fact I
2010 Sep 29
4
XFS on a 25 TB device
Hello all, I have just configured a 64-bit CentOS 5.5 machine to support an XFS filesystem as specified in the subject line. The filesystem will be used to store an extremely large number of files (in the tens of millions). Due to its extremely large size, would there be any non-standard XFS build/configuration options I should consider? Thanks. Boris. -------------- next part -------------- An
2010 May 07
0
Problems with image.plot
Hi R-users, I try to put image legend via image.plot function, but I do not know put this in log scale. The last line of code put legend in linear scale, but I want put this in log scale. This is a image of the ocean color web site 8-day composite L3 4KM. Anybody colud get me advise please. This is de code... uno<-schl[1,,] rn_cl<-exp(range(uno,na.rm=T)) x11()
2004 Nov 05
6
A distro around Shorewall
Hi all, Currently at work we use a commercial product called "Gnatbox", which, I believe, is a BSD derivative running on a floppy disk. They have a pretty UI and all, but I''d feel much safer/happier with a GNU/Linux box and Shorewall doing the same thing. In fact, I''m doing something very close to this at home using Openwrt and Shorewall on my WRT54G router, but I
2008 Jan 18
2
plotting other axes for PCA
Hi R-community, I am doing a PCA and I need plots for different combinations of axes (e.g., PC1 vs PC3, and PC2 vs PC3) with the arrows indicating the loadings of each variables. What I need is exactly what I get using biplot (pca.object) but for other axes. I have plotted PC2 and 3 using the scores of the cases, but I don't get the arrows proportional to the loadings of each variables on
2012 Aug 22
5
Centos machine sometimes unreachable
I have a simple perl script that every few hours pings the handful of machines on my LAN. Lately I've sometimes been getting ping of 192.168.0.1 succeeded ping of 192.168.0.7 succeeded ping of 192.168.0.5 FAILED ping of 192.168.0.6 succeeded ping of 192.168.0.9 succeeded This machine in question has been running Centos faithfully for about six years and no recent changes to it have been
2007 Aug 21
3
Hot swap SATA?
Should it be possible to hot-swap SATA drives with Centos5? It doesn't seem to work on my system. Removing an unmounted drive locked the system up, and leaving one out at bootup makes the devices change names and keeps grub from finding /boot on a scsi drive that is shifted up. -- Les Mikesell lesmikesell at gmail.com
2014 Feb 28
6
suggestions for large filesystem server setup (n * 100 TB)
Hi, over time the requirements and possibilities regarding filesystems changed for our users. currently I'm faced with the question: What might be a good way to provide one big filesystem for a few users which could also be enlarged; backuping the data is not the question. Big in that context is up to couple of 100 TB may be. O.K. I could install one hardware raid with e.g. N big drives
2019 Dec 14
0
Re: Long running nbdkit tests
I pushed a change which should reduce the time taken in the test-cache-* and test-cow.sh tests. Again note this is double TCG which is the worst case for these tests and explains the excessively long times which wouldn't be seen on a normal build system. Updated results: 01:04:18 PASS: test-readahead 01:02:32 PASS: test-cow.sh 00:37:25 PASS: test-floppy.sh 00:34:57 PASS: test-shell 00:34:53
2009 Nov 13
0
about the pgmm in plm package (application and singularity)
Dear Sir or Madam: I am Shaojuan Liao, the 3rd year Ph.D. student from Econ Department, Virginia Tech. I don't know whether it is appropriate to ask you questions on the command pgmm. But I don't know how to deal with the case where all X are exogenous and all T time periods' X can be used as the instrument. Problem 1: I know when X are predetermined, such as Z=[y1,X1,X2, 0,
2004 Dec 10
0
providing battery reversal from Asterisk to legacy pbx
> > You need to configure your legacy PBX to send a flash through from your > legacy phone to the legacy FXS port that is hooked to a * FXO port. This > is not something you can do from the * side. > > *0 is asterisk's way of doing this. You need to find out if your legacy > PBX has a similar method. It may not be possible. Of course you failed > to mention what kind of