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