Description Usage Arguments Value
Predict method for 'survreg_map'
1 2 3 |
object |
'survreg_map' object |
newdata |
A data.frame, optional |
times |
Only required if type != 'parameters. A vector of times with length 1 or nrow(newdata) |
starts |
Optional, for type = 'survival' only. A vector of start/truncation times with length 1 or nrow(newdata). Survival times will be conditional up to survival at this point. |
type |
Type of prediction. Can be predicted 'parameters' of the distribution for each row, or 'survival' probabilities (at 'times', given 'starts'). |
na.action |
Function for dealing with NAs |
... |
Ignored |
A matrix if type = 'parameters', or a vector if type = 'survival'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.