Re: [R] overlaying frequency histograms or density plots in R

2021-02-25 Thread Bogdan Tanasa
Dear Rui, and Petr, many many thanks for your time and advice ! 'm still exploring the R code that you have suggested ! On Thu, Feb 25, 2021 at 2:59 AM Rui Barradas wrote: > Hello, > > First of all, I believe you want argument fill, not colour. In ggplot2 > colour is about the border and fill a

Re: [R] Out from an R package

2021-02-25 Thread John Fox
Dear Goran, It's not clear from your question what you want to do, but my guess is that you simply what a "printout" of your results. The usual way to obtain that is via the summary() function. In your case summary(Output). That's typical of statistical modeling functions in R: They return o

Re: [R] Out from an R package

2021-02-25 Thread Eric Berger
The str() function is your friend. Try str(Output) On Thu, Feb 25, 2021 at 12:09 PM David Winsemius wrote: > > On 2/25/21 7:24 AM, Göran Djurfeldt wrote: > > Help! I am going crazy for a very simple reason. I can’t access the > output from for instance the lme4 package in R. I have been able to

Re: [R] time as a continuous factor in a linear mixed effects model

2021-02-25 Thread Bert Gunter
You should post this on the r-sig-mixed-models list rather than here. Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Thu, Feb 25, 2021 at 9:20 AM Laura Coco

[R] time as a continuous factor in a linear mixed effects model

2021-02-25 Thread Laura Coco
Hello, I am interested in investigating the main effects of group, time, and group by time interaction on survey outcomes using linear mixed effects models. Time is considered as continuous (number of days since baseline), but isn't it also categorical, since I want to compare Session 1 vs Session

Re: [R] Out from an R package

2021-02-25 Thread David Winsemius
On 2/25/21 7:24 AM, Göran Djurfeldt wrote: Help! I am going crazy for a very simple reason. I can’t access the output from for instance the lme4 package in R. I have been able to import an SPSS file into an R data frame. I have downloaded and installed the Lme4 package and I think I have als

[R] Out from an R package

2021-02-25 Thread Göran Djurfeldt
Help! I am going crazy for a very simple reason. I can’t access the output from for instance the lme4 package in R. I have been able to import an SPSS file into an R data frame. I have downloaded and installed the Lme4 package and I think I have also learnt how to produce a mixed model with lmer

Re: [R] overlaying frequency histograms or density plots in R

2021-02-25 Thread Rui Barradas
Hello, First of all, I believe you want argument fill, not colour. In ggplot2 colour is about the border and fill about the interior. As for the question, 1. Create a basic plot with the common aesthetics. library(ggplot2) pp_ALL <- iris[c(1, 5)] names(pp_ALL) <- c("VALUE", "EXP") p <- gg

Re: [R] overlaying frequency histograms or density plots in R

2021-02-25 Thread PIKAL Petr
Hi. My understanding is that position dodge places each bar in each histogram beside each other and position stack places all respective bars atop each other. Relative frequency is something different. Cheers Petr From: Bogdan Tanasa Sent: Thursday, February 25, 2021 8:43 AM To: PIK