Displaying 20 results from an estimated 500 matches similar to: "Must be a better way to collate sequenced data"
2011 Jan 11
1
scaling to multiple data files
Hello,
I have logging information for multiple machines, which I am trying to
summarize and graph. So far, I process each host individually, but I
would like to summarize the user count across multiple hosts. I want to
answer the question "how many unique users logged in on a certain day
across a group of machines"?
I'm not quite sure how to scale the data frame and analysis to
2018 Dec 18
2
should we do this time-consuming transform in InstCombine?
Hi,
There is an opportunity in instCombine for following instruction pattern:
%mul = mul nsw i32 %b, %a
%cmp = icmp sgt i32 %mul, -1
%sub = sub i32 0, %a
%mul2 = mul nsw i32 %sub, %b
%cond = select i1 %cmp, i32 %mul, i32 %mul2
Source code for above pattern:
return (a*b) >=0 ? (a*b) : -a*b;
Currently, llvm(-O3) can not recognize this as abs(a*b).
I initially think we could do this in
2018 Dec 18
2
should we do this time-consuming transform in InstCombine?
Hi Roman,
Thanks for your good idea. I think it can solve the abs issue very well. I
can continue with my work now^-^.
But if it is not abs and there is no select,
%res = OP i32 %b, %a
%sub = sub i32 0, %b
%res2 = OP i32 %sub, %a
theoretically, we can still do the following transform for the above
pattern:
%res2 = OP i32 %sub, %a ==> %res2 = sub i32 0, %res
Not sure whether we can do it
2017 Jul 05
0
unable to collate and parse R files for package ‘colorspace’
When attempting to install the ?colorspace? package on RedHat Linux I get the following error. Any help would be appreciated.
Rob
Rob Kabacoff, Ph.D.
Professor, Quantitative Analysis Center
Wesleyan University
> install.packages("colorspace")
Installing package into ?/home/rkabacoff/R/x86_64-redhat-linux-gnu-library/3.3?
(as ?lib? is unspecified)
trying URL
2011 Dec 06
1
Unable to collate and parse R files with R CMD check
Hi all,
I'm trying to build a package on Windows 7 (64 bit) and although R cmd
build worked fine and I got pkg.tar.gz with no errors, but when I tried
doing R CMD check everything turns out ok except for the warning:
"checking whether package 'pkg' can be installed ... ERROR.
Installation failed."
It then refers me to the error file "00install.out" which reads as
2009 Aug 20
0
Using 'unlist' (incorrectly?!) to collate a series of objects
Dear R Users,
I am attempting to write a new netCDF file (using the ncdf) package, using 120 grids I've created and which are held in R's memory.
I am reaching the point where I try to put the data into the newly created file, but receive the following error:
> put.var.ncdf(evap_file, evap_dims, unlist(noquote(file_list)))
Error in put.var.ncdf(evap_file, evap_dims,
2002 Jun 07
1
filter data frames
Hello!
I'm looking for an easy way to filter data frames.
Some rows in my data frame needs to be left out,
for instance, rows with invalid data.
Right now, if I want to pair two columns of this data frame,
I have to do this:
> pairs(as.data.frame(list(tstart=df$tstart[valid],tend=df$tend.sdr[valid])))
or this:
>
2018 May 29
1
Difficulty in writing R code for one pool dynamic model
Hi everyone,
I was trying to mode the following exercise using R.
The question: Set up a one pool model using numericintegration. The model will run from time 1 to time 30 using a time step of 1.The pool (A) will be fed by flux "inA" at a rate of 5 units per hour anddrained by flux "outA" at a rate of 20% per hour. At time 0, A has 5units. At time 30, what is the pool size of
2010 Jun 21
1
Question about wine qcap v4l's MediaSampleTime
in wine/dlls/qcap/v4l.c:
ReadThread()
--> OutputPin_GetDeliveryBuffer((OutputPin *)capBox->pOut, &pSample, NULL, NULL, 0);
--> IMediaSample_SetTime(*ppSample, tStart, tStop);
in wine/dlls/quartz/memallocator.c:
StdMediaSample2_GetTime(IMediaSample2 * iface, REFERENCE_TIME * pStart, REFERENCE_TIME * pEnd)
--> if tstart/stop is NULL, leave pStart/pEnd not setted.
in
2009 Mar 10
2
simple question beginner
Hi there,
I am beginner in R and I have some basic question. Suppose I run a common procedure such as a t test or cox model like below:
out<-coxph( Surv(tstart,tstop, death1) ~ x1+x1:log(tstop+1) , test1,method=c("breslow"))
Which yields the following result:
Call:
coxph(formula = Surv(tstart, tstop, death1) ~ x1 + x1:log(tstop +
1), data = test1, method =
2018 May 08
0
Fitting problem for Cox model with Strata as interaction term
Dear All,
I got a warning message "X matrix deemed to be singular" in Cox model with
a time dependent coefficient. In my analysis, the variable "SEX" is a
categorical variable which violate the PH assumption in Cox. I first used
the survSplit() function to break the data set into different time
intervals, and then fit the model. The procedures can be described as
follows:
2004 Feb 18
0
[PATCH] fix tftp verbose mesage
tftp-hpa-0.35 and tftp-hpa-0.36 show wrong transmission time.
>tftp -V
tftp-hpa 0.36, with readline
>tftp -m octet -v localhost -c get aaa /tmp/aaa
Connected to localhost.localdomain (127.0.0.1), port 69
getting from localhost.localdomain:aaa to /tmp/aaa [octet]
Received 33554432 bytes in -3.3 seconds [-81407477 bit/s]
^^^^ ^^^^^^^^^
By the way, why
2013 Jun 27
3
Read a text file into R with .Call()
Hi,
I want to read a text file into R with .Call().
So I define some NEW_CHARACTER() to store the chracters read and use SET_STRING_ELT to fill the elements.
e.g.
PROTECT(qNames = NEW_CHARACTER(10000));
char *foo; // This foo holds the string I want.
while(foo = readLine(FN)){
SET_STRING_ELT(qNames, i, mkChar(foo)));
}
In this way, I can get the desired character from qNames. The only problem
2009 Sep 21
2
cox memory
Hi there,
I have a rather large data set and perform the following cox model:
test1 <- list(tstart,tstop,death1,chemo1,radio1,horm1)
out1<-coxph( Surv(tstart,tstop, death1) ~ chemo1+chemo1:log(tstop+1)+horm1+horm1:log(tstop+1)+age1+grade1+grade1:log(tstop+1)+positive1+positive1:log(tstop+1)+size1+size1:log(tstop+1), test1)
out1
Up to here everything works fine (with each covariate
2010 Aug 09
2
recurrent events
Hello,
I have a cohort with approx 1,200 patients at the ages of 30-65 that had
their first myocardial infarction during 1992:
· They were in a follow up until 2005.
· About 400 of them died during this period of time (right censored)
· Each one of them had up to 4 mi recurrent events.
I am using the semi-parametric model in order to assess the relationship of
2010 Jul 22
3
cdrommon issue
Hi all,
Sometimes the process cdrommon use 99,8% of CPU and the result is that all
vms becames very slow.
I killed the process and now everything is fine but I can''t live migrate
VMS.
I found this problem also in this citrix thread:
http://forums.citrix.com/thread.jspa?messageID=1475962
<http://forums.citrix.com/thread.jspa?messageID=1475962&tstart=0#1475962>
2010 Nov 01
2
Post-processing of approximated irregular time series
Hi all,
Issue: I merged two zoo objects (a regular and an irregular). After the merge I used the function 'na.approx' to have also values in the resolution of the regular time series.
Problem: After approximation some rows at the beginning or at the end of the zoo objects disappear due to the 'na.approx' algorithm. Now I just want to have all the rows of the regular time series
2007 Jul 03
2
utime : operation not permitted
With the upgrade to 1.0.1, I am seeing some errors/warnings
dovecot: IMAP(jhorner at arinbe.com): utime(/home/arinbe/Maildir/.info/tmp)
failed: Operation not permitted: 1 Time(s)
dovecot: IMAP(jhorner at arinbe.com):
utime(/home/arinbe/Maildir/.resumes.vabch/tmp) failed: Operation not
permitted: 1 Time(s)
Different directories on different days.
Different users on different days.
Always /tmp
2010 Nov 13
0
using if statment and loops to create data layout of recurrent events
Hi ,
I have a data set with recurrence time (up to four) of myocardial infarction
(MI).
Part of the file is showing below:
Num1 Trt Sex Time T1 T2 T3 T4
1011 1 1 9
1211 0 1 59
3020 1 2 14 3
1245 0 1 18 12 16
3069 1 2 26 6 12 13
2051 0 1 53 3 15 46 51
The data consist of the following eight variables:
Num1 , patient number
Trt, treatment group (1=placebo and 2=drug)
Sex,
2010 Aug 19
1
memory problem
Hi,
when i run the following code i get this massege:
"The instruction at 0x######## reference memory at
0x#######, the memory cannot be "read".
and then i have to close R.
what is the problem and how can i solve it?
thanks in advance
Avi
my code
# frailtypack
library(frailtypack)
cgd.ag <- read.csv("C:/rfiles/RE/cgd.csv")
cgd.nfm <-frailtyPenal(Surv(TStart,