Re: [R] Help with function and survey data

2022-10-31 Thread Edjabou Vincent
Dear Bert Thank you for your suggestion. I have tried it but it did not work. For record, I am reposting the post with the plain text. library(tidyverse) library(plyr) library(survey) dat <- structure(list( r3a_1 = structure(c(3L, 2L, 3L, 3L, 3L, 3L, 3L,3L, 3L, 3L, 3L, 2L, 2L, 3L, 3L, 3L, 3L

Re: [R] Help with function and survey data

2022-10-31 Thread Bert Gunter
1. This is a plain text list. Set your email to post in plain text, not html, which often gets mangled (see below). 2. I did not run your example, but try: my_funca(mk =names(dat)[1:9], y = dat$seg_2) ## seg_2 is a component of dat and is not in the environment of the call. I did not see any data

[R] Help with function and survey data

2022-10-31 Thread Edjabou Vincent
Dear R-Help I am working with complex survey data using the survey package. I would like to create a function for the generate multi crosstable. The problem is that I am getting error with the following message: "Error in eval(predvars, data, env) : object 'y' not found" Here is the example: libra

Re: [R] Single pdf of all R vignettes request

2022-10-31 Thread Eric Berger
You can see all the installed vignettes on your system with `browseVignettes()`. (This opens a browser page.) Alternatively `browseVignettes("pkgname")` for those related to a single package. HTH, Eric On Mon, Oct 31, 2022 at 11:37 AM Richard O'Keefe wrote: > Let's put some numbers on that. >

Re: [R] Single pdf of all R vignettes request

2022-10-31 Thread Richard O'Keefe
Let's put some numbers on that. The CRAN package repository claims 18770 packages. That excludes packages in other repositories, of course; the total collection of vignettes may not be discoverable. It could be useful to collect documents and vignettes and stuff them into an information retrieval s

[R] [Rd] R 4.2.2 is released

2022-10-31 Thread Peter Dalgaard via R-help
The build system rolled up R-4.2.2.tar.gz (codename "Innocent and Trusting") 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.2.2.tar.gz or wait for it to be mirrored at a CRAN site nearer to you. B