Re: [R] Missing shapes in legend with scale_shape_manual

2023-10-31 Thread Rui Barradas
Às 20:55 de 30/10/2023, Kevin Zembower via R-help escreveu: Hello, I'm trying to plot a graph of blood glucose versus date. I also record conditions, such as missing the previous night's medications, and missing exercise on the previous day. My data looks like: b2[68:74,] # A tibble: 7 × 5

Re: [R] Missing shapes in legend with scale_shape_manual

2023-10-31 Thread Kevin Zembower via R-help
Tim, thanks, it helps very much. It works like a charm. Wow, there's so much I don't understand about ggplot2 functions, especially the aes() function. I just discovered the ggplot2-book.org site, and I hope to read it slowly and carefully over the next couple of weeks. Thanks again, Tim, for

Re: [R] weights vs. offset (negative binomial regression)

2023-10-31 Thread Ben Bolker
[Please keep r-help in the cc: list] I don't quite know how to interpret the difference between specifying effort as an offset vs. as weights; I would have to spend more time thinking about it/working through it than I have available at the moment. I don't know that specifying effort

Re: [R] Virus alert because of an R-help e-mail

2023-10-31 Thread Bert Gunter
No attachments. Most are deleted by ETH mailman ... because they might contain viruses. -- Bert On Tue, Oct 31, 2023 at 8:59 AM David Croll wrote: > I just received a virus warning from my e-mail provider, GMX. See the > attached image below. > > The virus detection can be spurious - but the

[R] Virus alert because of an R-help e-mail

2023-10-31 Thread David Croll
I just received a virus warning from my e-mail provider, GMX. See the attached image below. The virus detection can be spurious - but the e-mail was automatically deleted by GMX. With the best regards, David __ R-help@r-project.org mailing list --

Re: [R] Missing shapes in legend with scale_shape_manual

2023-10-31 Thread Howard, Tim G (DEC) via R-help
I believe the missing shapes are because you had set alpha=0 for the last geom point. I expect there are better ways, but one way to handle it would be to avoid the filtering, adding columns with med and exercise status, like the following: # setup with data provided Date <- c('2023-10-17',

[R] [Rd] R 4.3.2 is released

2023-10-31 Thread Peter Dalgaard via R-help
The build system rolled up R-4.3.2.tar.gz (codename "Eye Holes") this morning. This is a minor update, with a few bug fixes. 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.3.2.tar.gz or wait for it to be

[R] [R-pkgs] Introducing the makeit package

2023-10-31 Thread Arni Magnusson
Dear R community, Just a quick note about a new package on CRAN called makeit. Yesterday, I added a vignette and released as 1.0.1: https://cran.r-project.org/package=makeit https://cran.r-project.org/web/packages/makeit/vignettes/makeit.html It provides a simple but powerful function make()