Description Usage Arguments Value See Also

View source: R/zeitzeiger_predict.R

`zeitzeiger`

sequentially calls `zeitzeigerFit`

, `zeitzeigerSpc`

,
and `zeitzeigerPredict`

.

1 2 3 | ```
zeitzeiger(xTrain, timeTrain, xTest, nKnots = 3, nTime = 10,
useSpc = TRUE, sumabsv = 2, orth = TRUE, nSpc = 2,
timeRange = seq(0, 1 - 0.01, 0.01))
``` |

`xTrain` |
Matrix of measurements for training data, observations in rows and features in columns. |

`timeTrain` |
Vector of values of the periodic variable for training observations, where 0 corresponds to the lowest possible value and 1 corresponds to the highest possible value. |

`xTest` |
Matrix of measurements for test data, observations in rows and features in columns. |

`nKnots` |
Number of internal knots to use for the periodic smoothing spline. |

`nTime` |
Number of time-points by which to discretize the time-dependent behavior of each feature. Corresponds to the number of rows in the matrix for which the SPCs will be calculated. |

`useSpc` |
Logical indicating whether to use |

`sumabsv` |
L1-constraint on the SPCs, passed to |

`orth` |
Logical indicating whether to require left singular vectors
be orthogonal to each other, passed to |

`nSpc` |
Vector of the number of SPCs to use for prediction. If |

`timeRange` |
Vector of values of the periodic variable at which to calculate likelihood. The time with the highest likelihood is used as the initial value for the MLE optimizer. |

`fitResult` |
Result from |

`spcResult` |
Result from |

`predResult` |
Result from |

`zeitzeigerFit`

, `zeitzeigerSpc`

, `zeitzeigerPredict`

jakejh/zeitzeiger documentation built on Nov. 22, 2018, 6:53 a.m.

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.