Slice_Init | R Documentation |
function displaying the measured data (x,y), and establishing the corresponding functions y(x) and p(y)
Slice_Init(x, y)
x |
numeric (required) a variable |
y |
numeric (required) the measured value for x |
a list with the following elements
$x0 the initial point
$hist_y a histogram of y density
$foo_y a function p(y)
$foo_x a function y(x)
x<-50:550
y<-dnorm(x,300,75)
if (dev.cur()!=1)dev.off()
Slice_Init(x,y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.