Displaying 20 results from an estimated 700 matches similar to: "Locate Patients who have multiple high blood pressure readings"
2012 Sep 01
5
R_closest date
Hi,
I have encountered an issue about finding a date closest to another date
So this is how the data frame looks like:
PT_ID IDX_DT OBS_DATE DAYS_DIFF OBS_VALUE CATEGORY
13 4549 2002-08-21 2002-08-20 -1 183 2
14 4549 2002-08-21 2002-11-14 85 91 1
15 4549 2002-08-21 2003-02-18 181 89 1
16 4549 2002-08-21 2003-05-15
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"),
2005 May 27
4
plotting box plots on same x
I am trying to construct a graph of 6 box plots of blood pressures. I
want them to be on a single set of axis and I want the SBP to be ontop
of the DBP. I have an array bp with the data in it and I tried
a[1,]<-c(145,60,147,62,140,57)
a[2,]<-c(160,75,160,74,160,70)
a[3,]<-c(140,55,140,65,142,55)
boxplot(data.frame(a), main = "Blood Pressures", at=c(1,1,2,2,3,3),
2012 Aug 03
3
all duplicated wanted
Hi,
Has anyone been able to figure out how to print all duplicated observations?
I have a dataset, with patients ID, and other lab records.
Some patients have multiple lab records, but 'duplicated' ID will only show me the duplicates, not the original observation.
How can I print both the original one and the duplicates?
Thanks
2008 Sep 29
1
describe function in package Hmisc and function format.dates in chron (PR#13087)
Full_Name: Kem Phillips
Version: 2.7.1 (2008-06-23)
OS: Windows Xp professional
Submission from: (NULL) (98.221.200.108)
The Hmisc function describe fails, giving the error message:
Error in formatDateTime(dd, atx, !timeUsed) :
could not find function "format.dates"
Loading the chron package, where function dates apparently resides, does not
fix the problem. Note
2012 Mar 19
1
car/MANOVA question
Dear colleagues,
I had a question wrt the car package. How do I evaluate whether a
simpler multivariate regression model is adequate?
For instance, I do the following:
ami <- read.table(file =
"http://www.public.iastate.edu/~maitra/stat501/datasets/amitriptyline.dat",
col.names=c("TCAD", "drug", "gender", "antidepressant","PR",
2008 Oct 23
4
odfWeave error
odfWeave is throwing up a cryptic error, after successfully processing a
file with a large number of figures (~30) and many \Sexpr{} calls. The
error is (at least to me) cryptic. I am not sure where to look to
correct this problem.
Here's the error:
Post-processing the contents
Error in .Call("RS_XML_Parse", file, handlers, endElementHandlers,
as.logical(addContext), :
2010 Jun 18
1
Latex problem in Hmisc (3.8-1) and Mac Os X with R 2.11.1
Dear all,
I did post this more or less identical mail in a follow up to another
question I posted, but under another heading. I try again, but now
under the correct header.
upon running this code (from the Hmisc library-latex function) I
believe the call to summary.formula is allright and produces wonderful
tables, but the latex command results in a correct formatted table but
where all the
2001 Jun 15
1
contrasts in lm and lme
I am using RW 1.2.3. on an IBM PC 300GL.
Using the data bp.dat which accompanies
Helen Brown and Robin Prescott
1999 Applied Mixed Models in Medicine. Statistics in Practice.
John Wiley & Sons, Inc., New York, NY, USA
which is also found at www.med.ed.ac.uk/phs/mixed. The data file was opened
and initialized with
> dat <- read.table("bp.dat")
>
2008 Dec 26
2
question about SNA in R, thanks!
Dear colleagues,
I'm trying to have a look at the Assortative and Disassortative (
http://en.wikipedia.org/wiki/Assortative_mixing) of the network I have.
But it seems that the igraph hasn't mentioned that yet.
I have to get the in/out degree of the vertices of each edge and calculate
the Pearson's Correlation coefficient which seems to be quite a huge task
for me. :(
So I wonder if
2010 Aug 05
1
an issue about missing data
Hi,
I am using a function 'polygenic' in the package called 'GenABEL'.
--------------------------------------------------------------------------------
> h2.gs <- polygenic(b.dbp~age+age2+age3+sex+b.bmi, kin=gs.gkin, data=gs)
-------------------------------------------------------------------------------
## and I got the following error message:
Error in svd(X): infinite or
2019 May 03
2
Cross compiling an empty program results in a segfault
Sorry for the late reply.
Thanks, Eli. That was really helpful.
On Fri, Apr 12, 2019 at 9:31 PM Eli Friedman <efriedma at quicinc.com> wrote:
> “--entry main” is not going to do what you want; the entry point for a
> Linux program is not equivalent to the C “main”.
> http://dbp-consulting.com/tutorials/debugging/linuxProgramStartup.html
> has a description of how a C program
2008 Nov 30
1
about centralization
Hi all,
Is there anyone who ever used igraph to calculate the index of
"centralization" ?
I tried my best but can't find it in igraph.
The brief introduction to "centralization" can be found here , and I think
it's an important index for measuring the centrality on the aggregated
level.(http://faculty.ucr.edu/~hanneman/nettext/C10_Centrality.html)
Thank you for any
2005 Apr 21
2
Howto overlay two plots and save them in one pdf file?
Hello,
I do have two different plots from LAD and OLS regression objects like
this:
# LAD regression and related plot
rq(formula = SBP ~ Age)
f = coef(rq(SBP ~ Age))
pred = f[1] + f[2]*Age
plot (Age, SBP)
lines (Age, pred)
# OLS regression and related plot
Pred = lm(SBP ~ Age)
plot (Age, SBP)
lines (Age,fitted(Pred))
Well for comparatative reason I would would like to subsume both plots
2010 Feb 24
3
"get" problem
Dear R communtiy,
I do not understand why this does not work...:
> betaS$SBP
[1] 0.03274 -0.04216 -0.08986 -0.45980 0.60320 -0.63070 -0.05682 0.20130
> t<-c("betaS$SBP")
> t
[1] "betaS$SBP"
> get(t)
Error in get(t) : object 'betaS$SBP' not found
[I am trying to use the variable "t" in a loop to call many different
objects, but the
2015 Jul 22
3
[PATCH] Updated udp.c to use real client ip and subnetmask values if on local subnet
>>>
Jeff, Patrick: Could you try my code from my github repo branch
efi-multinic?? It's derived from Patrick's code and I finally see good
responses with a VMware VM's e1000e NIC (never saw ANYTHING good from
it until now).
git://github.com/geneC/syslinux.git
https://github.com/geneC/syslinux.git
--
-Gene
<<<
Hi there
I think in the case of a particular
2006 Mar 02
4
[LLVMdev] Re: Re: New GCC4-based C/C++/ObjC front-end for LLVM
On Thu, 2 Mar 2006, Vladimir Prus wrote:
>>> The instructions seem to have one path wrong. It says to get:
>>
>> I'll put together a tarball today. That will be easier than dealing with
>> a patch, and it will include a bunch of bugfixes since the previous email.
> Further into process, I get this error:
> In file included from
2008 Nov 27
1
Welcome to the "R-help" mailing list (Digest mode)
Hi friends,
Is there anyone who happened to import data set in the "DL" format into R
for further analysis?
In the package of "network", there's only a method named "read.paj()".
So now, I have to get the dl file from the original data set, and use UCINET
to convert it to .net file. It's too complicated.
:(
In the package of "igraph", edgelist is
2012 Jan 05
2
difference of the multinomial logistic regression results between multinom() function in R and SPSS
Dear all,
I have found some difference of the results between multinom() function in
R and multinomial logistic regression in SPSS software.
The input data, model and parameters are below:
choles <- c(94, 158, 133, 164, 162, 182, 140, 157, 146, 182);
sbp <- c(105, 121, 128, 149, 132, 103, 97, 128, 114, 129);
case <- c(1, 3, 3, 2, 1, 2, 3, 1, 2, 2);
result <- multinom(case ~ choles
2015 Jul 27
2
[PATCH] Updated udp.c to use real client ip and subnetmask values if on local subnet
>>>
> I think these changes would solve the thing.
>
> ...
> -EFI_SERVICE_BINDING *sbp;
> +EFI_SERVICE_BINDING *sbp =NULL;
> ...
>
> -? ? if (status != EFI_SUCCESS)
> +? ? if (status != EFI_SUCCESS || sbp ==
NULL)
>? ? ? ? goto free_binding;
> ...
The presumption was that we'd see an error rather than
non-error from LibLocateHandle()