initialize simpleTriplet-objects depending on argument type
根据参数类型的初始化simpleTriplet对象
译者:生物统计家园网 机器人LoveR
描述----------Description----------
init.simpleTriplet should be used to create objects of class simpleTriplet. It is possible to create an object from class simpleTriplet from an existing matrix (using type=='simpleTriplet'). A positive (or negative) identity matrix stored as an object of class simpleTriplet can be created by specifying type=='simpleTripletDiag'.
init.simpleTriplet应用于创建对象类simpleTriplet。这是可能的从类simpleTriplet从现有矩阵(使用类型==simpleTriplet)中创建一个对象。正(或负)存储的作为类simpleTriplet的对象的身份矩阵可以创建通过指定类型==simpleTripletDiag。
参数----------Arguments----------
参数:type
a character vector of length 1 defining what|how to initialize. Allowed types are: </table>
字符向量长度为1的定义是什么|如何初始化。允许的类型有:</ TABLE>
参数:input
a list depending on argument type.
的列表参数type。
值----------Value----------
an object of class simpleTriplet
一个对象的类simpleTriplet
注意----------Note----------
internal function
内部功能
(作者)----------Author(s)----------
Bernhard Meindl <a href="mailto:bernhard.meindl@statistik.gv.at">bernhard.meindl@statistik.gv.at</a>