Nothing
# libsoc - Library to handle standardised output files
# Copyright (C) 2015 Rikard Nordgren
#
# This file was autogenerated and should not be edited
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
#
# his library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, see <http://www.gnu.org/licenses/>.
so_OFMeasures_new <- function() {
obj = .Call("r_so_OFMeasures_new")
}
so_OFMeasures_copy <- function(self) {
.Call("r_so_OFMeasures_copy", self)
}
so_OFMeasures_free <- function(self) {
.Call("r_so_OFMeasures_free", self)
}
so_OFMeasures_ref <- function(self) {
.Call("r_so_OFMeasures_ref", self)
}
so_OFMeasures_unref <- function(self) {
.Call("r_so_OFMeasures_unref", self)
}
so_OFMeasures_get_Likelihood <- function(self) {
.Call("r_so_OFMeasures_get_Likelihood", self)
}
so_OFMeasures_set_Likelihood <- function(self, value) {
.Call("r_so_OFMeasures_set_Likelihood", self, value)
}
so_OFMeasures_get_LogLikelihood <- function(self) {
.Call("r_so_OFMeasures_get_LogLikelihood", self)
}
so_OFMeasures_set_LogLikelihood <- function(self, value) {
.Call("r_so_OFMeasures_set_LogLikelihood", self, value)
}
so_OFMeasures_get_Deviance <- function(self) {
.Call("r_so_OFMeasures_get_Deviance", self)
}
so_OFMeasures_set_Deviance <- function(self, value) {
.Call("r_so_OFMeasures_set_Deviance", self, value)
}
so_OFMeasures_get_ToolObjFunction <- function(self) {
.Call("r_so_OFMeasures_get_ToolObjFunction", self)
}
so_OFMeasures_set_ToolObjFunction <- function(self, value) {
.Call("r_so_OFMeasures_set_ToolObjFunction", self, value)
}
so_OFMeasures_get_IndividualContribToLL <- function(self) {
.Call("r_so_OFMeasures_get_IndividualContribToLL", self)
}
so_OFMeasures_set_IndividualContribToLL <- function(self, value) {
.Call("r_so_OFMeasures_set_IndividualContribToLL", self, value)
}
so_OFMeasures_create_IndividualContribToLL <- function(self) {
.Call("r_so_OFMeasures_create_IndividualContribToLL", self)
}
so_OFMeasures_get_InformationCriteria <- function(self) {
.Call("r_so_OFMeasures_get_InformationCriteria", self)
}
so_OFMeasures_set_InformationCriteria <- function(self, value) {
.Call("r_so_OFMeasures_set_InformationCriteria", self, value)
}
so_OFMeasures_create_InformationCriteria <- function(self) {
.Call("r_so_OFMeasures_create_InformationCriteria", self)
}
Likelihood_acc <- function(value)
{
if (!isnull(.self$.cobj)) {
if (missing(value)) {
so_OFMeasures_get_Likelihood(.self$.cobj)
} else {
if (!is(value, "numeric")) {
stop("object must be of type 'numeric'")
}
so_OFMeasures_set_Likelihood(.self$.cobj, value)
}
}
}
LogLikelihood_acc <- function(value)
{
if (!isnull(.self$.cobj)) {
if (missing(value)) {
so_OFMeasures_get_LogLikelihood(.self$.cobj)
} else {
if (!is(value, "numeric")) {
stop("object must be of type 'numeric'")
}
so_OFMeasures_set_LogLikelihood(.self$.cobj, value)
}
}
}
Deviance_acc <- function(value)
{
if (!isnull(.self$.cobj)) {
if (missing(value)) {
so_OFMeasures_get_Deviance(.self$.cobj)
} else {
if (!is(value, "numeric")) {
stop("object must be of type 'numeric'")
}
so_OFMeasures_set_Deviance(.self$.cobj, value)
}
}
}
ToolObjFunction_acc <- function(value)
{
if (!isnull(.self$.cobj)) {
if (missing(value)) {
so_OFMeasures_get_ToolObjFunction(.self$.cobj)
} else {
if (!is(value, "numeric")) {
stop("object must be of type 'numeric'")
}
so_OFMeasures_set_ToolObjFunction(.self$.cobj, value)
}
}
}
IndividualContribToLL_acc <- function(value)
{
if (!isnull(.self$.cobj)) {
if (missing(value)) {
so_OFMeasures_get_IndividualContribToLL(.self$.cobj)
} else {
if (!is(value, "data.frame")) {
stop("object must be of type 'data.frame'")
}
so_OFMeasures_set_IndividualContribToLL(.self$.cobj, value)
}
}
}
InformationCriteria_acc <- function(value)
{
if (!isnull(.self$.cobj)) {
if (missing(value)) {
child = so_OFMeasures_get_InformationCriteria(.self$.cobj)
if (!isnull(child)) {
so_InformationCriteria_ref(child)
so_InformationCriteria$new(cobj=child)
}
} else {
if (!is(value, "so_InformationCriteria")) {
stop("object must be of type 'so_InformationCriteria'")
}
so_OFMeasures_set_InformationCriteria(.self$.cobj, value$.cobj)
so_InformationCriteria_ref(value$.cobj)
}
}
}
so_OFMeasures = setRefClass("so_OFMeasures",
fields=list(
Likelihood = Likelihood_acc,
LogLikelihood = LogLikelihood_acc,
Deviance = Deviance_acc,
ToolObjFunction = ToolObjFunction_acc,
IndividualContribToLL = IndividualContribToLL_acc,
InformationCriteria = InformationCriteria_acc,
.cobj = "externalptr"
),
methods=list(
copy = function() {
copy = so_OFMeasures_copy(.self$.cobj)
so_OFMeasures$new(cobj=copy)
},
initialize = function(cobj) {
if (missing(cobj)) {
.cobj <<- so_OFMeasures_new()
} else {
.cobj <<- cobj
}
},
finalize = function() {
so_OFMeasures_unref(.self$.cobj)
}
)
)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.