Thanks for the tip! Ulrik, I've solved the problem with a different
code
Best ;)
Ulrik Stervbo escreveu em qua, 19/07/2017 às
20:28 :
> Hi Rosa,
>
> You pass a vector to ggplot, which expects a data.frame. I am sure you
> meant to do this:
>
> point7$y_point7 <- point7$beta0_7 + point7$beta
Hi Rosa,
You pass a vector to ggplot, which expects a data.frame. I am sure you
meant to do this:
point7$y_point7 <- point7$beta0_7 + point7$beta1_7*point7$time + point7
$epsilon_7
ggplot(point7, aes(time, y_point7)) + geom_line()
HTH
Ulrik
On Wed, 19 Jul 2017 at 20:37 Rosa Oliveira wrote:
Hi everyone,
I’m trying to do a spaghetti plot and I know I’m doing all wrong, It must be.
What I need:
15 subjects, each with measurements over 5 different times (t1, ..., t5), and
the variable that I need to represent in the spaguetti plot is given by:
PCR = b0 + b1 * ti + epsilon
B0, - ba
3 matches
Mail list logo