[R] [Rd] R 4.1.1 is released

2021-08-10 Thread Peter Dalgaard
The build system rolled up R-4.1.1.tar.gz (codename "Kick Things") this morning. The list below details the changes in this release. You can get the source code from https://cran.r-project.org/src/base/R-4/R-4.1.1.tar.gz or wait for it to be mirrored at a CRAN site nearer to you. Binaries

Re: [R] Calculation of Age heaping

2021-08-10 Thread Richard O'Keefe
If you want to look at each digit, you should take a step back and think about what the Whipple index is actually doing. Basically, the model underlying the Whipple index is that Pr(age = xy) = Pr(age = x*)Pr(age = *y) if there is no age heaping. Or rather, since the age is restricted to 23..62

Re: [R] Calculation of Age heaping

2021-08-10 Thread Md. Moyazzem Hossain
Dear Richard O'Keefe, Thank you very much. Take care. Md On Tue, Aug 10, 2021 at 8:33 AM Richard O'Keefe wrote: > If you want to look at each digit, you should take a step back and > think about what the > Whipple index is actually doing. Basically, the model underlying the > Whipple index

Re: [R] Sample size Determination to Compare Three Independent Proportions

2021-08-10 Thread AbouEl-Makarim Aboueissa
Hi Marc: First, thank you very much for your help in this matter. Will perform an initial omnibus test of all three groups (e.g. 3 x 2 chi-square), possibly followed by all possible 2 x 2 pairwise comparisons (e.g. 1 versus 2, 1 versus 3, 2 versus 3), We can assume *either* the desired sample

[R] Replacing certain rows with values from a different column

2021-08-10 Thread James Milks via R-help
I have two columns in a larger data set that list countries in one column and, in some cases, individual provinces within a country or oversea territories in another. I have country population in a second data set that I’m planning to use to calculate per capita rates in the first data set. My

Re: [R] Replacing certain rows with values from a different column

2021-08-10 Thread Gerrit Eichner
Hi, James, if I understand you correctly, maybe, with(firstdf, ifelse(Province %in% seconddf$Country, Province, Country) ) does what you want? Hth -- Gerrit - Dr. Gerrit Eichner

Re: [R] Sample size Determination to Compare Three Independent Proportions

2021-08-10 Thread Marc Schwartz via R-help
Hi, A search would suggest that there may not be an R function/package that provides power/sample size calculations for the specific scenarios that you are describing. There may be something that I am missing, and there is also other dedicated software such as PASS

[R] assigning suitability index value

2021-08-10 Thread Marna Wagley
Hi R Users, I have two tables, one is temperature data (temp) and another table is a suitability index. I wanted to assign the suitability index value in the temperature data (temp) based on Table 2 (or graph, which is a suitability curve), but I could not figure it out. Are there any suggestions