Displaying 20 results from an estimated 900 matches similar to: "Lattice: combine the same strip?"
2011 Oct 06
3
Wide to long form conversion
I have some data 'myData' in wide form (attached at the end), and
would like to convert it to long form. I wish to have five variables
in the result:
1) Subj: factor
2) Group: between-subjects factor (2 levels: s / w)
3) Reference: within-subject factor (2 levels: Me / She)
4) F: within-subject factor (2 levels: F1 / F2)
5) J: within-subject factor (2 levels: J1 / J2)
As this is the
2011 Sep 21
3
Reading data in lisp format
Hi,
I am trying to read the "credit.lisp" file of the Japanese credit database in UCI repository, but it is in lisp format which I do not know how to read. I have not found how to do that in the foreign library
http://archive.ics.uci.edu/ml/datasets/Japanese+Credit+Screening <http://archive.ics.uci.edu/ml/datasets/Japanese+Credit+Screening>
Could anyone help me?
Best
2003 Jul 06
1
Conditional Distribution of MVN variates
Hi Folks,
Given k RVs with MVN distribution N(mu,S) (S a kxk covariance matrix),
let (w.l.o.g.) X1 denote the first r of them, and X2 the last (k-r).
Likewise, let mu1 and mu2 denote their respective expectations.
Then, of course, the expectation of X2 given X1=x1 is
mu2 + S21*inv(S22)*(x1 - mu1)
and the covariance matrix of X2 given X1=x2 is
S22 - S21*inv(X11)*S12
where Sij is the
2012 Jun 24
0
[LLVMdev] Request for merge: GHC/ARM calling convention.
Hi Karel,
I understand this patch has already been merged (to 3.0), so don't
take my question as stopping the merge to head, I'm just making sure I
got it right... The rest looks correct.
+ CCIfType<[v2f64], CCAssignToReg<[Q4, Q5]>>,
+ CCIfType<[f64], CCAssignToReg<[D8, D9, D10, D11]>>,
+ CCIfType<[f32], CCAssignToReg<[S16, S17, S18, S19, S20, S21, S22,
2020 Mar 31
2
[ARM] Register pressure with -mthumb forces register reload before each call
Hi,
Compiling attached test-case, which is reduced version of of
uECC_shared_secret from tinycrypt library [1], with
--target=arm-linux-gnueabi -march=armv6-m -Oz -S
results in reloading of register holding function's address before
every call to blx:
ldr r3, .LCPI0_0
blx r3
mov r0, r6
mov r1, r5
mov r2, r4
ldr r3,
2020 Apr 07
2
[ARM] Register pressure with -mthumb forces register reload before each call
If I'm understanding what's going on in this test correctly, what's happening is:
* ARMTargetLowering::LowerCall prefers indirect calls when a function is called at least 3 times in minsize
* In thumb 1 (without -fno-omit-frame-pointer) we have effectively only 3 callee-saved registers (r4-r6)
* The function has three arguments, so those three plus the register we need to hold the
2020 Apr 15
4
[ARM] Register pressure with -mthumb forces register reload before each call
Hi,
I have attached WIP patch for adding foldMemoryOperand to Thumb1InstrInfo.
For the following case:
void f(int x, int y, int z)
{
void bar(int, int, int);
bar(x, y, z);
bar(x, z, y);
bar(y, x, z);
bar(y, y, x);
}
it calls foldMemoryOperand twice, and thus converts two calls from blx to bl.
callMI->dump() shows the function name "bar" correctly, however in
generated
2003 Jul 15
0
Multivariate regression method
Hi Folks,
Thanks to several people's suggestions and clarifications,
I think I have implemented a function which computes the
conditional mean and covariance matrix of a subset of the
dimensions of an MV-normal variable, given the values on the
other dimensions (these conditioning value can be presented
as a matrix, to deal with several cases at once).
The code is below, for anyone who would
2009 Apr 30
1
finite mixture model (2-component Weibull): plotting Weibull components?
Dear Knowledgeable R Community Members,
Please excuse my ignorance, I apologize in advance if this is an easy question, but I am a bit stumped and could use a little guidance.
I have a finite mixture modeling problem -- for example, a 2-component Weibull mixture -- where the components have a large overlap, and
I am trying to adapt the "mclust" package which concern to normal
2012 Jun 24
4
[LLVMdev] Request for merge: GHC/ARM calling convention.
Hello,
first of all: one of the LLVM 3.0 new feature was a support for GHC
specific calling convention on ARM platform. It looks like this support
was merged just into 3.0 branch, specifically it appeared in 3.0 RC2.
Anyway, I hope this is just a mistake or omission that such support was
merged only into 3.0 and not also into HEAD. I've just found it by
testing LLVM 3.1 with GHC 7.4.2 and
2012 Jun 29
2
[LLVMdev] Request for merge: GHC/ARM calling convention.
Hi Renato,
On 06/25/12 12:13 AM, Renato Golin wrote:
> Hi Karel,
>
> I understand this patch has already been merged (to 3.0), so don't
> take my question as stopping the merge to head, I'm just making sure I
> got it right... The rest looks correct.
>
> + CCIfType<[v2f64], CCAssignToReg<[Q4, Q5]>>,
> + CCIfType<[f64], CCAssignToReg<[D8, D9,
2008 Oct 02
2
Multiple hist(ograms) - One plot
Hello,
I am trying to plot multiple histograms with the same scales, etc into one
plot. The commands below produce a 3 page PDF with each histogram occupying
the upper right quadrant. And use slightly different scales on the X and Y
axes.
> s21 <- dat[dat$sc_recov=="21",]
> s21.ED <- subset(s21, select=(bbED))
> s31 <- all[all$sc_recov=="31",]
> s31.ED
2009 Jun 29
1
Printing output together
Hi!
I want to print the output all together with a single column name
s21<-c(1:1000);
var21<-lapply(s21,function(x){
ns<-rnorm(78,8,9);
n<-length(ns);
Mn<-mean(ns)
Sn2<-var(ns)
return(cbind(x,Mn,Sn2));
});
var21
but my code is giving me somewhat like the following
[[1]] x Mn Sn2
[1,] 1 7.86 10.56540
[[2]] x Mn Sn2
2011 May 05
1
Boxplot in order
Hi,
I need construct box plot graph, but I want keep Groups
order
karla = data.frame(
Groups =
factor(rep(c('CPre','SPre','C7','S7','C14','S14','C21','S21'),
11)),
Time = rep(c(0,7,14,21), 11),
Resp = valor
)
boxplot(Resp~Groups, order=T)
doesn't work.
How do this?
--------------------------------------
Silvano Cesar da
2003 Feb 26
1
non-standard boot floppys
I experimented with floppy sizes. Eg. I used FDFORMAT v1.8 to format a Disk
fdformat a: t82 s21 D10
(I even have a modified version of FDFORMAT that creates only 1 FAT to
save space, but I'm not using that.)
All the information is written nicely to the Boot-Record
http://home.freeuk.com/foxy2k/disk/disk3.htm
But SYSLINUX seems to ignore the information. While DOS boots fine from
these
2011 Apr 03
3
kernel density plot
I am using the following commands for plotting kernel density for three
kinds of crops
density(s22$Net_income_Total.1, bw="nrd0",adjust=1,
kernel=c("gaussian"))->t
plot(t, xlim=c(-30000,40000), main="Net Income Distribution", axes=F,
ylim=c(0,0.00035). xlab="Value in Rupees")
par(new=T)
density(s33$Net_income_Total.1, bw="nrd0",adjust=1,
2004 Oct 03
3
VoiceMail without password? How?
If my extension is 22, and voice mail access number is 909, then with
exten => 909,1,voicemailmain(s22)
I can access voice mail 22, without number and password prompt.
But, I want that every extension can access its voice mail without
number and password. So, when I put
exent => 909,1,voicemailmain(${calleridnum})
voicemail want only password.
I want to eliminate password too, so when I
2019 Aug 27
2
TargetRegisterInfo::getCommonSubClass bug, perhaps.
Hi,
ABCRegister.td :
def SGPR32 : RegisterClass<"ABC", [i32], 16, (add
S0, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11,
S12, S13, S14, S15
)>;
def SFGPR32 : RegisterClass<"ABC", [f32], 16, (add
S0, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11,
S12, S13, S14, S15
)>;
===== Instruction selection ends:
...
t8: i32 = ADDrr t37, t32
2007 Nov 15
2
make config update-rc.d
On Debian the Asterisk Makefile does
/usr/sbin/update-rc.d asterisk start 10 2 3 4 5 . stop 91 2 3 4 5 .;
which results in a /etc/rc2.d/S10asterisk being written.
I think S10 is too early.
bind9 : S15
mysql : S19
zaptel: S20
ntp : S23
What bothers me most is that mysql is not up when asterisk
starts. That's a bad thing if there are #execs in your config
files and if the scripts rely on
2012 May 22
1
include a dataset in my package
Hey R-users,
I think I followed the steps but still couldn't figure this out.. I am
creating a personal package and I want to include several datasets in
the package. I created a subdirectory 'data' in the package, save a
dataset 'test.rda' there, built the package, checked it, installed it.
Then I loaded the package and tried load(test), data(test),
attach(test), none of them