deletecloud | R Documentation |
Function(s) to free the memory used to represent particle clouds
stored on the C
-side of a "dynaTree"
-class object –
essential to avoid memory leaks; also a function to copy an entire
"dynaTree"
-class object, which is required since explicit
code is needed to copy the C
-side memory
## S3 method for class 'dynaTree'
copy(obj)
deletecloud(obj)
deleteclouds()
obj |
a |
deletecloud
frees the particular C
-side memory
associated to a particular object, and deleteclouds
frees
all C
-side clouds (i.e., all memory)
An object with obj$num != NULL
has already had its
C
-side cloud freed
copy.dynaTree
returns a copied object with a new
obj$num
after having copied the C
-side memory
contents pointed to by the old obj$num
The deleting functions do not return any value; the copy function
returns a copy of a "dynaTree"
-class object
Robert B. Gramacy rbg@vt.edu,
Matt Taddy and Christoforos Anagnostopoulos
dynaTree
, update.dynaTree
deleteclouds()
## see the dynaTree and update.dynaTree help files
## and the demos (demo(package="dynaTree")) for
## more examples
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.