<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
É isso que quer:<br>
<br>
m.1 <- summary(model)<br>
names(m.1)<br>
m.1$parameters[,1]<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">Em 05-07-2016 15:21, Pedro Campelo via
R-br escreveu:<br>
</div>
<blockquote
cite="mid:CADN0ST0xJyAVdOtCUH3XxUp9Pgshpmjvu7FomFLeDCas+H-wsA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_default"
style="font-family:monospace,monospace">Pessoal,</div>
<div class="gmail_default"
style="font-family:monospace,monospace"><br>
</div>
<div class="gmail_default"
style="font-family:monospace,monospace">Estou rodando um
script e preciso extrair os dados dos coeficientes ajustados
para um modelo. No meu exemplo, quero extrair e separar os
valores "k" e "n".</div>
<div class="gmail_default"
style="font-family:monospace,monospace"><br>
</div>
<div class="gmail_default" style="">
<div class="gmail_default"
style="font-family:monospace,monospace"><b><i>>
data.frame(A)</i></b></div>
<div class="gmail_default"
style="font-family:monospace,monospace"><b><i> M R</i></b></div>
<div class="gmail_default"
style="font-family:monospace,monospace"><b><i>1 10 24.61</i></b></div>
<div class="gmail_default"
style="font-family:monospace,monospace"><b><i>2 20 29.41</i></b></div>
<div class="gmail_default"
style="font-family:monospace,monospace"><b><i>3 30 33.07</i></b></div>
<div class="gmail_default"
style="font-family:monospace,monospace"><b><i>4 40 37.37</i></b></div>
<div class="gmail_default"
style="font-family:monospace,monospace"><b><i>5 50 38.22</i></b></div>
<div class="gmail_default"
style="font-family:monospace,monospace"><b><i>6 60 41.14</i></b></div>
<div class="gmail_default"
style="font-family:monospace,monospace"><b><i>7 70 41.61</i></b></div>
<div class="gmail_default"
style="font-family:monospace,monospace"><b><i>8 80 43.41</i></b></div>
<div class="gmail_default"
style="font-family:monospace,monospace"><b><i>9 90 47.18</i></b></div>
<div class="gmail_default"
style="font-family:monospace,monospace"><b><i>10 100 48.77</i></b></div>
<div class="gmail_default"
style="font-family:monospace,monospace"><b><i>11 110 51.02</i></b></div>
<div class="gmail_default"
style="font-family:monospace,monospace"><b><i>12 120 52.95</i></b></div>
<div class="gmail_default"
style="font-family:monospace,monospace"><b><i>13 130 52.98</i></b></div>
<div class="gmail_default"
style="font-family:monospace,monospace"><b><i>14 140 52.92</i></b></div>
<div class="gmail_default"
style="font-family:monospace,monospace"><b><i><br>
</i></b></div>
<div class="gmail_default" style="">
<div class="gmail_default" style=""><font face="monospace,
monospace"><b><i>> model<-nls(R~k*M^n,
start=list(k=0.5,n=1))</i></b></font></div>
<div class="gmail_default" style=""><font face="monospace,
monospace"><b><i>> summary(model)</i></b></font></div>
<div class="gmail_default" style=""><br>
</div>
<div class="gmail_default" style=""><br>
</div>
<div class="gmail_default" style="">Obrigado</div>
<div class="gmail_default" style=""><font face="monospace,
monospace"><br>
</font></div>
<div class="gmail_default" style=""><font face="monospace,
monospace"><br>
</font></div>
</div>
</div>
<div>
<div class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div><b>----</b></div>
<b>
<div><b><br>
</b></div>
<font face="monospace, monospace">Pedro
Henrique Campelo Felix</font></b>
<div><i><font face="monospace, monospace">Bachelor
of Food Engineering (UNI-BH)</font></i></div>
<div><i><font face="monospace, monospace">Msc.
Chemical Engineering (UFMG)</font></i></div>
<div><i><font face="monospace, monospace">PhD
Student of Food Science (UFLA)</font></i></div>
<div><font face="monospace, monospace"><br>
</font></div>
<div><b><font face="monospace, monospace">+55
(31) 97560-1545 (TIM)</font></b><font
size="1"><i><font face="monospace,
monospace"><br>
</font></i><font size="2"><i><font
face="monospace, monospace">"</font></i><span
style="color:rgb(0,0,0);font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important;background-color:rgb(255,255,255)"><i><font
face="monospace, monospace">Nós
somos aquilo que fazemos
repetidamente. Excelência,
então, não é um modo de agir,
mas um hábito." Aristóteles</font></i><br>
</span></font></font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
R-br mailing list
<a class="moz-txt-link-abbreviated" href="mailto:R-br@listas.c3sl.ufpr.br">R-br@listas.c3sl.ufpr.br</a>
<a class="moz-txt-link-freetext" href="https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br">https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br</a>
Leia o guia de postagem (<a class="moz-txt-link-freetext" href="http://www.leg.ufpr.br/r-br-guia">http://www.leg.ufpr.br/r-br-guia</a>) e forne�a c�digo m�nimo reproduz�vel.</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Atenciosamente
Felipe E. Barletta Mendes
Estatístico(UFPR) - Conre3 9766-A
Mestrando em Bioestatística(UEM)
+55 (41)-92077191
+55 (41)-33287216</pre>
</body>
</html>