View source: R/print.optim_fit.r
print.optim_fit | R Documentation |
Provides a nice printed summary of optim_fit
objects.
## S3 method for class 'optim_fit'
print(x, digits=4,...)
x |
An object resulting from optim_fit(). |
digits |
Number of digits to print for output. |
... |
other arguments not used by this function. |
No Return Value.
Steven Novick
optim_fit
set.seed(123L)
x = rep( c(0, 2^(-4:4)), each=4 )
theta = c(0, 100, log(.5), 2)
y1 = hill_model(theta, x) + rnorm( length(x), sd=2 )
fit1=optim_fit(theta, hill_model, x=x, y=y1)
print(fit1)
fit1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.