Displaying 20 results from an estimated 56 matches for "dft".
Did you mean:
df
2011 Nov 12
2
dev.new() within a loop
...s)
df <- subset(df, df$Time < (max(df$Time) - warmup_cooldown_minutes))
# =========================================================================================
# Throughput
# =========================================================================================
if (decouple) {
dft <- aggregate(x=df$Runtime, by=list(df$Time,df$Workload), FUN=length)
names(dft)[names(dft)=="Group.1"] <- "Time"
names(dft)[names(dft)=="Group.2"] <- "Workload"
names(dft)[names(dft)=="x"] <- "Y"
} else {...
2012 Jan 17
2
How to loop on file names
Dear all,
I need to do the same procedure on several files. But I don't know how
to refer to the file name.
Here is an example of what I am trying to do.
List of files: file1(A,B,C, D1...Dn), file2(A,B,C,E1,...,En),
file3(A,B,C,F1,...,Fn)
Procedure I want to apply on each file:
dft <- melt(df,id=c('A','B','C'))
dft$X <- substr(dft$variable,1,3)
dft$Y <- substr(dft$variable,4,8)
dft1 <- cast(dft, A+B+C+X ~ Y,value="response")
As you see all the files contains the same 3 variables A,B,C that I use
in the procedure.
So I want to ap...
2007 Dec 16
4
improving a bar graph
...e panel/plot). I am open to alternative code
as to how I could present this data.
Time1 <- c(9.0,6.0,1.0,5.0,7.0,9.0,5.0,7.5,6.0,8.0,5.0,5.0,9.0,4.0,5.0,5.0)
Time2 <- c (10,5,3,3,3,6,7,8,5,8,7,7,9,8,5,3)
Time3 <- c (10,0,3,0,0,6,0,0,0,0,0,0,0,0,0,0)
df <- rbind (Time1, Time2, Time3)
dft <- (t(df))
dft
barplot(dft, beside = TRUE, main= "Risk score by assessment", xlab =
" Score", ylab = "frequency", col="blue")
Any assistance is much appreciated,
regards
Bob Green
2009 Jan 10
1
Setting a contingency table
Hi,
I want to set a make a contingency table which will look like this.. The problem is that I can't set the table like the following.
col1 col2 Total
row1 a b n10
rp1 rp2 100
cp1 cp2 rtp1
---------------------------------------------
row2
2017 Sep 14
2
IVUsers pass is fragile. Is this okay? How can it be resolved?
...ves, and thus returns, is dependent on what SCEV's have been previously constructed (unfortunately), it's not hard to develop these kinds of processing-order dependencies with analyses that use SCEV.
-Hal
Thankfully, it looks like the SCEVs that are produced for each instruction in the DFT that I’m looking at are consistent; there doesn’t seem to be any affect on the SCEVs themselves as a result of the traversal orders.
It looks to me that there are two pieces of the implementation of IVUsers that are leading to the fragility (i.e. dependence on input ordering) that I am seeing.
A)...
2017 Sep 15
2
IVUsers pass is fragile. Is this okay? How can it be resolved?
...ves, and thus returns, is dependent on what SCEV's have been previously constructed (unfortunately), it's not hard to develop these kinds of processing-order dependencies with analyses that use SCEV.
-Hal
Thankfully, it looks like the SCEVs that are produced for each instruction in the DFT that I’m looking at are consistent; there doesn’t seem to be any affect on the SCEVs themselves as a result of the traversal orders.
It looks to me that there are two pieces of the implementation of IVUsers that are leading to the fragility (i.e. dependence on input ordering) that I am seeing.
A)...
2017 Sep 16
0
IVUsers pass is fragile. Is this okay? How can it be resolved?
...t's not hard to develop these kinds
>>>> of processing-order dependencies with analyses that use SCEV.
>>>>
>>>> -Hal
>>>>
>>>
>>> Thankfully, it looks like the SCEVs that are produced for each
>>> instruction in the DFT that I’m looking at are consistent; there
>>> doesn’t seem to be any affect on the SCEVs themselves as a result of
>>> the traversal orders.
>>>
>>> It looks to me that there are two pieces of the implementation of
>>> IVUsers that are leading to the...
2009 Dec 29
4
subsetting by groups, with conditions
I have a data set similar to this:
P1id Veg1 Veg2 AreaPoly2 P2ID
1 p p 1 1
1 p p 1.5 2
2 p p 2 3
2 p h 3.5 4
For each group of "Poly1id" records, I wish to output (subset) the record
which has largest "AreaPoly2" value, but only if
2017 Sep 13
2
IVUsers pass is fragile. Is this okay? How can it be resolved?
...tore i64 %iv.inc, i64* %addr, align 8
As you can see, there’s clearly commonalities in these results but there are also SCEVs that will, or will not, appear in the IVUsers results depending on just simple differences in phi-instruction or use list ordering.
Basically, IVUsers starts a series of DFTs at each of the phi nodes in the loop header. Each DFT traverses through the def-use chains of defs with “interesting” SCEVs. At each step of the DFT it is deciding whether to add users of the current instruction’s SCEV to the IVUsers set based on properties of the user itself. The reason for the d...
2009 Apr 18
5
Dummy (factor) based on a pair of variables
Dear All!
my data is on pairs of countries, i and j, e.g.:
y,i,j
1,AUT,BEL
2,AUT,GER
3,BEL,GER
I would like to create a dummy (indicator) variable for use in regression
(using factor?), such that it takes the value of 1 if the country is in the
pair (i.e. EITHER an i-country OR an j-country).
Thank you for your help,
Serguei
________________________________________
Austrian Institute of
2007 Nov 24
1
undocumented scp server-side arguments -dft
Hi,
When implementing forced-commands using authorized-keys, I realized
that scp (when run at the server end) arguments -d, -f and -t are not
documented on the man page.
scp.c:
...
/* Server options. */
case 'd':
targetshouldbedirectory = 1;
break;
case 'f': /*
2009 Jan 20
1
generalizing expand.table: table -> data.frame
In
http://tolstoy.newcastle.edu.au/R/e2/help/06/10/3064.html
a method was given for converting a frequency table to an expanded data
frame representing each
observation as a set of factors. A slightly modified version was later
included in the NCStats package,
only on http://rforge.net/ (and it has too many dependencies to be useful).
I've tried to make it more general, allowing an input
2002 Jun 07
0
smbd: Too many open files
...mb.conf, in station log is suspicious record about closing
file with filedescriptor fd=-1 :
[2002/06/07 14:33:53, 4] smbd/open.c:open_file_shared1(891)
calling open_file with flags=0x0 flags2=0x0 mode=0764
[2002/06/07 14:33:53, 2] smbd/open.c:open_file(230)
johny opened file O/a1/KO-I_X8-eh.dft read=Yes write=No (numopen=1)
reply_ntcreate_and_X: fnum = 5004, open name = O/a1/KO-I_X8-eh.dft
switch message SMBclose (pid 6617)
pipe name srvsvc pnum=71e8 (pipes_open=1)
[2002/06/07 14:33:53, 5] smbd/pipes.c:reply_pipe_close(255)
reply_pipe_close: pnum:71e8
[2002/06/07 14:33:53, 4]...
2006 Jan 03
0
Isolinux.cfg issues on certain BIOSes
...kernel memdisk
append initrd=clave03.imz
label w
kernel memdisk
append initrd=clave03.imz
Label N
kernel memdisk
append initrd=msnet.img
Label n
kernel memdisk
append initrd=msnet.img
label M
kernel memdisk
append initrd=memtest.img
label m
kernel memdisk
append initrd=memtest.img
label dft
kernel memdisk
append initrd=/isolinux/drvtest/dft.imz
label DFT
kernel memdisk
append initrd=/isolinux/drvtest/dft.imz
label dftn
kernel memdisk
append initrd=/isolinux/drvtest/dft.img
label DFTn
kernel memdisk
append initrd=/isolinux/drvtest/dft.img
label wmd
kernel memdisk
append initr...
2009 Mar 08
2
survreg help in R
Hey all,
I am trying to use the survreg function in R to estimate the mean and
standard deviation to come up with the MLE of alpha and lambda for the
weibull distribution. I am doing the following:
times<-c(10,13,18,19,23,30,36,38,54,56,59,75,93,97,104,107,107,107)
censor<-c(1,0,0,1,0,1,1,0,0,0,1,1,1,1,0,1,0,0)
survreg(Surv(times,censor),dist='weibull')
and I get the following
2010 Jul 09
4
Mysterious behavior
I had trouble with some tests for the survival suite last night that I
cannot explain.
Framework: Ubuntu Linux, R2.11.
For testing survival I have a separate directory and Makefile. I
pull everything into the local .RData, no packages, library, or
namespace. (It's easier to add test modifications to a routine in a
chain of calls).
A test of survreg + psline would fail because
2003 Mar 11
3
fft help
Hi R-users:
I want to know if there is an easy way to obtain a Fourier Transform form
a vector or an array (just like fft does), but with a more density base.
I mean, if I have a vector of 512 of length, I want the Fourier
Transform to
be 1024, or 2048, etc, in length (de u domain). Or should I modify the
fft C code to do that?
If I want to modify the precision of the fft function, which
2007 May 23
0
Replicated LR goodness-of-fit tests, heterogeneity G, with loglm?
...ppooled =
sum/sum(weights)
#Now the pooled G
obs =
tapply(obscounts,cov,sum)
exp =
expproppooled*sum(obs)
Gp =
2*sum(obs*log(obs/exp))
dfp = max(as.integer(levels(cov)))-1
probp = pchisq(Gp,
dfp, lower.tail=F)
#total G
Gt = sum(G)
dft = sum(dfs)
probt = pchisq(Gt,
dft, lower.tail=F)
#heterogeneity G
Gh = Gt-Gp
dfh = dft - dfp
probh = pchisq(Gh,
dfh, lower.tail=F)
#F ratio
Fratio =
(Gp/dfp)/(Gh/dfh)
probf = pf(Fratio,
dfp, dfh, lower.tail=F)
res = list(TotG=c(Gt,...
2010 May 12
3
Summarizing counts by multiple factors
Hi,
An example data set is:
group level color
A 1 "blue"
A 1 "Red"
B 1 "blue"
B 2 "Red"
A 2 "Red"
B 2 "Red"
B 2 "blue"
B 2 "blue"
A 2 "blue"
A 2 "Red"
2019 Jan 25
0
[klibc:update-dash] expand - Fix dangling left square brackets in patterns
.../usr/dash/expand.c
@@ -1584,14 +1584,14 @@ pmatch(const char *pattern, const char *string)
p++;
}
found = 0;
- chr = *q++;
+ chr = *q;
if (chr == '\0')
return 0;
c = *p++;
do {
if (!c) {
p = startp;
- c = *p;
+ c = '[';
goto dft;
}
if (c == '[') {
@@ -1618,6 +1618,7 @@ pmatch(const char *pattern, const char *string)
} while ((c = *p++) != ']');
if (found == invert)
return 0;
+ q++;
break;
}
dft: default: