search for: 1x2

Displaying 20 results from an estimated 42 matches for "1x2".

Did you mean: 12
2006 Feb 15
2
common title for graphs in a (1x2) layout
Dear all, Many thanks for the help suggesting the use of "layout" cmd. How to insert a title in a 1x2 layout? The title is related to both graphs. I looked for it in help, unsuccessfully. Thanks in advance, Rodrigo. my reproductible code: ---------------------------------------------------------------------- def.par <- par(no.readonly = TRUE) nf <- layout(matrix(c(1,2), 1,2,byrow=T), c(1,...
2012 Jul 16
2
Tk grid problem
Hi everybody, I have a problem with the grid function in tk. I juste try to put 4 buttons like this: ------------------- | | | | | C | | A |--------| | | | ---------- D | | | | | B | | ------------------- A is 2x2 C is 1x2 B is 1x2 D is 2x2 but the code bellow dont work : require(tcltk) tt <- tktoplevel(borderwidth=10) A.but <- tkbutton(tt,text="A",command=function()ls()) B.but <- tkbutton(tt,text="B",command=function()ls()) C.but <- tkbutton(tt,text="C",command=functi...
2017 Jul 04
2
I need a sanity check.
2006 Feb 14
1
figs parameter for split.screen()
Dear all, I would be pleased if anyone could help me. The Rhelp description for the figs parameter is "a two-element vector describing the number of rows and colunns in a screen matrix". So, why does my code (below) produce a 2x1 screen matrix instead of a 1x2 one? Thanks in advance, rodrigo. ----------------------------------------------------------- plot.new() split.screen(figs=c(1,2)) screen(1) plot.new() plot(v16[vd==0], vdep[vd==0], bg="aliceblue", cex= 0.5, xlab="Age",ylab="AvWei", main="", ylim=c(x1,...
2004 Dec 17
2
Matrix and rownames problem
...ms. Here's the result: d e 1 3 When I want to access the rownames of j, it returns NULL. I want it to be "a". On the other side, if I take a submatrix 2x2, there is no problem. In my problem, rownames(j) must return the name of the extracted row. So I don't understand why a 1x2 array is not a normal array. Could someone help me with this? Thanx in advance, Patrick
2007 Mar 15
1
expm() within the Matrix package
...'ve been trying to calculate the loglikelihood of a function iterated over a data of time values and I seem to be experiencing difficulty when I use the function expm(). Here's an example of what I am trying to do y<-c(5,10) #vector of 2 survival times p<-Matrix(c(1,0),1,2) #1x2 matrix Q<-Matrix(c(1,2,3,4),2,2) #2x2 matrix q<-Matrix(c(1,2),2,1) #2x1 matrix Loglik<-rep(0,length(y)) #creating empty vector of same length as y for(i in 1:length(y)){ Loglik[i]<-log((p %*% (expm(Q*y[i]))) %*% q) #calculating...
2010 Apr 22
1
Why does 'apply(.., 1, .., ..)' transpose result
I am sorry if this is documented in apply's dcumentation or completely obvious, I could not find or work it out. Given an matricies Q: 2x3, R:1x3 and S:1x2 apply(Q, 1, '-', R) is 3x2 and apply(Q, 2, '-', S) is 2x3 Why? cheers Worik > Q [,1] [,2] [,3] [1,] 1 2 3 [2,] 10 11 12 > R [1] 1 4 7 > S [1] 1 4 > apply(Q, 1, '-', R) [,1] [,2] [1,] 0 9 [2,] -2 7 [3,] -4 5 > apply(...
2011 Dec 06
1
(no subject)
i have tried a lot but not able to get wireless .......................i am using dell 1470 14-r
2013 Sep 28
0
Gluster NFS Replicate bricks different size
I've mounted a gluster 1x2 replica through NFS in oVirt. The NFS share holds the qcow images of the VMs. I recently nuked a whole replica brick in an 1x2 array (for numerous other reasons including split-brain), the brick self healed and restored back to the same state as its partner. 4 days later, they've become inbal...
2005 Oct 25
2
solving ODE's in matrix form with lsoda()
...= beta2*P2*V2 - mu2*P2 dV1/dt = r1*V1 - beta1*P1*V1 dV2/dt = r1*V2 - beta1*P2*V2 System 1 and system 2 are independent but that doesn't need to be the case. Now can you specify this system in lsoda() as: dP/dt = beta*P*V - mu*P dV/dt = r*V - beta*P*V but now the initial state variables are 1x2 vectors and the parameters beta, mu and r are also vectors of size 1x2: y=c(10,20,10,20) parms = matrix(c(0.05,0.1,0.2,0.05,0.1,0.2),nc=3,byrow=T) model = function(times,y,parms) { y=matrix(y,nc=2,byrow=T) beta=parms[,1]; mu = parms[,2], r = parms[,3] dP/dt = beta*P*V - mu*P dV/dt = r*V - beta...
2016 Jul 29
2
installing centos 7 32 bit i386 to laptop
...tock 2GB. > > They are dirt cheap on ebay, from Hong Kong with free shipping. I would > go all the way and max it out. > ===> when buying memory or hdd, i check both ebay and amazon for price, warranty and shipping. last purchases i made were all from amazon. 1 TB sata hdd, 2 ddr 1x2 GB memory and a power supply for an emachine. 1 TB sata hdd, 2 ddr 1x2 GB memory for tower box. turned out emachine had more than a power supply, so 2nd hdd and power supply went into tower box. tower box is oem mainboard for ide drives, bought an ide2sata adapter for it. now it has 2 1 TB sata...
2003 Jul 14
2
Subsetting a matrix
...,F,F),c(F,T,T)] > Z0 [1] 1.2 1.3 > dim(Z0) NULL whereas, of course, with > Z1<-Z[c(T,T,F),c(F,T,T)] > Z1 [,1] [,2] [1,] 1.2 1.3 [2,] 2.2 2.3 > dim(Z1) [1] 2 2 i.e. a fully-paid-up matrix. What I would have expected is that Z0 should come out as a 1x2 matrix: [,1] [,2] [1,] 1.2 1.3 with dim(Z0) --> [1] 1 2 but it does not -- it does not have matrix status. I know it will try to behave politely if forced into matrix-algebra society, but it betrays its lack of true poise in solecisms like the following: > Z0%*%Z1[1:2,1]...
2016 Jul 29
3
installing centos 7 32 bit i386 to laptop
On 7/28/2016 11:04 PM, Peter wrote: > On 29/07/16 17:13, geo.inbox.ignored wrote: >>> >>the Semperon SI-42 is, I believe, a 64 bit capable CPU, >> > >> >you are very correct. > In that case stop wasting your time with CentOS 7 i386 and install the > native x86_64 version of CentOS 7. This will give you access to all the > 3rd party repos you'll
2017 Jun 25
2
Writing my 3D plot function
...ate)))} turnPolarToY<-function(Amplitude,Coordinate){? return (Amplitude*sin(degreeToRadian(Coordinate)))} # Putting the first circle on 3d space. Circle of radius 1X1<-turnPolarToX(1,1:360)Y1<-turnPolarToY(1,1:360)Z1<-rep(0,360) # Putting the second circle on 3d space. Circle of radius 1X2<-turnPolarToX(1,1:360)Y2<-rep(0,360)Z2<-turnPolarToY(1,1:360) # Putting the third circle on 3d space. Circle of radius 1X3<-rep(0,360)Y3<-turnPolarToX(1,1:360)Z3<-turnPolarToY(1,1:360) Min<-min(X1,Y1,Z1,X2,Y2,Z2,X3,Y3,Z3)Max<-max(X1,Y1,Z1,X2,Y2,Z2,X3,Y3,Z3)plot3d(X1,Y1,Z1,xl...
2017 Sep 21
1
Upgrade Gluster 3.7 to 3.12 and add 3rd replica [howto/help]
...ame nodes as servers (FUSE mounts) - under gluster there is ZFS pool running as raidz2 with SSD ZLOG/ZIL cache - all two hypervisor running as GlusterFS nodes and also Qemu compute nodes (Ubuntu 16.04 LTS) - we are running Qemu VMs that accesses VMs disks via gfapi (Opennebula) - we currently run : 1x2 , Type: Replicate volume Current Versions : glusterfs-* [package] 3.7.6-1ubuntu1 qemu-* [package] 2.5+dfsg-5ubuntu10.2glusterfs3.7.14xenial1 What we need : (New versions) - upgrade GlusterFS to 3.12 LTM version (Ubuntu 16.06 LTS packages are EOL - see https://www.gluster.org/community/release-sc...
2017 Jun 25
0
Writing my 3D plot function
...<-function(Amplitude,Coordinate){? return >(Amplitude*sin(degreeToRadian(Coordinate)))} ># Putting the first circle on 3d space. Circle of radius >1X1<-turnPolarToX(1,1:360)Y1<-turnPolarToY(1,1:360)Z1<-rep(0,360) ># Putting the second circle on 3d space. Circle of radius >1X2<-turnPolarToX(1,1:360)Y2<-rep(0,360)Z2<-turnPolarToY(1,1:360) ># Putting the third circle on 3d space. Circle of radius >1X3<-rep(0,360)Y3<-turnPolarToX(1,1:360)Z3<-turnPolarToY(1,1:360) >Min<-min(X1,Y1,Z1,X2,Y2,Z2,X3,Y3,Z3)Max<-max(X1,Y1,Z1,X2,Y2,Z2,X3,Y3,Z3)plot3d...
2017 Sep 20
3
Upgrade Gluster 3.7 to 3.12 and add 3rd replica [howto/help]
...ame nodes as servers (FUSE mounts) - under gluster there is ZFS pool running as raidz2 with SSD ZLOG/ZIL cache - all two hypervisor running as GlusterFS nodes and also Qemu compute nodes (Ubuntu 16.04 LTS) - we are running Qemu VMs that accesses VMs disks via gfapi (Opennebula) - we currently run : 1x2 , Type: Replicate volume Current Versions : glusterfs-* [package] 3.7.6-1ubuntu1 qemu-* [package] 2.5+dfsg-5ubuntu10.2glusterfs3.7.14xenial1 What we need : (New versions) - upgrade GlusterFS to 3.12 LTM version (Ubuntu 16.06 LTS packages are EOL - see https://www.gluster.org/community/release-sc...
2017 Sep 21
1
Fwd: Upgrade Gluster 3.7 to 3.12 and add 3rd replica [howto/help]
...ame nodes as servers (FUSE mounts) - under gluster there is ZFS pool running as raidz2 with SSD ZLOG/ZIL cache - all two hypervisor running as GlusterFS nodes and also Qemu compute nodes (Ubuntu 16.04 LTS) - we are running Qemu VMs that accesses VMs disks via gfapi (Opennebula) - we currently run : 1x2 , Type: Replicate volume Current Versions : glusterfs-* [package] 3.7.6-1ubuntu1 qemu-* [package] 2.5+dfsg-5ubuntu10.2glusterfs3.7.14xenial1 What we need : (New versions) - upgrade GlusterFS to 3.12 LTM version (Ubuntu 16.06 LTS packages are EOL - see https://www.gluster.org/community/release-sch...
2006 Jan 09
3
Thomas Fuchs Interview on Audible Ajax
Hi guys, I had the pleasure of interviewing Thomas Fuchs for "Audible Ajax", and thought that some of you may be interested to hear it: http://ajaxian.com/archives/audible-ajax-episode-12-thomas-fuchs-of-scriptac ulous Cheers, Dion Almaer Founder, Ajaxian.com http://ajaxian.com Cleaning up the web with Ajax
2007 Mar 13
0
multiplying matrix by vector of times
...; loglik[i] <- log(p %*% expm(Q * y[i]) %*% q) > } > > Then you can sum(loglik) like you did before. > > Cheers, > Gad Hi Gad, Thanks for the tip about the empty vector, I ever knew you could do that. I just have one problem, Lets say Q is a 2x2 matrix p is a 1x2 matrix q is a 2x1 matrix y is vector of times, say y = c(5, 10) How do I multiply Q by each time y[i]? I would like to get the answer to the equation loglik[i] <- log(p %*% expm(Q * y[i]) %*% q) Where first y=5 and then y=10 so that the answers to loglik for each i are put...