Description Usage Arguments Details Value Author(s)

This function plots the time evolution and does a longitudinal analysis of time dependent features.
Features listed are fitted to the provided time model (mixed effect model) with a generalized least squares (GLS) procedure.
As output, it returns the coefficients, standard errors, *t*-values, and corresponding *p*-values.

1 2 3 4 5 6 7 8 9 10 11 12 13 |

`variableList` |
A data frame with two columns. The first one must have the names of the candidate variables and the other one the description of such variables |

`baseModel` |
A string of the type "1 + var1 + var2" that defines the model to which variables will be fitted |

`data` |
A data frame where all variables are stored in different columns |

`timevar` |
The name of the column in |

`contime` |
The name of the column in |

`Outcome` |
The name of the column in |

`description` |
The name of the column in |

`Ptoshow` |
Index of the |

`plegend` |
Legend of the |

`timesign` |
The direction of the arrow of time |

`catgo.names` |
The legends of the binary categories |

`...` |
Additional parameters to be passed to the |

This function will plot the evolution of the mean value of the listed variables with its corresponding error bars.
Then, it will fit the data to the provided time model with a GLS procedure and it will plot the fitted values.
If a binary variable was provided, the plots will contain the case and control data.
As output, the function will return the model coefficients and their corresponding *t*-values, and the standard errors and their associated *p*-values.

`coef` |
A matrix with the coefficients of the GLS fitting |

`std.Errors` |
A matrix with the standardized error of each coefficient |

`t.values` |
A matrix with the |

`p.values` |
A matrix with the |

`sigmas` |
The root-mean-square error of the fitting |

Jose G. Tamez-Pena and Antonio Martinez-Torteya

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.