[R] help with sitar growth model

2019-03-19 Thread Rayt Chiruka
I want to obtain the individual biological parameters (ie age at takeoff, final height velocity at takeoff) after a sitar model. (I do understand a sitar model fits a mean curve for the population). I have managed to obtain the parameters for one individual using the code below, library(sit

[R] Obtaining individual parameters from a sitar growth model.

2019-03-19 Thread Rayt Chiruka
I want to obtain the individual biological parameters (ie age at takeoff, final height velocity at takeoff) after a sitar model. (I do understand a sitar model fits a mean curve for the population). I have managed to obtain the parameters for one individual using the code below, library(sit

[R] plotting longitudinal data with ggplot

2017-03-10 Thread Rayt Chiruka
i am trying to convert a dataset from wide to long format using package tidyr- (seems to have been done) wen in try and plot the long dataset using ggplot i keep getting errors here is the code *library(tidyr) ht.long<-gather(ray.ht ,age,height,X0:X84,factor_key = TRUE) ht.lon