| vc_region | R Documentation |
Sample a planar region independently of integration
vc_region(lower, upper, interval = NULL, n = 40L, n_u = 20L, partition = NULL)
lower, upper |
Scalar boundary functions of x, ordered at sampled nodes. |
interval |
Finite increasing x bounds, or NULL with partition supplied. |
n |
Positive number of regular x strips, ignored with partition. |
n_u |
Positive number of subdivisions across each vertical section. |
partition |
Optional vc_partition result; reconstructed from breaks. |
Reuses vc_partition unchanged. Validates sampled ordering without swapping boundaries. Linear interpolation between sampled boundary values is a representation, not proof of topology, ordering between samples or exact curved boundaries. A single interval between two graphs is supported; disconnected vertical cross sections require justified decomposition. Equal boundary heights are allowed as degenerate sections. Every stored coordinate must be finite; fine representable grids are not guaranteed.
Plain list with type region, partition, sections (outer,lower,upper), u blending fractions, grid (x,y matrices with u rows and x columns), strips (the scalar partition cell table) and note. No volume/area computed.
vc_region(function(x)x^2,sqrt,c(0,1),n=10,n_u=4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.