Perhaps this package could be considered
https://cran.r-project.org/web/packages/hrIPW/hrIPW.pdf
That packages author also has a 2016 article in Statistics in Medicine on the
properties of estimates from such analyses that might be useful.
—
David Winsemius, MD, MPH
Sent from my iPhone
> On
When running a propensity score weighted analysis using coxph(), are the
weights entered as the log of the weights, or as the weights on the original
scale, i.e. coxph(Surv(time,status)~group,weights=weights ,data=mydata) or
coxph(Surv(time,status)~group,weights=log(weights),data=myda
Hello Everyone,
I am trying to extract data from a url. The codes work well when the
data structure is as follows:
X Y
1 2
1 5
1 6
1 7
3 4
However, the code fails when the data structure has no number
under the 2nd column (shown below).I get the following error:
"Error in data.frame(..., check.
Hi
For your example
sel <- c(1,4, 9, 11)
text(B, C, A, col= c("black", "red")[(A %in% A[sel])+1])
gives you required colouring.Not sure if it works with basicPlotteR.
Cheers
Petr
-Original Message-
From: R-help On Behalf Of varin sacha via R-help
Sent: Wednesday, May 19, 2021 3:14 PM
Dear R-experts,
Here below a toy R code example. I would like some countries (not all of them)
"Italy", "Canada", "Greece" and "Norway" to appear in red color. The others
remaining black. How can I do that without big changes in my R code ? Indeed, I
would like my R code to remain like this as
5 matches
Mail list logo