Re: [R] Plotting factors in graph panel

2023-07-06 Thread Deepayan Sarkar
On Thu, 6 Jul 2023 at 15:21, Anupam Tyagi wrote: > > Btw, I think "lattice" graphics will provide a better solution than > "ggplot", because it puts appropriate (space saving) markers on the axes > and does axes labels well. However, I cannot figure out how to do it in > "lattice". You will need

[R] printCoefmat() and zap.ind

2023-07-06 Thread Shu Fai Cheung
Hi All, I would like to ask two questions about printCoefmat(). First, I found a behavior of printCoefmat() that looks strange to me, but I am not sure whether this is an intended behavior: ``` r set.seed(5689417) n <- 1 x1 <- rnorm(n) x2 <- rnorm(n) y <- .5 * x1 + .6 * x2 + rnorm(n,

[R] Errors in "An introduction to R"

2023-07-06 Thread Jarkko Toivonen
Hi, Thanks for the great manual! I noticed a few errors in Version 4.3.1 (2023-06-16), though. Early in the document a "working directory" refers to a file system directory, such as ~/work. It is also discussed whether separate working directories should be used for separate analyses (page

Re: [R] Plotting factors in graph panel

2023-07-06 Thread Anupam Tyagi
Hi John: Thanks! Below is the data using your suggestion. I used "ggplot" to make a graph. I am not too happy with it. I am looking for something simpler and cleaner. Plot is attached. I also tried "lattice" package, but nothing got plotted with "xyplot" command, because it is looking for a

Re: [R] Plotting factors in graph panel

2023-07-06 Thread Anupam Tyagi
Btw, I think "lattice" graphics will provide a better solution than "ggplot", because it puts appropriate (space saving) markers on the axes and does axes labels well. However, I cannot figure out how to do it in "lattice". On Thu, 6 Jul 2023 at 15:11, Anupam Tyagi wrote: > Hi John: > >