View source: R/dataform_logit.R
faultdata.dmet | R Documentation |
Function faultdata.dmet() creates a list to store the fault data and dymanic metrics (d-metrics)that are used to esiamte model parameters of SRM.
faultdata.dmet(formula, data, offset = NULL)
formula |
An object of class formula. A symbolic description of the model to be fitted. The output variable should be the column for the number of faults. |
data |
A dataframe for d-metrics and the number of faults. |
offset |
An integer. This can be used to specify an a priori known component to be included in the linear predictor during fitting. This should be NULL or a numeric vector of length equal to the number of cases. |
A list with the attribute class='Rsrat.faultdata.dmet';
fault |
A vector for the number of detected faults. |
metrics |
A matrix for d-metrics. |
total |
An integer for the number of total faults. |
nmetrics |
An integer for the number of types of metrics. |
offset |
A vector for offset. |
len |
An integer for the number of data records. |
data(dmet)
faultdata.dmet(fault~., dmet.ds1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.