search for: dif

Displaying 20 results from an estimated 441 matches for "dif".

Did you mean: diff
2004 Nov 28
3
Correct Syntax for a Loop
I'll appreciate if some one can help me with the following loop. This is the logic of the loop, if we have the following data; > x.df x.dif . . . . 102 0.00 103 0.42 104 0.08 105 0.00 106 0.00 107 0.00 108 -0.16 109 -0.34 110 0.00 111 -0.17 112 -0.33 113 0.00 114 0.00 115 0.00 116 0.33 117 0.17 118 0.00 . . . . I'm trying to find i's where for (i in 2:length(x.dif)) if (x.dif[i-1]<=0 and x....
2010 Apr 15
0
nlsList {nlme} - control arguments problem
...for me as I had a customized selfStart function that then optimized the parameters for each individual separately. if you rewrote your selfStart function as: powrDpltInit <- function(mCall, LHS, data) { xy <- sortedXyData(mCall[["x"]],LHS,data) min.s <- min(y) dif.s <- max(y)-min(y) dplt.s <- 0.5 p.s <- -.20 value <- c(min.s, dplt.s, dif.s, p.s) #function to optimize func1 <- function(value) { min.s <- value[1] dif.s <- value[2] dplt.s <- value[3] p.s <- value[4] y1<-rep(0,length(xy$x)) # gen...
2007 Mar 09
2
DIF means?
Hi, In Solairs Dtrace User Guide, page 193, it lists the arguments of ERROR probe. One of these arguments is arg3, it is explained as "The DIF offset into that action or -1 if not applicable". Then what does the abbr. DIF mean? Regards TJ
2010 Jan 02
2
help with for loop
Dear useRs, I want to write a function that generates all the possible combinations of diff(). Example: If my vector has length 5, I need the diff() until lag=4 -> c(diff(my.vec), diff(my.vec, lag=2), diff(my.vec, lag=3), diff(my.vec, lag=4)) If it has length 4, I need until lag=3 -> c(diff(my.vec), diff(my.vec, lag=2), diff(my.vec, lag=3)) So, it must be until lag=(length(my.ve...
2009 Jun 29
0
nlsList {nlme} - control arguments problem
...variable. ?However, the bounds aren't imposed when performing the nlsList analysis across the levels of the grouping variable. ?Any idea why this isn't working? # Generate example data ########## trial ?<- 1:100 result <- list() for (i in 1:3) { ?min <- rnorm(max(trial),250,5) ?dif <- rnorm(max(trial),500,5) ?p ? <- rnorm(max(trial),-.5,.1) ?e ? <- rnorm(max(trial),mean=0,sd=5) ?y ? <- min + dif*(trial)^p + e ?result[[i]] <- data.frame(y,trial,id=i) } newdf ? <-do.call('rbind',result) df.gr ? ? <- groupedData( y ~ trial | id, data=newdf) ### Sin...
2005 Oct 18
1
Error while using sdt interrupt-complete.
Has anyone seen the following error before? "error on enabled probe ID 2 (ID 473: sdt:unix:av_dispatch_autovect:interrupt-complete): invalid address (0x198) in action #3 at DIF offset 20" I''m trying to capture interrupt times as inlined in the below script. The script gives me some output after the errors, and I''m trying to understand if the errors are affecting my output(and the cause, of course) Thanks for any pointers, -ps intr.d from the...
2023 Dec 07
2
Are DIF files for releases available
I have a semi working 32-bit build of Samba 4.11.0 for Windows based on a patched Cygwin 2.5.2 build. I wondered if anyone knows where a set of DIF files to move it from release 4.11.0 to the latest stable release of 4.19.x (or through each intervening release to that point) could be obtained. I would like to apply changes incrementally to this build to avoid breaking the current work I have in place, and a set of DIF files seems like a good a...
2023 Dec 07
1
Are DIF files for releases available
07.12.2023 22:22, David Bean via samba ?????: > I have a semi working 32-bit build of Samba 4.11.0 for Windows based on a patched Cygwin 2.5.2 build. I wondered if anyone knows where a set of DIF files to move it from release 4.11.0 to the latest stable release of 4.19.x (or through each intervening release to that point) could be obtained. I would like to apply changes incrementally to this build to avoid breaking the current work I have in place, and a set of DIF files seems like a good a...
2019 Jan 07
0
Re: virsh on mac os X
...lar/libvirt/4.10.0/lib/libvirt-lxc.0.dylib\0", 0x7FFEEA718040, 0x0) = 0 0 98962/0x5a031: open("/usr/local/Cellar/libvirt/4.10.0/lib/libvirt-lxc.0.dylib\0", 0x0, 0x0) = 3 0 dtrace: error on enabled probe ID 2189 (ID 468: syscall::pread:return): invalid kernel access in action #13 at DIF offset 20 98962/0x5a031: fcntl(0x3, 0x62, 0x7FFEEA70F7D0) = 0 0 98962/0x5a031: mmap(0x10556D000, 0x4000, 0x5, 0x12, 0x3, 0x0) = 0x10556D000 0 98962/0x5a031: mmap(0x105571000, 0x1000, 0x3, 0x12, 0x3, 0x4000) = 0x105571000 0 98962/0x5a031: mmap(0x105572000, 0x6CC, 0x1, 0x12, 0x3, 0x5000) = 0x...
2004 Nov 28
0
Re: [R-sig-finance] syntax for a loop
...f the end. You basically just write the code as you've stated it except that "and" is && for single values and & for vectors You don't say what should happen if the test is not true. You can probably use "ifelse" instead of a loop. iseq <- 2:(length(x.dif) - 2) test <- x.dif[iseq-1] <= 0 & x.dif[iseq] > 0 & x.dif[iseq + 2] > 0 ifelse(test, iseq + 2, NA) I suspect that the last term in test should be i+1 and not i+2 ? You can see S Poetry for details. Patrick Burns Burns Statistics patrick@burns-stat.com +44 (0)20 8525 0696 ht...
2010 Aug 24
2
Comparing/diffing strings
Hi all, all.equal is generally very useful when you want to find the differences between two objects. It breaks down however, when you have two long strings to compare: > all.equal(a, b) [1] "1 string mismatch" Does any one know of any good text diffing tools implemented in R? Thanks, Hadley -- Assistant Professor / Dobelman Family Junior Chair Depar...
2003 Jun 17
1
hist density...
Hi! Do not understand following behavior. > summary(test$dif) Min. 1st Qu. Median Mean 3rd Qu. Max. 0.7389 0.9713 0.9850 0.9818 1.0000 1.0000 length(test$dif) [1] 85879 tmp <- hist(test$dif,breaks=100,freq=FALSE) The density on the Y axis in the plot are in the range 0-200. Thought that the density should be in the range 0-1 (someth...
2010 Jul 21
0
DIF Analysis starting from a gpcm class object
Dear useRs, does any of you have suggestions on how to conduct a proper DIF analysis starting from a model of class gpcm (from the wonderful package ltm by prof. Rizopoulos)? difR will handle only dichotomous items, and I have a mix of dicho- and polytomous ones (that's why I chose the partial credit model). I also found the package lordif, but I'm not really s...
2005 Sep 08
3
DTrace typewriter
G''Day Folks, I''ve found another use of dtrace, this makes your console keyboard sound like a typewriter. http://www.brendangregg.com/DTrace/typewriter-0.70.tar.gz I''ve only tested it on an UltraSPARC 5 and a Pentium laptop so far, more to follow. Ok, sorry, not actually a practical use of DTrace. :) Enjoy! Brendan [Sydney, Australia]
2008 Apr 01
2
Feature request: Store diffed files separately.
Hello all, I'm going to feel dumb if rsync can already do this, but I honestly haven't found anything to indicate that. I would like to be able to store diffed files in a separate directory on the receiver so it makes doing an incremental backup easy and efficient. Let me explain: Day 1: take a full backup of a directory: rsync -r ./source/ ./dest/ Day 2: Diff the contents of ./source/ and ./dest/ and store only the new/modified files in ./incrementa...
2020 Aug 07
4
LLVM deprecation policy
Oh yes, I am diffing the output of some of the tests in order to be sure everything is the same. And running the tests, too. I have a question about the release notes. The current version of LLVM is 10. There are release notes for 12. What happened to poor old version 11? At 8/7/2020 02:55 PM, David Blaikie wrot...
2012 Feb 13
2
Error in apply(x2, 1, diff) : dim(X) must have a positive length
Anyone knows hat might be the cause of this error? Thanks for any help! >library(MASS) > dif.mns = function(x2,tr1=.2,tr2=.3){ + #generates four different 'means' using + #difference scores from x2, an n x 2 matrix + #for use w/ bootstrap comparisons + diffs = apply(x2,1,diff) + mn1=mean(diffs) + mn2=mean(diffs,tr=.2) + mn3=mean(diffs,tr=.3) + mn4=median...
2008 Dec 01
7
DIF content is invalid?
What''s going on? # dtrace -s iotime_all.d 100 dtrace: failed to enable ''iotime_all.d'': DIF program content is invalid The errant script.... #pragma D option quiet BEGIN { stime = timestamp; io_count = 0; } io:::start /args[2]->fi_pathname != "<none>"/ { start[pid, args[2]->fi_pathname, args[0]->b_edev, args[0]->b_blkno, args[0]->b_bcount]...
2011 Sep 03
1
help with glmm.admb
...stion I am trying to use glmm.admb (the latest alpha version from the R forge website 0.6.4) to model my count data that is overdispersed using a negative binomial family but keep getting the following error message: Error in glmm.admb(data$total_bites_rounded ~ age_class_back, random = ~food.dif.id, : Argument "group" must be a character string specifying the name of the grouping variable (also when "random" is missing) Here is what I have tried so far (along with some similar variations): model_nb<-glmm.admb(data$total_bites_rounded~age_class_back+(1|&quo...
2006 Jul 18
1
dtrace: failed to enable ''prt_all_cmt2.d'': DIF program exceeds maximum program size
I need a bigger DIF. Please advise. rick -- Rickey C. Weisner Software Development and Performance Specialist Sun Microsystems, INC cell phone: 615-308-1147 email: rick.weisner at sun.com