Re: [R] non-linear regression and root finding

2023-11-07 Thread Ivan Krylov
On Mon, 6 Nov 2023 14:55:39 -0500 J C Nash wrote: > However, I'm wondering if this approach is worth writing up, at least > as a vignette or blog post. It does need a shorter example and some > explanation of the "why" and some testing perhaps. Do you mean using this problem as a basis to illust

Re: [R] make a lattice dotplot with symbol size proportional to a variable in the plotted dataframe

2023-11-07 Thread Deepayan Sarkar
Handling NSE in these kinds of examples is a pain in lattice. I would suggest using with() and dropping the data argument for simple examples, e.g., dd |> mutate(new.proportion = las/total, new.bubble = total/100) |> with(dotplot(agency ~ new.proportion, pch = 16, cex = new.bubble)) But if yo

[R] make a lattice dotplot with symbol size proportional to a variable in the plotted dataframe

2023-11-07 Thread Christopher Ryan via R-help
Hello. My question is in the subject line. Using R 4.1.3 on Windows 10. Commented MWE below. Thanks. --Chris Ryan library(dplyr) library(lattice) ## fabricate a dataframe dd <- data.frame(agency = sample(LETTERS, size = 5), total = sample(100:200, size = 5), las = sample(20:40, size = 5)) dd <

Re: [R] Concordance and Kendall's tau in copula

2023-11-07 Thread Martin Maechler
> Steven Yen > on Tue, 7 Nov 2023 09:09:33 +0800 writes: > Dear > I estimate a sample selection model using the Clayton copula and Burr > and Gaussian marginal. I need to derive ther Kendall'sw tau from the > concordance coefficient by integration. I came across a wa