Difference between revisions of "OpasnetUtils/Ovariable"
From Testiwiki
(Created page with "Category:Opasnet Category:R tools {{method|moderator=|stub=Yes}} =movariable= ==Description== movariable takes a data.frame, a function, and a list and makes an ovariabl...") |
m |
||
Line 13: | Line 13: | ||
graphics="1" | graphics="1" | ||
> | > | ||
− | |||
# MOVARIABLE ########## movariable takes a data.frame, a function, and a list and makes an ovariable out of them. It is a | # MOVARIABLE ########## movariable takes a data.frame, a function, and a list and makes an ovariable out of them. It is a | ||
#####subfunction of make.ovariable and prevents infinite recursion of S4 methods. | #####subfunction of make.ovariable and prevents infinite recursion of S4 methods. | ||
Line 34: | Line 33: | ||
return(out) | return(out) | ||
} | } | ||
− | |||
</rcode> | </rcode> | ||
Line 50: | Line 48: | ||
graphics="1" | graphics="1" | ||
> | > | ||
− | |||
# SETCLASS OVARIABLE ################### Defines the S4 class "ovariable" which is the basic building block in open assessments. | # SETCLASS OVARIABLE ################### Defines the S4 class "ovariable" which is the basic building block in open assessments. | ||
temp <- setClass( | temp <- setClass( | ||
Line 63: | Line 60: | ||
) | ) | ||
) | ) | ||
− | |||
</rcode> | </rcode> | ||
Revision as of 11:34, 14 June 2012
This page is a method.
The page identifier is Op_en5731 |
---|
Moderator:Nobody (see all) Click here to sign up. |
This page is a stub. You may improve it into a full page, and then a rating bar will appear here. |
Upload data
|
Contents
movariable
Description
movariable takes a data.frame, a function, and a list and makes an ovariable out of them. It is a subfunction of make.ovariable and prevents infinite recursion of S4 methods.
Code
setclass.ovariable
Description
Defines the S4 class "ovariable" which is the basic building block in open assessments.
Code
setmethod.make.ovariable
Description
make.ovariable takes a vector or data.frame and makes an ovariable out of it.