Description Usage Arguments Value
Data format for rsmd
data_to_rsmd
generates data format based on given data.
1 | data_to_rsmd(data, sys.col, time.col, status.col, n.comp)
|
data |
a data frame with three columns, recording the system ID, time and status. |
sys.col |
the index containing the system ID. |
time.col |
the index containing the event times and end-of-observation times. |
status.col |
the index containing censoring or failure status. |
n.comp |
the number of components for each system. |
A list with the following components:
n |
number of systems in the fleet. |
n.comp |
number of components in the systems. |
r |
vector containing the number of failures for each system in the fleet. |
time |
a list containing the failure time for each system. |
cens |
a vector that records the end-of-observation time for each system. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.