Last data update: 2014.03.03

R: Set the values of an object of class 'process'
setValuesR Documentation

Set the values of an object of class process

Description

The function setValues set the values of the process.

Usage

setValues(process,values)

Arguments

process

an S4 object process;

values

the values of the process on the atlas.

Details

Statistical tools developed in the Fieldsim package allows real dataset inserted in the model process. Consequently the user can set the values of the process. Parameter will be forgotten using statistical command. This values will be erase with the use of fieldsim.

Author(s)

Alexandre Brouste (http://perso.univ-lemans.fr/~abrouste/) and Sophie Lambert-Lacroix (http://membres-timc.imag.fr/Sophie.Lambert/).

References

A. Brouste, J. Istas and S. Lambert-Lacroix (2015). Fractional Gaussian bridges with the package FieldSim.

See Also

fieldsim.

Examples

# Load FieldSim library
library(FieldSim)

#Dataset (to do)
plane.fBm<-setProcess("fBm-plane",0.6)
fieldsim(plane.fBm)
sample<-plane.fBm@values

plane.fBm.2<-setProcess("fBm-plane",0.7)
setValues(plane.fBm.2,sample)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(FieldSim)
Loading required package: rgl
Loading required package: RColorBrewer
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/FieldSim/setValues.Rd_%03d_medium.png", width=480, height=480)
> ### Name: setValues
> ### Title: Set the values of an object of class 'process'
> ### Aliases: setValues setValues,process-method
> 
> ### ** Examples
> 
> # Load FieldSim library
> library(FieldSim)
> 
> #Dataset (to do)
> plane.fBm<-setProcess("fBm-plane",0.6)
> fieldsim(plane.fBm)
> sample<-plane.fBm@values
> 
> plane.fBm.2<-setProcess("fBm-plane",0.7)
> setValues(plane.fBm.2,sample)
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>