getArgFormElements | R Documentation |
This function is used when constructing the argument list when creating a function to represent the HTML form. It filters out the HTMLFormElement objects from the form description in which we have no interest. This happens when we are creating the argument list and creating the data for the form submission. Basically, this function, by default, discards the user interface components used to submit or reset the form rather than set values for the submission.
getArgFormElements(desc, targetClasses = c("HTMLSubmitElement", "HTMLResetElement", "HTMLImageElement", "HTMLHiddenElement"))
desc |
an |
targetClasses |
the collection of class names that we want to omit. |
The subset of the HTMLFormDescription
elements
that do not inherit from the specified targetClasses
.
Duncan Temple Lang <duncan@wald.ucdavis.edu>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.