Displaying 20 results from an estimated 3000 matches similar to: "Reshaping matrix of vectors as dataframe"
2008 Jun 23
1
problem in R for Linear mixed model~
Dear R users:
I just got confused some R code used in linear mixed model~
example,two factors,A, B,C,A is fixed ,B,C are random,and B is nested in
C,if I wannt to use linear mixed model,are the following code correct for
each case?
case1:want to know random effect of B,
case1<-lme(y~A*B*C,random=~B|C) where "B|C" stand for what?,mean B is
nested in C?
case2: how to wirte
2009 Mar 30
1
Lattice axis list (when relation = "free")
Dear R users:
I am having difficulty to place x-axis location alternatively
top/bottom side in Lattice plot, which is composed of seven-column as
following:
E1 E2 E3 E4 E5 E6 E7
Case1 -505.85 -75.32 494.52 -12.31 -98.96 50.34 -48.62
Case2 -50.46 -60.97 68.32 -8.66 -51.77 25.17 -26.60
Case3 -253.00 -54.99 243.48 -8.76
2012 Dec 06
1
clustering of binary data
Good morning,
I am analyzing a dataset composed by 364 subjects and 13 binary variables
(0,1 = absence,presence).
I am testing possible association (co-presence) of my variables. To do
this, I was trying with cluster analysis.
My main interest is to check for the significance of the obtained clusters.
First, I tried with the pvclust() function, by using method.hclust="ward"
and
2012 Apr 23
1
ggplot2 - geom_bar
Hello,
I've some problem with the ggplot2. Here's a small example:
--8<--
library(ggplot2)
molten <- data.frame(date=c('01','01','01','01',
'02','02','02','02'),
channel=c('red','red','blue','blue',
2001 Nov 29
2
plotting (a) confidence intervals (b) standard error
Hi all,
I'm building a plot of the values in tmeant (below) against positions 1 to
5, using matplot.
tmeant looks like this:
case1 case2
pos1 861.8466 818.5909
pos2 961.2841 976.3466
pos3 878.6080 1262.8523
pos4 950.8011 1129.6080
pos5 968.1080 1063.3920
I also have lower (object tl) and upper (object tu) bounds on the
confidence intervals as follows:
tl:
pos1
2002 Jun 24
10
code optimization
I have a function "eval.delta" which does what I want but isn't very
elegant. I have consulted the R documents, MASS, and S Programming. Is
there a practical way to optimize the code? Thank you very much.
Peter B.
Function:
eval.delta <- function(delta){
cat("VALUES\n")
vlr <- NULL
k <- 0
for(j in 1:length(delta)) if(delta[j] <= 2){
2006 Mar 09
1
changing password on samba bdc
Greetings All.
First let me introduce my situation
Machine1: Pdc Samba + OpenLDAP(master)
Machine2: Bdc Samba + OpenLDAP(slave)
LDAP stores Samba and POSIX information for each user.
Case1: I login to Machine1 and invoke smbpasswd. I change
my passwords (samba and posix without any problem). In next
few seconds they get propagated to Machin2 wher I can login
with new credentials.
ldap log
2018 Feb 27
0
Question about instcombine pass.
Hello, Everyone.
I have a question about llvm's "Combine redundant instructions(instcombine)" pass.
I have tested instcombine pass by writing the following three test cases.
But, CASE3 is not optimized as I expected.
Is this behavior expected?
The version of llvm is:
clang version 5.0.1 (tags/RELEASE_501/final 325232)
Option of clang command is:
clang -O1 a.c -S -emit-llvm
2006 Jun 10
3
RJS & nested divs
I''m a newbie and I''ve been trying to figure this out for a little while
now, hopefully someone can point me in the right direction.
case1
<div id="new">
</div>
case2
<div id="new"><div id="item1"></div></div>
<div id="new2"><div id="item1"></div></div>
With RJS in
2007 Sep 05
3
'singular gradient matrix’ when using nls() and how to make the program skip nls( ) and run on
Dear friends.
I use nls() and encounter the following puzzling problem:
I have a function f(a,b,c,x), I have a data vector of x and a vectory y of
realized value of f.
Case1
I tried to estimate c with (a=0.3, b=0.5) fixed:
nls(y~f(a,b,c,x), control=list(maxiter = 100000, minFactor=0.5
^2048),start=list(c=0.5)).
The error message is: "number of iterations exceeded maximum of
2014 Jul 23
3
[LLVMdev] On semantics of add instruction - nsw,nuw flags
> Then why does the Release Note say
> " the operation is guaranteed to not overflow".
It means that the person who wrote the IR has guaranteed that there's
no overflow (by some means) so LLVM can assume it during optimisation.
This guarantee might come from doing explicit checks before executing
the add/sub; or perhaps from performing the operation after a sext so
that the
2012 Sep 04
1
binary data
Dear list,
Hello to everybody, I´m interested in finding a package for statistical analysis of binary data, I have a matrix with the following structure:
Case1 Case2 Case 3 ....... CaseX Control1 Control2 Control3 ....... ControlY
Pep1 1 0 1 1 0 0 0 1
Pep2 1 1 1 1 1 0 0 1
Pep3 0 1 1 1 1 0 0 1
...
Pepz 1 1 1 1 1 0 0 1
I would like to know some R package to calculte similarity matrix or
2003 Dec 01
1
Memdisk/XMS bug, big floppy image
>that image under B: or X: or whatever. This will allow us to cross the
>size limit of 2.88MB floppies. Ofcourse when I say "mount" I dont expect
>memdisk to mount it, just that set things up so that DOS mounts it there.
I'm using a 5MB image which emulates floppydisk.
label test
kernel data/memdisk
append initrd=data2/test.img c=80 h=8 s=18 floppy
problems are
2012 Apr 27
1
[LLVMdev] RE : RE : RE : Detect if a basicblock is part of a loop
It try to put all basicblock in a switch in a loop, like that for example:
int main() {
if(something)
somethingelse:
else
another;
}
become:
int main() {
while(true) {
switch(var) {
case 0:
if(something)
var+=1;
else:
var+=2;
break;
case1:
2008 Sep 06
1
Help use try function with boot
Hi R users,
Is is possible for me to use the try function with boot? I would to do
the bootstraping with a nonlinear model(it works well when R < 1000).
But it does not work very well (when R is large) thus I try to use
"try" to resolve. I put the try function in two cases:
case1: put the try in front of the boot
> c1.try<-try(boot(c1data, statistic = c1.fun,
2013 Aug 28
12
[PATCH V2] x86/AMD-Vi: Add additional check for invalid special->handle
From: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
This patch add an additional logic to check for the often case when the
special->handle is not initialized due to firmware bugs.
but the special->usedid is correct. If users overide this using the
command line option ivrs_ioapic, then it should use the value instead.
---
This patch is supposed to follow the patches:
2020 Jul 14
2
Multiple documents in one test file
On 14/07/2020 03:27, David Blaikie via llvm-dev wrote:
> (+Richard - it's handy to include folks from previous discussions
> explicitly so everyone can more easily keep track of the conversation)
>
> On Mon, Jul 13, 2020 at 6:17 PM Fangrui Song via llvm-dev
> <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote:
>
> Sometimes it is
2012 Feb 17
0
IO-APIC line level race condition
Sadly, we have discovered another line level interrupt race condition in
Xen-4.1. The result was that an outstanding un-eoi''d interrupt at the
IO-APIC resulted in the mptsas controller offlining the root filesystem.
This is now two separate IO-APIC bugs found recently.
1) Cisco C210 M2 server - EOI Broadcast Suppression, io_apci_ack=old
2) Dell R710 - No EOI Broadcast Suppression,
2011 Jul 21
2
User input(unknown name and number of files)
Dear all,
I need your help as I was not able to find out the solution.
The thing is-
I am having a code which is reading file with this code-
df=read.table("Case2.pileup",fill=T,sep="\t",colClasses="character")
but as am making a tool so that user can use it and can do analysis on his file.But the name of the file will not be Case2.pileup and I want to use this
2011 Dec 21
1
aggregate function
Hi
I have a data frame with values in following format.
param case1
1 a
2 b
2 c
2 d
3 e
4 f
how to use aggregate so that it I only one row for each 'param' value.
the output for the above input should be
param case1
1 a
2 b,c,d
3 e
4 f
Thanks
M
--
-------------
Mary