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_OptimalDesignBlock_new <- function() {
obj = .Call("r_so_OptimalDesignBlock_new")
}
so_OptimalDesignBlock_copy <- function(self) {
.Call("r_so_OptimalDesignBlock_copy", self)
}
so_OptimalDesignBlock_free <- function(self) {
.Call("r_so_OptimalDesignBlock_free", self)
}
so_OptimalDesignBlock_ref <- function(self) {
.Call("r_so_OptimalDesignBlock_ref", self)
}
so_OptimalDesignBlock_unref <- function(self) {
.Call("r_so_OptimalDesignBlock_unref", self)
}
so_OptimalDesignBlock_get_blockNumber <- function(self) {
.Call("r_so_OptimalDesignBlock_get_blockNumber", self)
}
so_OptimalDesignBlock_set_blockNumber <- function(self, value) {
.Call("r_so_OptimalDesignBlock_set_blockNumber", self, value)
}
so_OptimalDesignBlock_get_FIM <- function(self) {
.Call("r_so_OptimalDesignBlock_get_FIM", self)
}
so_OptimalDesignBlock_set_FIM <- function(self, value) {
.Call("r_so_OptimalDesignBlock_set_FIM", self, value)
}
so_OptimalDesignBlock_create_FIM <- function(self) {
.Call("r_so_OptimalDesignBlock_create_FIM", self)
}
so_OptimalDesignBlock_get_CovarianceMatrix <- function(self) {
.Call("r_so_OptimalDesignBlock_get_CovarianceMatrix", self)
}
so_OptimalDesignBlock_set_CovarianceMatrix <- function(self, value) {
.Call("r_so_OptimalDesignBlock_set_CovarianceMatrix", self, value)
}
so_OptimalDesignBlock_create_CovarianceMatrix <- function(self) {
.Call("r_so_OptimalDesignBlock_create_CovarianceMatrix", self)
}
so_OptimalDesignBlock_get_ParameterPrecision <- function(self) {
.Call("r_so_OptimalDesignBlock_get_ParameterPrecision", self)
}
so_OptimalDesignBlock_set_ParameterPrecision <- function(self, value) {
.Call("r_so_OptimalDesignBlock_set_ParameterPrecision", self, value)
}
so_OptimalDesignBlock_create_ParameterPrecision <- function(self) {
.Call("r_so_OptimalDesignBlock_create_ParameterPrecision", self)
}
so_OptimalDesignBlock_get_Criteria <- function(self) {
.Call("r_so_OptimalDesignBlock_get_Criteria", self)
}
so_OptimalDesignBlock_set_Criteria <- function(self, value) {
.Call("r_so_OptimalDesignBlock_set_Criteria", self, value)
}
so_OptimalDesignBlock_create_Criteria <- function(self) {
.Call("r_so_OptimalDesignBlock_create_Criteria", self)
}
so_OptimalDesignBlock_get_Tests <- function(self) {
.Call("r_so_OptimalDesignBlock_get_Tests", self)
}
so_OptimalDesignBlock_set_Tests <- function(self, value) {
.Call("r_so_OptimalDesignBlock_set_Tests", self, value)
}
so_OptimalDesignBlock_create_Tests <- function(self) {
.Call("r_so_OptimalDesignBlock_create_Tests", self)
}
so_OptimalDesignBlock_get_SimulatedData <- function(self) {
.Call("r_so_OptimalDesignBlock_get_SimulatedData", self)
}
so_OptimalDesignBlock_set_SimulatedData <- function(self, value) {
.Call("r_so_OptimalDesignBlock_set_SimulatedData", self, value)
}
so_OptimalDesignBlock_create_SimulatedData <- function(self) {
.Call("r_so_OptimalDesignBlock_create_SimulatedData", self)
}
so_OptimalDesignBlock_get_Design <- function(self) {
.Call("r_so_OptimalDesignBlock_get_Design", self)
}
so_OptimalDesignBlock_set_Design <- function(self, value) {
.Call("r_so_OptimalDesignBlock_set_Design", self, value)
}
so_OptimalDesignBlock_create_Design <- function(self) {
.Call("r_so_OptimalDesignBlock_create_Design", self)
}
blockNumber_acc <- function(value)
{
if (!isnull(.self$.cobj)) {
if (missing(value)) {
so_OptimalDesignBlock_get_blockNumber(.self$.cobj)
} else {
stopifnot(length(value) == 1)
value = as.integer(value)
so_OptimalDesignBlock_set_blockNumber(.self$.cobj, value)
}
}
}
FIM_acc <- function(value)
{
if (!isnull(.self$.cobj)) {
if (missing(value)) {
so_OptimalDesignBlock_get_FIM(.self$.cobj)
} else {
if (!is(value, "matrix")) {
stop("object must be of type 'matrix'")
}
so_OptimalDesignBlock_set_FIM(.self$.cobj, value)
}
}
}
CovarianceMatrix_acc <- function(value)
{
if (!isnull(.self$.cobj)) {
if (missing(value)) {
so_OptimalDesignBlock_get_CovarianceMatrix(.self$.cobj)
} else {
if (!is(value, "matrix")) {
stop("object must be of type 'matrix'")
}
so_OptimalDesignBlock_set_CovarianceMatrix(.self$.cobj, value)
}
}
}
ParameterPrecision_acc <- function(value)
{
if (!isnull(.self$.cobj)) {
if (missing(value)) {
so_OptimalDesignBlock_get_ParameterPrecision(.self$.cobj)
} else {
if (!is(value, "data.frame")) {
stop("object must be of type 'data.frame'")
}
so_OptimalDesignBlock_set_ParameterPrecision(.self$.cobj, value)
}
}
}
Criteria_acc <- function(value)
{
if (!isnull(.self$.cobj)) {
if (missing(value)) {
so_OptimalDesignBlock_get_Criteria(.self$.cobj)
} else {
if (!is(value, "data.frame")) {
stop("object must be of type 'data.frame'")
}
so_OptimalDesignBlock_set_Criteria(.self$.cobj, value)
}
}
}
Tests_acc <- function(value)
{
if (!isnull(.self$.cobj)) {
if (missing(value)) {
so_OptimalDesignBlock_get_Tests(.self$.cobj)
} else {
if (!is(value, "data.frame")) {
stop("object must be of type 'data.frame'")
}
so_OptimalDesignBlock_set_Tests(.self$.cobj, value)
}
}
}
SimulatedData_acc <- function(value)
{
if (!isnull(.self$.cobj)) {
if (missing(value)) {
child = so_OptimalDesignBlock_get_SimulatedData(.self$.cobj)
if (!isnull(child)) {
so_ExternalFile_ref(child)
so_ExternalFile$new(cobj=child)
}
} else {
if (!is(value, "so_ExternalFile")) {
stop("object must be of type 'so_ExternalFile'")
}
so_OptimalDesignBlock_set_SimulatedData(.self$.cobj, value$.cobj)
so_ExternalFile_ref(value$.cobj)
}
}
}
Design_acc <- function(value)
{
if (!isnull(.self$.cobj)) {
if (missing(value)) {
child = so_OptimalDesignBlock_get_Design(.self$.cobj)
if (!isnull(child)) {
so_ExternalFile_ref(child)
so_ExternalFile$new(cobj=child)
}
} else {
if (!is(value, "so_ExternalFile")) {
stop("object must be of type 'so_ExternalFile'")
}
so_OptimalDesignBlock_set_Design(.self$.cobj, value$.cobj)
so_ExternalFile_ref(value$.cobj)
}
}
}
so_OptimalDesignBlock = setRefClass("so_OptimalDesignBlock",
fields=list(
blockNumber = blockNumber_acc,
FIM = FIM_acc,
CovarianceMatrix = CovarianceMatrix_acc,
ParameterPrecision = ParameterPrecision_acc,
Criteria = Criteria_acc,
Tests = Tests_acc,
SimulatedData = SimulatedData_acc,
Design = Design_acc,
.cobj = "externalptr"
),
methods=list(
copy = function() {
copy = so_OptimalDesignBlock_copy(.self$.cobj)
so_OptimalDesignBlock$new(cobj=copy)
},
initialize = function(cobj) {
if (missing(cobj)) {
.cobj <<- so_OptimalDesignBlock_new()
} else {
.cobj <<- cobj
}
},
finalize = function() {
so_OptimalDesignBlock_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.