Displaying 20 results from an estimated 200 matches similar to: "Subset using partial values"
2010 Mar 15
1
inner join sqldf
Hi,
I have two dataframes that have some common columns. I would like to join
them by the common columns prochi and prescribed_date as there are duplicate
prochis but they will be made unique by date. I tried doing an inner join
but that just duplicated the columns whereas I would like the information
from the test_sql_tsf to fill the NAs in the test_sql_psd common columns.
require(sqldf)
2010 Sep 06
3
Finding the two most recent dates
Dear R help,
I have the following data frame:
structure(list(prochi = c("ind_1", "ind_1", "ind_1",
"ind_1", "ind_1", "ind_1", "ind_1", "ind_1",
"ind_1", "ind_1"), date_1st_event = structure(c(14784,
14784, 14784, 14784, 14784, 14784, 14784, 14784, 14784, 14784
), class = "Date"),
2011 Mar 09
2
Cleaning date columns
Hi Everyone,
I have the following problem:
data <- structure(list(prochi = c("IND1", "IND1", "IND1",
"IND2", "IND2", "IND2", "IND2", "IND3",
"IND4", "IND5"), date_admission = structure(c(6468,
6470, 7063, 9981, 9983, 14186, 14372, 5129, 9767, 11168), class = "Date")),
.Names =
2010 Mar 12
7
sqldf not joining all the fields
Dear R users,
I have two data frames that were read from text files as follows:
x_data <- read.table("x.txt", header = TRUE, sep = "|", quote = "\"'",
dec = ".",as.is = TRUE,na.strings = "NA",colClasses = NA,
nrows = 3864284,
skip = 0, check.names = TRUE,fill=TRUE,
strip.white = TRUE,
2010 Mar 04
1
Date conversion problem
Hi All,
I have a character data.frame that contains character columns and date
columns. I've manage to convert some of my character columns to a date
format using as.Date(x, format="%m/%d/%y").
An example of one of my dates is
PROCHI DtDeath icdcucd date_admission1 date_admission_2
CAO0004563 <NA> <NA> 2005-09-01 <NA>
CAO0073505
2010 Sep 29
0
[LLVMdev] spilling & xmm register usage
On Sep 29, 2010, at 8:35 AMPDT, Ralf Karrenberg wrote:
> Hello everybody,
>
> I have stumbled upon a test case (the attached module is a slightly
> reduced version) that shows extremely reduced performance on linux
> compared to windows when executed using LLVM's JIT.
>
> We narrowed the problem down to the actual code being generated, the
> source IR on both systems
2010 Sep 29
3
[LLVMdev] spilling & xmm register usage
Hello everybody,
I have stumbled upon a test case (the attached module is a slightly
reduced version) that shows extremely reduced performance on linux
compared to windows when executed using LLVM's JIT.
We narrowed the problem down to the actual code being generated, the
source IR on both systems is the same.
Try compiling the attached module:
llc -O3 -filetype=asm -o BAD.s BAD.ll
Under
2010 Mar 10
2
ordering columns in a data frame
Dear R users,
I have the following data frame:
PROCHI date_admission
2 CAO0000713 1999-12-11
4 CAO0000713 1999-10-25
21 CAO0001743 1989-05-04
25 CAO0001743 1996-09-12
26 CAO0001743 1989-05-17
27 CAO0001743 1987-09-17
28 CAO0001743 1987-09-19
29 CAO0001743 1988-01-27
36 CAO0001747 2004-03-21
38 CAO0001747 2004-03-22
39
2010 Feb 23
1
Matching Problem
Hi,
I have a problem with function match. I might not be using it properly?
I have two character vectors that contain a unique identifier:
gtype_prochi <- ("CAO1524452" "CAO0966182" "CAO9209719" "CAO4436178"
"CAO3761898"
"CAO3529266" "CAO2427148" "CAO8829776" "CAO2517174" "CAO5371418"
2013 Feb 14
1
[LLVMdev] LiveIntervals analysis problem
Hello everyone,
please I need your help.
To reproduce my problem I created simple pass for backends (TestPass.cpp
in attached files). That pass I call from Mips backend in this way
(MipsTargetMachine.cpp):
bool MipsPassConfig::addPreRegAlloc() {
addPass(createTestPass());
return false;
}
The problem becomes, when I am trying compile file ldtoa.ll (in attached
files). Compiling
2007 May 02
2
Centos kernel does not boot, redhat does (i2o raid controller problem)
Hi,
following system:
Dell PE2650, 2 2.4ghz Xeon, 1gb ram, Dell Perc4DC Controller
It has EL5 installed, but I wanted to change to Centos because of the
missing workstation packages in the entry server repository.
The system was redhat up2date until yesterday, so the latest kernel was
missing.
I changed redhat-release to centos-release packages and the new centos
kernel was installed the via
2004 May 30
1
I20 Drivers Crash system when used with Rsync
Note: I don't know if this is a problem withe I20 drivers or Rsync so
I'm submitting to both the Kernel Bugzilla and the Rsync mailing list. I
couldn't find a bugzilla for Rsync. I hope this was the correct way to
submit this issue.
Distribution: Debian
Hardware Environment: Intel 850MV Mother board, Pentium 4 processor,
1Gig of RAM, Adaptec 2400A RAID Controler. Both the
2006 Jul 12
3
AMD 64 - I20/ I20_blocks
I'm trying to install either 32-bit or 64 bit centos 4.3 and I keep
getting an error:
"No valid devices were found on which to install filesystems".
In checking BIOS and RAID, everything seems fine, but I just found some
research about I20.
An alternative would be the i2o_blocks module.
How can I install CentOS 4.3 x86_64 using i2o_blocks? How do I instruct
the boot prompt to
2010 Jul 08
0
[LLVMdev] types in load/store
Hi Jianzhou,
> The other question is about 'when loading a value of a type like i20
> with a size that is not an integral number of bytes, the result is
> undefined if the value was not originally written using a store of the
> same type'. At this case, can we make an assumption that typically we
> only load the 20 bits, but ignore extra bits, like what store does at
>
2013 Sep 24
1
[LLVMdev] llvm/clang and 'odd bit types'
Hi all,
I recently created a version of llvm/clang for an architecture with some odd properties:
- front end side:
-- char,short,int : 20 bits
-- long, long long: 40 bits
-- pointer: 20 bits
On the backend side, I have hardware support for 20-bit registers (and load/stores).
(So, I have support for 'i20' and 'i40', but 'i40' is lowered into operations on 'i20')
2010 Jul 08
4
[LLVMdev] types in load/store
Hi,
I have a confusion about types used in load/store,
(http://llvm.org/docs/GetElementPtr.html#types) says that [...]
Furthermore, loads and stores don't have to use the same types as the
type of the underlying object. Types in this context serve only to
specify memory size and alignment. Beyond that there are merely a hint
to the optimizer indicating how the value will likely be used. [...]
2009 Feb 09
2
meetme application
hi guys:
recently I want to buinding a meeting confence on asterisk and use the meetme application.
I have a ztdummy kernel
afteri the lsmod commond:
ztdummy 5768 0
zaptel 182660 28 zttranscode,ztdummy
crc_ccitt 3008 1 zaptel
I also configure the meetme.conf
conf => 1000;
my extensions.conf
[default]
exten =>
2013 Apr 28
0
hierarchical confirmatory factor analysis with sem package
Hi,
I am doing a hierarchical CFA using the sem package. I have 20 items, and I
have 2 factors (F3 and F4), and also F1 and F2 are nested within F3.
Here is the code that I have, but it is giving me an error message "Warning
message:
In eval(expr, envir, enclos) : Negative parameter variances.
Model may be underidentified." and a further error "Error in
summary.objectiveML(cfa,
2009 Apr 27
2
Problem with R 2.9.0 vs. R2.8.1 with either "survival" package or "predict" function
Just wanted to alert everyone regarding a problem that I only
experience with R2.9.0 and not with R2.8.1 when I run both using
exactly the same script and the same data.
Here is what I do with my data "MyData", 2 predictors (V1 and V2) and
my survival DV "Depvar":
library(survival)
2008 Feb 26
2
Combining series of variables using identifier
R users,
I have df like this
a <- data.frame( indx = 1:20,
var1 = rep(c("I20", "I40", "A50", "B60"), each=5),
var1_lab= rep(c("cat", "dog", "mouse", "horse"), each=5),
var2 = rep(c("B20", "X40", "D50",