View source: R/dataform_poireg.R
faultdata.smet | R Documentation |
Function faultdata.smet() creates a list to store the fault data and dymanic metrics (d-metrics)that are used to esiamte model parameters of SRM.
faultdata.smet(formula, data, names = NULL, offset = NULL)
formula |
An object of class formula. A symbolic description of the model to be fitted. The output variable should be empty. |
data |
A dataframe for s-metrics. |
names |
A list for the names of components. This is prioritized to the others. |
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. |
Since the row.names of data and names of srm.data are used to match the compoments, it had better they all are labelled. If they are not labelled, the pairs are guessed with their order.
A list with the attribute class='Rsrat.faultdata.smet';
m |
An integer for the number of components. |
names |
A list for the names of components. |
metrics |
A matrix for s-metrics. |
nmetrics |
An integer for the number of types of metrics. |
offset |
A vector for offset. |
data(tomcat5)
faultdata.smet(~., tomcat5.smet)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.