Skip to content
Prev 131497 / 398502 Next

simple problems

On Dec 6, 2007 3:26 PM, marciarr <marcia.rocha at gmail.com> wrote:
In the builtin Formaldehyde data frame find the value of carb (first column)
which corresponds to the least value of optden (second column):

with(Formaldehyde, carb[which.min(optden)])
Search between 0 and 1 for the root of the indicated function:

uniroot(function(x) 0.1 - exp(-x)^12, 0:1)