Displaying 20 results from an estimated 34 matches for "aa2".
Did you mean:
a2
2005 Jan 12
2
mydataframe$colname: using substring of colname may also match some column (PR#7496)
...!!!!!! (I expect df$a to be undefind)
>df$x
>NULL
Compare with:
> df["aaa"]
aaa
1 1
> df["a"]
Error in "[.data.frame"(df, "a") : undefined columns selected
Here another example that underline how problematic this issue can be:
aa1<-1
aa2<-2
df<-as.data.frame(aa1,aa2)
> df$aa
[1] 1 (only the first matching column is retrieved)
2015 Mar 03
2
openssh-SNAP-20150304 issues
...(stderr, "ASSERT_%s_%s(%s%s%s) failed:\n",
name, pred_name(pred), a1,
a2 != NULL ? ", " : "", a2 != NULL ? a2 : "");
}
void
assert_bignum(const char *file, int line, const char *a1, const char *a2,
const BIGNUM *aa1, const BIGNUM *aa2, enum test_predicate pred)
{
int r = BN_cmp(aa1, aa2);
TEST_CHECK_INT(r, pred);
test_header(file, line, a1, a2, "BIGNUM", pred);
fprintf(stderr, "%12s = 0x%s\n", a1, BN_bn2hex(aa1));
fprintf(stderr, "%12s = 0x%s\n", a2, BN_bn2he...
2015 Jun 16
1
Different behavior of model.matrix between R 3.2 and R3.1.1
...A simple example is below.
strat <- function(x) x
d <- expand.grid(a=c('a1','a2'), b=c('b1','b2'))
d$y <- c(1,3,2,4)
f <- y ~ a * strat(b)
m <- model.frame(f, data=d)
Terms <- drop.terms(terms(f, data=d), 2)
model.matrix(Terms, m)
(Intercept) aa2 aa1:strat(b)b2 aa2:strat(b)b2
1 1 0 0 0
2 1 1 0 0
3 1 0 1 0
4 1 1 0 1
. . .
The column corresponding to a='a1' b='b2' should not b...
2008 Nov 10
1
question about contrast in R for multi-factor linear regression models?
...actor A has 6 levels, B has 2 levels,
> levels(dd$A)=c("A1", "A2", "A3", "A4", "A5", "A6")
> levels(dd$B)=c("b1", "b2")
My question is how to interpret the resultant coefficients. What are
the bases of "dd$AA2:dd$Bb2" and "dd$AA3:dd$Bb2", etc. ?
I am having a hard time to understand the result and making sense out
of the numbers...
Please help me ! Thank you!
> zz=lm(formula = (dd$Y) ~ dd$A * dd$B)
> summary(zz)
Call:
lm(formula = dd$Y~ dd$A * dd$B)
Residuals:
Min 1Q...
2016 Feb 17
2
Call for testing: OpenSSH 7.2
...e at entry=0x42a188
> "regress/unittests/hostkeys/test_iterate.c", line=line at entry=163,
> a1=a1 at entry=0x42a1e0 "sshkey_load_public(
> test_data_file(expected[i].key_file), &expected[i].l.key, NULL)",
> a2=a2 at entry=0x42d2cf "0", aa1=-24, aa2=aa2 at entry=0,
This one is failing a test assetion - there should be some more useful
output available from the test itself.
-d
2005 Nov 10
1
How to export multiple files using write.table in the loop?
...t;C:\\Alice\\MBEI.txt", sep="\t", check.names=FALSE)
a<-subset(data1,select=c(V1,V2,V3))
write.table<-(a,file="C:\\Alice\\aa1.txt",quote=FALSE,row.names=FALSE,col.name=FALSE,sep="\t")
a<-subset(data1,select=c(V1,V4,V5))
write.table(a,file="C:\\Alice\\aa2.txt",quote=FALSE,row.names=FALSE,col.name=FALSE,sep="\t")
or
data1<- read.table(file = "C:\\Alice\\MBEI.txt", sep="\t", check.names=FALSE)
a<-data.frame(data1[,1],data1[,2],data1[,3]
write.table<-(a,file="C:\\Alice\\aa1.txt",quote=FALSE,row.na...
2016 Feb 17
3
Call for testing: OpenSSH 7.2
On Tue, 16 Feb 2016, Hisashi T Fujinaka wrote:
> On Wed, 17 Feb 2016, Damien Miller wrote:
>
> > > Core was generated by `test_sshkey'.
> > > Program terminated with signal SIGSEGV, Segmentation fault.
> > > #0 0x000000000041273e in cert_parse (key=0x7f7ff7b120c0,
> > > certbuf=0x7f7ff7b16200, b=0x7f7ff7b161b0) at sshkey.c:1896
> > > 1896
2018 Jan 28
0
Polly Dependency Analysis in MyPass
...ult2.reset(new ScopDetection(F, DT, SE, LI, RI, AA));
auto &SD2 = getAnalysis<polly::ScopDetectionWrapperPass>().getSD();
auto &SE2 = getAnalysis<ScalarEvolutionWrapperPass>().getSE();
auto &LI2 = getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
auto &AA2 = getAnalysis<AAResultsWrapperPass>().getAAResults();
auto const &DL2 = F.getParent()->getDataLayout();
auto &DT2 = getAnalysis<DominatorTreeWrapperPass>().getDomTree();
auto &AC2 = getAnalysis<AssumptionCacheTracker>().getAssumptionCache(F);
Result.reset(n...
2018 Jan 28
4
Polly Dependency Analysis in MyPass
Hello,
I need to analyze dependencies in my llvm ir by using polly. i created a
new pass called mypass there i added polly dependency analysis pass but
when i execute this pass in gdb i get no data.
Why is that so?
My code is follows;
namespace {
struct mypass : public FunctionPass {
static char ID;
mypass() : FunctionPass(ID) {
}
virtual bool runOnFunction(Function &F)
{
2018 Jan 28
1
Polly Dependency Analysis in MyPass
...RI, AA));
>
>
>
> auto &SD2 = getAnalysis<polly::ScopDetectionWrapperPass>().getSD();
>
>
>
> auto &SE2 = getAnalysis<ScalarEvolutionWrapperPass>().getSE();
> auto &LI2 = getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
> auto &AA2 = getAnalysis<AAResultsWrapperPass>().getAAResults();
> auto const &DL2 = F.getParent()->getDataLayout();
> auto &DT2 = getAnalysis<DominatorTreeWrapperPass>().getDomTree();
> auto &AC2 = getAnalysis<AssumptionCacheTracker>().getAssumptionCache(F);
&g...
2015 Jun 15
2
Different behavior of model.matrix between R 3.2 and R3.1.1
...,4)
f <- y ~ a * strat(b)
m <- model.frame(f, data=d)
Terms <- terms(f, specials='strat', data=d)
specials <- attr(Terms, 'specials')
temp <- survival:::untangle.specials(Terms, 'strat', 1)
Terms <- Terms[- temp$terms]
model.matrix(Terms, m)
(Intercept) aa2 aa1:strat(b)b2 aa2:strat(b)b2
1 1 0 0 0
2 1 1 0 0
3 1 0 1 0
4 1 1 0 1
. . .
The column corresponding to a='a1' b='b2' should not b...
2015 Jun 15
2
Different behavior of model.matrix between R 3.2 and R3.1.1
...,4)
f <- y ~ a * strat(b)
m <- model.frame(f, data=d)
Terms <- terms(f, specials='strat', data=d)
specials <- attr(Terms, 'specials')
temp <- survival:::untangle.specials(Terms, 'strat', 1)
Terms <- Terms[- temp$terms]
model.matrix(Terms, m)
(Intercept) aa2 aa1:strat(b)b2 aa2:strat(b)b2
1 1 0 0 0
2 1 1 0 0
3 1 0 1 0
4 1 1 0 1
. . .
The column corresponding to a='a1' b='b2' should not b...
2010 Jul 09
2
Strange R object
...duce an "X" too!
> ###################################################################
>
> # these have the same dput output but are not identical!
> # I would have expected them to be the identical.
> ###################################################################
> aa2 <- structure(1, class = c("zooreg", "zoo"))
> dput(aa2)
structure(1, class = c("zooreg", "zoo"))
> dput(zz2)
structure(1, class = c("zooreg", "zoo"))
> identical(aa2, zz2)
[1] FALSE
> sessionInfo()
R version 2.11.1 Patched...
2013 Apr 07
2
"btrfs send" fails with having too many open fd's
...mpiled from git commit: commit
7854c8b667654502f69e05584729146a06827bc6
btrfs fi show:
Label: none uuid: ccedbef9-417b-454c-b1d4-8b4220111e6a
Total devices 1 FS bytes used 177.79GB
devid 1 size 210.85GB used 210.85GB path /dev/dm-0
Label: ''BACKUP'' uuid: 019e75e4-aa2e-495d-9711-28ef7150b1f3
Total devices 2 FS bytes used 137.35GB
devid 2 size 298.09GB used 142.01GB path /dev/sdc1
devid 1 size 298.09GB used 142.03GB path /dev/sdb1
The send fs is on a dm-crypt device and the receive on a btrfs raid1
A scrub for both fs ran fine without error...
2012 Jun 28
3
Storing results in a single file after looping over all files
...in my working folder and I am doing the same analysis on each of those and want to save all the results in a single file. I am making some mistake here and can't figure out how to solve it.
Say, the *.raw files are ABCD.raw, EFGH.raw, IJKL.raw ...
The files are of this format
ID PHI?? aa1? aa2? aa3 ....
1??? 1???? 1.3?? 2.0?? 1.0
2??? 0???? 1.5?? NA?? 0.9
3??? 1???? 0.1?? 0.2?? 1.5
......
..
My code is as follows:
files <- list.files(pattern="*.raw")
for(i in files){
of <- strsplit(i, "\\.")[[1]]
of <- paste(head(of, 1))
data <- read.table(file=i,...
2008 Jan 11
0
Re-Casting
R-experts, I have a bunch of files (by date) that I can read into
dataframes as below.
df$today:
identifier rtgmdy rtgmdy_dt rtgmdy_watch rtgmdy_nowatch
rtgmdy_watch_dt rtgsp rtgsp_dt
310000031 Aa3 20050701 Aa3 NA AA-
20050510
310000086 B1 20070920 B1 NA B+
20070828
310000106 Baa2 20040326 Baa2 NA BBB
20051003
310000170 Baa3 20070601 Baa3 NA BBB+
20051024
310000225 Ba2 20070601 Ba2 NA BB+
20070423
310000386 Baa3 20070320 Baa3 NA BBB-
20040331
df$20050701:
identifier rtgmdy rtgmdy_dt rtgmdy_watch rtgmdy_nowatch
rtgmdy_watch_dt rtgsp rtgsp_dt
310000031 Aa2 2...
2018 Jan 29
1
Polly Dependency Analysis in MyPass
...Result2.reset(new ScopDetection(F, DT, SE, LI, RI, AA));
auto &SD2 = getAnalysis<polly::ScopDetectionWrapperPass>().getSD();
auto &SE2 = getAnalysis<ScalarEvolutionWrapperPass>().getSE();
auto &LI2 = getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
auto &AA2 = getAnalysis<AAResultsWrapperPass>().getAAResults();
auto const &DL2 = F.getParent()->getDataLayout();
auto &DT2 = getAnalysis<DominatorTreeWrapperPass>().getDomTree();
auto &AC2 = getAnalysis<AssumptionCacheTracker>().getAssumptionCache(F);
Result.reset(n...
2018 Jan 29
0
Polly Dependency Analysis in MyPass
How do you compile the code? Within the Polly subdirectory using CMake?
How do you run your pass. Using "opt -mypass inputfile.ll"?
Michael
2018-01-28 9:30 GMT-06:00 hameeza ahmed via llvm-dev <llvm-dev at lists.llvm.org>:
> Hello,
>
> I need to analyze dependencies in my llvm ir by using polly. i created a new
> pass called mypass there i added polly dependency
2002 Jul 10
1
Rsync Memory Issues - Kernel 2.4.18 - Box Hangs
Hi,
Im running a Dell 6450 w/ 4GB of memory, 2 2GB Swap Partitions. Redhat 7.3
kernel 2.4.18 (kernel.org). It runs our images for our site. We use rsync to
sync images from a main image box. It runs fine for maybe 4 days untill all
memory is in cache, and like 7MB of physical memory is free. The box will
hardly do anything, and cache will just keep going up and up untill no more
memory is free.
2006 Aug 01
4
Overlay Boxplot with scatter plot
I am trying to make a box plot and overlay it with a scatter plot from
another data.frame. I was able to successfully create the boxplot, but
when i tried using points(x~y...) the dots did not show up.
example code
aa<-(300,300,300,300,600,600,600,600,900,900,900,900)
bb<-(13,12,14,11,56,44,34,75,22.,34,22,98,59,55,56)
cc<-(13,12,14,11,56,44,34,75,22.,34,22,98,59,55,56)