Displaying 3 results from an estimated 3 matches for "f2n".
Did you mean:
f2
2005 Aug 23
2
Substituted arguments surviving multiple function calls
I am using R 2.1.1 and have written a function that will retrieve a
named column from a data frame:
d = data.frame(a1=c(4, 2), a2=c(6, 7))
f1 = function(x)
{
do.call("$", list(d, substitute(x)))
}
So this works:
> f1(a1)
[1] 4 2
However, I want to make another function, f2, which also accepts a
column name as an argument and then calls the first function with it:
f2 =
2007 Apr 19
4
hello
ok how can I do to cancel le function factor for the moment ican't do this and I'm stuck with my problem for exemple
Id_Rep Id_Geno Val_O Id_TrT1
1 1 64238 145 2
2 1 64238 1 1
3 1 64238 2 1
4 1 64238 1 1
5 1 64238 1 1
6 1 64238 2 1
7 1 64238 1 1
8 2
2004 Jan 27
0
Server Report [Incident: 040126-000715]
...=
2<=D3=EC=F6=96=C8=F3=96=98[&=87=B3=F3)=BE=B8=BD=97=E49=F1=E8O=CED=E6v%=93=
=C1;t9=F9ly=F2=98!2=92=B1=95H=81F=93=EB=97=B3e=E5=CDP8=C2=9A=9Cr=9A[0e=EC=
=C6=8B:=9D;h[P =D4/=ED=FAd=C6sS,EE=BCN7=C8*mn#3 =ADv
"=B83I=DA=D2=EF=90X=F1=8E$O=DDs=D0=8Bp=BB=E9=D5[=B7Y=E7=A2ly=AA=FEY8=CF{=C0=
Z/=B0=F2N}=D9=AE=C3
;=98=ABQE=B9=C7=D8=8A=B2=D8ch=AA=F7=D5=9F!)=8D=9B=A0=E3^M=EC=F1=B0=E9=AB=D4=
=FE=99ZS#.
H=89=81=AB=AByv=C20=A4=BB=AF=C6=CB=ED[
F=AEln=AE/=9F}=CC=B8=BD..y=8F=CC=E37=E7%o[=DD}=89M=A1=A7=E3=A9=C6~J6=F3=F8=
E=A5=84=B1=AA>=A8z=E2:=E5=D7kI=91=83WX=E9=CC=9F=BB=AA=83;=B7=8F=A8=E9=E32=
Os=E7=AA...