Displaying 2 results from an estimated 2 matches for "beta0_7_gerar".
2017 Jul 19
2
spaghetti plot - urgent
...t2)
library(reshape)
library(lattice)
library(gtable)
library(grid)
set.seed(9027)
n.longitudinal.observations = 5 # number of PCR measures (per subject) in the hospital period
subjects = 15 # Number of simulations (1 per subject in the study)
beta0_7_gerar = rnorm(subjects, mean = 1, sd = .5)
beta0_7 = as.data.frame(matrix(beta0_7_gerar,nrow=subjects,ncol=1)) # beta 0 - input variable used to calculate PCR (the outcome)
beta1_7_gerar = rnorm(subjects, mean = -1, sd = .5)...
2017 Jul 19
0
spaghetti plot - urgent
...gt;
>
> set.seed(9027)
>
> n.longitudinal.observations = 5 # number of PCR
> measures (per subject) in the hospital period
> subjects = 15 # Number of
> simulations (1 per subject in the study)
>
> beta0_7_gerar = rnorm(subjects, mean = 1, sd = .5)
> beta0_7 =
> as.data.frame(matrix(beta0_7_gerar,nrow=subjects,ncol=1)) # beta 0 -
> input variable used to calculate PCR (the outcome)
> beta1_7_gerar = rnorm(subjects, mea...