Displaying 20 results from an estimated 1000 matches similar to: "Cox's regression analysis with Left truncated data"
2011 Oct 05
2
Subsetting a data frame with multiple values and exclusions.
Hi all,
I realise that the convention is to provide a working example of my problem
but the data are of a sensitive nature so I'm not able to do that in this
case.
I need to query a database for multiple search terms:
db <- structure(list(ind = c("ind1", "ind2", "ind3", "ind4"), test1 = c(1,
2, 1.3, 3), test2 = c(56L, 27L, 58L, 2L), test3 =
2012 Jul 17
1
Stats question: Comparison of the same individuals during two exposure times
Hi,
I'm hoping that someone will be able to help. I would like to compare how
covariates associate with the risk of a binary outcome during two periods.
Period 1 will be non-exposure to a treatment and period 2 will be exposure
to a treatment. The same individuals will be examined in each group but I
want to be able to compare the association of certain covariates between the
two groups to
2011 Mar 10
2
within group sequential subtraction
Hi Everyone,
I would like to do sequential subtractions within a group so that I know the
time between separate observations for a group of individuals.
My data:
data <- structure(list(group = c("IND1", "IND1", "IND2",
"IND2", "IND2", "IND3", "IND4", "IND5",
"IND6", "IND6"), date_obs =
2011 Dec 05
1
Subsetting a data frame
Hi R users,
I really need help with subsetting data frames:
I have a large database of medical records and I want to be able to match
patterns from a list of search terms .
I've used this simplified data frame in a previous example:
db <- structure(list(ind = c("ind1", "ind2", "ind3", "ind4"), test1 = c(1,
2, 1.3, 3), test2 = c(56L, 27L, 58L,
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 Feb 20
3
Rearranging a data frame for multiple observations
Hi there,
I think I'm struggling with a fairly simple problem but can't seem to solve
it. I have multiple observations for one unique identifier. Ultimately I
want to end up with one line per identifier with multiple observations in
rows. I'm really stuck any help would be really appreciated.
CAO0337134 05/09/95
CAO0337134 27/09/05
CAO0347741 10/10/04
CAO0347741 12/10/04
2010 Mar 03
1
Subset using partial values
Hi everyone,
I would like to subset a data.frame using partial values.
For example I have the following data.frame:
PROCHI Main_condition
1234 411
1235 4110
1236 4111
1237 I20
1238 I201
1239 I202
Now let's say that I use the Subset function. Ordinarily I would use it as
follows Subset(x, Main_condition=="411"|Main_condition=="4110" etc to get
2012 Mar 15
0
Job in Scotland - Analyst Programmer/Data Warehouse Manager
Grade: Grade 7 - 8 depending on experience and skills
Salary range: Grade 7 (spine point 29; ?29,099) up to grade 8 (point 40; ?40,280)
Duration of Post: Two years in the first instance
Location: Medical Research Institute, College of Medicine, Dentistry & Nursing, Ninewells Hospital & Medical School Campus, University of Dundee, DD1 9SY.
The
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"),
2015 Feb 02
0
Software Developer Position
Where: University of Dundee, Scotland UK
Salary range: Grade 7 (?30,434 - ?32,277) REF: MDN0953
Duration of Post: One year in the first instance
College: Medicine, Dentistry and Nursing
School: Medicine
Division: Population Health Sciences
Location: Medical Research Institute,
2015 Jul 21
0
Aw: Rsync differences using NFS & SMB
Hi Rolan,
I should have corrected that, my bad! It is an NFS client mounting the
NFS server, I.e. nfsClient:/some_dir_mounted_via_nfs
Si
On 21/07/2015 10:20, "devzero at web.de" <devzero at web.de> wrote:
>>Over ssh/nfs
>>rsync -nuvaz --delete /source/ root at nfsServer.domain.co.uk:
>
>i don`t see nfs here, i see rsync syncing a local dir via ssh to a
2003 Apr 18
1
stepwise discriminant analysis
Hi all,
is it possible to do stepwise discriminant analysis (linear amnd non-linear)
in R?
If yes- which package does it|?
Thanks
Janine
--------------------------------------------
"El gesto y la palabra son el pensamiento del hombre"
Isabel Allende
Janine Illian
lecturer in statistics
SIMBIOS
School of Computing
University of Abertay Dundee
Bell Street
Dundee, DD1 1HG
Scotland,
2003 Jul 14
1
bootstrapping the lme model
Dear all,
I have a data set o which I'd like to fit lme model. There are three factors
one of whoich is nested. This should be easy to do using lme in R, but the
problem ist that the data is highly non-normal. I was thinking about
bootstrapping the distribution but don't have much experience of doing this
in R and most references I find don't seem to go beyond the
2008 Sep 29
1
Located Latent Class Analysis (Uebersax)
Dear list members
I am new to the list and would be much appreciated if you could help me.
I am very interested in applying Latent Class Model for analysing multiple raters agreement data. I have recently found a paper by Uebersax, J. (1993) which described a method in a form of Located Latent Class Analysis (llca). Uebersax has written a Fortran program which is available on the web, for the
2005 Jul 25
1
Fortran function name not in load table
Using R 2.0.1 on Windows XP, I am getting an error
msg:
Error in .Fortran("conic", nxy = nxy, npt = npt, CP =
cp, EP1 = ep1, EP2 = ep2, :
Fortran function name not in load table
I am wondering if there is a way to see what function
names are in the load table? Maybe the function name
has been altered?
The first thing I do in my analysis script is to load
a DLL, conic.dll,
2007 Feb 22
0
daisy function in cluster- coerced NAs
I am currently using the function daisy in package cluster to create a
dissimilarity matrix because my multivariate dataset contain missing
data and variables of various types including factors, symmetric and
asymmetric binary and quantitative. This is a step prior to using pco
within ecodist.
There is a warning which comes twice
">NAs introduced by coercion"
I've used
1998 Dec 04
0
DHCP & Samba - Server can't see clients
Hi there,
I just playing around at the moment with the idea of putting in a DHCP server
alongside my Samba stuff. On my test server I'm having problems seeing the
client machines (test 4 or 5) in the DIAGNOSIS readme.
The server can see the clients as the general name search works and returns
the IP of the clients.
I think it's something to do with the DNS and WINS not wanting to
2001 Jul 25
2
using compiled fortran in R
Hi,
I would like to use a Fortran subroutine in R. I have checked the R
docs and Newsletter,
but..., I am unable to load an object file into R.
The steps I have taken are (on Debian Linux/recent Intel-type chip ):
1. g77 -c hello.f
to create hello.o
2. mymachine> R
to start R
3. > dyn.load("hello.o")
at which point I am getting the error msg:
Error in