# Create an object of the 'mtkParameter' class.
p <- mtkParameter(name="x", type="double", val=0.0)
# We usually use the 'make.mtkParameterList()' function to define
# a list of 'mtkParameter' instead of the constructor
# of the 'mtkParameter' class
flist <- make.mtkParameterList(x=list(min=-1,max=+1))
Run the code above in your browser using DataLab