search for: marg

Displaying 20 results from an estimated 102 matches for "marg".

Did you mean: arg
2004 Aug 11
0
pam_mount issue
...messages displayed give nothing away as to why it fails; the comment "mount errors (should be empty)" is very confusing, as the directory /home/RMNETNT/martin/WORKAREA is empty, not that should make any difference to the mount command. ?Snippet of /var/log/messages :- Aug ?6 12:56:07 marge pam_winbind[19420]: user 'RMNETNT\martin' granted acces Aug ?6 12:56:07 marge pam_winbind[19420]: user 'RMNETNT\martin' granted acces Aug ?6 12:56:07 marge gdm(pam_unix)[19420]: session opened for user RMNETNT\martin by (uid=0) Aug ?6 12:56:07 marge gdm-binary[19420]: pam_mount:...
2012 Jun 19
0
[LLVMdev] Cast Pointer Address to Functions
...ct: [LLVMdev] Cast Pointer Address to Functions > I have a function address held in an uint64_t. I would like to cast > the function address to a function prototype and create a call to the > function in LLVM. How could I do this ? This is what works for us: std::vector<Type*> margs; FunctionType* fType; PointerType* pm3_routine; Value* m3func; Value* result; margs.resize(1); margs[0] = I64; fType = FunctionType::get(I32, margs, false); pm3_routine = PointerType::get(fType, 0); m3func = Builder.CreateIntToPtr(I64_Const((uint64_t)pFunc),...
2003 Jul 08
3
Characters and Numeric Values in One Matrix
...one matrix and still have the old character and numeric type for the respective columns. Unfortunately, I am just starting using R and I could not help him. Is there an easy and straightforward way to do this in R? Maybe a little example facilitates understanding our problem: names <- c("Marge", "Lisa", "Homer", "Bart", "Maggie") ages <- c(38,10,41,8,1) Now he wants to have 2 columns in a matrix which should look like this: "Marge" 38 "Lisa" 10 "Homer" 41 "Bart" 8 "Maggie&quot...
2010 Nov 13
1
Efficient marginal sums?
...length(X)),nrow=length(Y)) then F <- f(M.X,M.Y), then colSums(F). But that doesn't strike me as particularly "fast and efficient", because of the preliminary spadework to make M.X and M.Y. Is there any much better way? Or some function somewhere that does it? Something like "marg.sum(X,Y,function=f,margin=2)"; therefore with scope for generalisation to more than 2 variables, e.g. marg.sum(X,Y,Z,function=f,margins=2) or marg.sum(X,Y,Z,function=f,margins=c(2,3)) Or, even more general, like: marg.apply(X,Y,Z,fun1=f,fun2=sum,margins=c(2,3)) (Such a question must hav...
2012 Jun 18
4
[LLVMdev] Cast Pointer Address to Functions
I have a function address held in an uint64_t. I would like to cast the function address to a function prototype and create a call to the function in LLVM. How could I do this ? Thanks Xin
2002 Dec 17
3
Changing "..." inside a function: impossible? desirable?
...easy, see below} but then I want to *eliminate* it from "..." such that I can pass "..." down to other functions which would want to see a `myarg' argument. Something like if("myarg" %in% (naml <- names(list(...)))) { ## ok, it's there, take it out marg <- list(...)$ marg ## what I now would like is ... <- unlist( list(...)["myarg" != naml] ) } BTW: one relatively ugly workaround is to use the above *list* say nlist <- list(...)["myarg" != naml] and do all subsequent call where I'd had &quo...
2009 Nov 17
2
Workaround for RH #502499?
...ller (rev 02) that's apparently getting bitten by https://bugzilla.redhat.com/show_bug.cgi?id=502499 It's running CentOS 5.4 32 bit, and the user is suffering from high load and sluggish response whenever a disk write of more than a few MB is made. iostat shows the disk at 100%. [root at marge ~]# uname -a Linux marge.gizmopartners.com 2.6.18-164.6.1.el5 #1 SMP Tue Nov 3 16:18:27 EST 2009 i686 i686 i386 GNU/Linux [root at marge ~]# hdparm -i /dev/hda /dev/hda: Model=WDC WD2000JB-00GVC0, FwRev=08.02D08, SerialNo=WD-WCAL83129186 Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixe...
2007 Jan 19
7
Prototype.js: Is there an "in_array"-like function?
...my approach for this functionality. It''s an prototype for an Array method called "has": Array.prototype.has = function(needle) { for (var i=0;i<this.length;i++) { if(this[i] == needle){ return true; } } return false; } var someArray = [''jim'', ''marge'', ''timmeh'', ''bob'']; if( someArray.has(''bob'') ) { alert(''found bob'') } Isn''t there something like "has()" in prototype already? I have seen the find / findAll, but the example in the docs are k...
2007 Apr 27
4
Randomising matrices
I would like to be able to randomise presence-absence (i.e. binary) matrices whilst keeping both the row and column totals constant. Is there a function in R that would allow me to do this? I'm working with vegetation presence-absence matrices based on field observations. The matrices are formatted to have sites as rows and species as columns. The presence of a species on a site is
2010 Jun 10
0
error message fitting tcopula
Hi r-users,   I really need help in fitting the t-copula.  I try to reproduce the example given by Jun Yan in “Enjoy the joy of copula” but I’m not sure how to correct the error based on the error message.  I tried so many ways but still could not get it working.   loglik.marg <- function(b, x) sum(dgamma(x, shape = b[1], scale = b[2], log = TRUE))   ctrl <- list(fnscale = -1)   #dat <- stn_pos[,1:2] ## observed data myCop.t <- ellipCopula(family = "t", param = 0.5,dim = 2, dispstr = "un", df = 8) myCop.t   myMvd <- mvdc(copula = myCop....
2010 Jun 10
0
error message in fitting tcopula
Hi r-users, I really need help in fitting the t-copula. I try to reproduce the example given by Jun Yan in "Enjoy the joy of copula" but I'm not sure how to correct the error based on the error message. I tried so many ways but still could not get it working. loglik.marg <- function(b, x) sum(dgamma(x, shape = b[1], scale = b[2], log = TRUE)) ctrl <- list(fnscale = -1) #dat <- stn_pos[,1:2] ## observed data myCop.t <- ellipCopula(family = "t", param = 0.5,dim = 2, dispstr = "un", df = 8) myCop.t myMvd <- mvdc(copula...
2016 Mar 24
0
attribute of intrinsic function
> On Mar 24, 2016, at 12:45 PM, Xiangyang Guo via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > Hi, > > When I define an intrinsic function with memory write permission, my assumption is that we can either attach [IntrReadWriteArgMem] or [] to the intrinsic function. Based on the comment of the source code , "IntrReadWriteArgMem - This intrinsic reads and writes
2005 Feb 02
6
NAT troubles with IPSEC traffic
...d anything like it on Google either. I just requested to join the list but have not recieved the opt in mail yet so if you could also copy my address on any ideas that would be great. The traffic is allowed through the firewall and properly directed through the ipsec0 interface. Feb 1 20:54:41 marge kernel: Shorewall:lan2gw:ACCEPT:IN=eth1 OUT=ipsec0 SRC=192.168.60.6 DST=192.168.59.9 LEN=60 TOS=0x00 PREC=0x00 TTL=127 ID=8107 PROTO=ICMP TYPE=8 CODE=0 ID=768 SEQ=5063 Feb 1 20:54:46 marge kernel: Shorewall:lan2gw:ACCEPT:IN=eth1 OUT=ipsec0 SRC=192.168.60.6 DST=192.168.59.9 LEN=60 TOS=0x00 PREC=0x...
2007 Mar 31
3
strange fisher.test result
A simple question - using the following fishers test it appears that the P value is significant, but the CI includes 1. Is this result correct? > data.50p10min <- matrix(c(16,15, 8, 24),nrow=2) > fisher.test(data.50p10min) Fisher's Exact Test for Count Data data: data.50p10min p-value = 0.03941 alternative hypothesis: true odds ratio is not equal to 1 95
2004 Jul 20
4
stupid question
forgive me.. i have no idea what im asking or if its possible... i have 2 partitions as follows and am using the std windows xp bootloader to boot xp - ntfs (windows xp) - fat16 stupid question is... can i use syslinux, isolinux, memdisk or some combo there of to place a bootable cdrom iso image on the fat16 partition and then have a boot menu with something to the effect of : 1) winxp as
2011 Oct 25
1
difficulties with MuMIn model generation with coxph
...full (global) model, a coxph object >globemodel<-coxph(survival~ edgeden + pctroad + pctcc90+ pctcc80 + pctcrsog + ravine + canfrag + pctoldc, data=data1) #evaluate all subsets of models using dredge >exhausting<-dredge(globemodel, eval=TRUE, fixed=c("pctroad"),m.max=3, marge.ex=TRUE, rank="AICc") Error in UseMethod("logLik") : no applicable method for 'logLik' applied to an object of class "logical" any suggestions would be greatly appreciated. The globemodel works on its own, and prints out a summary just fine. The only thi...
2003 May 13
1
Creating HD Boot Images
I have been trying to track down information on building HD boot images for ISOLINUX and MEMDISK, and so far, haven't had a whole lot of luck. I've found a number of sources describing the process of setting up ISOLINUX and MEMDISK, and how to configure the boot CD to boot various OS's. I've also read through Bart Lagerweij's BootCD/ModBoot pages, and Mikhail
2013 Oct 15
1
plotting a marginal distribution on the plane behind a persp() plot
R'istas: I am trying to plot a marginal distribution on the plane behind a persp() plot. My existing code is: library(MASS) X <- mvrnorm(1000,mu=c(0,0),Sigma=matrix(c(1,0,0,1),2)) X.kde <- kde2d(X[,1],X[,2],n=25) # X.kde is list: $x 1*n, $y 1*n, $z n*n persp(X.kde,phi=30,theta=60,xlab="x_b",ylab="x_a",z...
2007 Jan 09
4
A question about R environment
Hi all, I created environment "mytoolbox" by : mytoolbox <- new.env(parent=baseenv()) Is there anyway I put it in the search path ? If you need some background : In a project, I often write some small functions, and load them into my workspace directly, so when I list the objects with ls(), it looks pretty messy. So I am wondering if it is possible to creat an
2006 Sep 09
2
How to actively join you all
...teful to you all. thanks Sayonara With Smile & With Warm Regards :-) G a u r a v Y a d a v Senior Executive Officer, Economic Research & Surveillance Department, Clearing Corporation Of India Limited. Address: 5th, 6th, 7th Floor, Trade Wing 'C', Kamala City, S.B. Marg, Mumbai - 400 013 Telephone(Office): - +91 022 6663 9398 , Mobile(Personal) (0)9821286118 Email(Office) :- gyadav@ccilindia.co.in , Email(Personal) :- emailtogauravyadav@gmail.com ============================================================================================ DISCLAIMER AND C...