<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:14pt"><div><div class="MsoNormal"><div class="MsoNormal">Como usar a função lapply (ou então outra função se não for
possível via lapply) de modo que a lista de parâmetros ‘a’ seja inclusa no
procedimento abaixo? (~<span style="font-size:14.0pt;line-height:115%;
color:red">ai</span>+bi*x????) </div>

<div class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
21.0pt;background:white"><span style="font-size: 12pt; font-family: 'Times New Roman', serif; ">a=c(1,2,3)<o:p></o:p></span></div>

<div class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
21.0pt;background:white"><span style="font-size: 12pt; font-family: 'Times New Roman', serif; ">b=c(0.2,1.6)<o:p></o:p></span></div>

<div class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
21.0pt;background:white"><span style="font-size: 12pt; font-family: 'Times New Roman', serif; ">x=c(1,2,3,4)<o:p></o:p></span></div>

<div class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
21.0pt;background:white"><span style="font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></span></div>

<div class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
21.0pt;background:white"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";
mso-fareast-font-family:"Times New Roman";color:red;mso-fareast-language:PT-BR">#
como incluir ai no modelo abaixo?<o:p></o:p></span></div>

<div class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
21.0pt;background:white"><span style="font-size: 12pt; font-family: 'Times New Roman', serif; ">exemplo1=lapply(b, function(bi) {bi*x})<o:p></o:p></span></div>

<div class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
21.0pt;background:white"><span style="font-size: 12pt; font-family: 'Times New Roman', serif; ">exemplo1<o:p></o:p></span></div></div></div></div></body></html>