createParameterMatrix creates and/or modifies the param.detection matrix used as argument in the SpeCond function. If parm.detection is NULL the param.detection matrix used is the one containing the default parameter values, as obtained by getDefaultParameter. The remaining arguments enable to change the values of the param.detection matrix.
createParameterMatrix(param.detection = NULL, beta.1 = NULL, beta.2 = NULL,
lambda.1 = NULL, lambda.2 = NULL, per.1 = NULL, per.2 = NULL, md.1 = NULL,
md.2 = NULL, mlk.1 = NULL, mlk.2 = NULL, rsd.1 = NULL, rsd.2 = NULL,
pv.1 = NULL, pv.2 = NULL)getDefaultParameterlambda.1 for the second step of the SpeCond functionmd.1 for the second step of the SpeCond function. For consistency should be equal to md.1mlk.2 for the second step of the SpeCond functionrsd.1 for the second step of the SpeCond functionpv.1 for the second step of the SpeCond function, for consistency should be equal to pv.1createParameterMatrix documentation for more details about the parameters.
getDefaultParameter##Get the default parameters and changing the mlk.1 value to 10:
param.detection2=createParameterMatrix(mlk.1=10)
param.detection2
## Modify param.detection2 with mlk.1 value to 15 and rsd.2 value to 0.2
param.detection2B=createParameterMatrix(param.detection=param.detection2,
mlk.1=10, rsd.2=0.2)
param.detection2B
Run the code above in your browser using DataLab