Displaying 1 result from an estimated 1 matches for "12x160".
Did you mean:
12160
2008 May 14
2
Dividing Two Dataframes
Hi,
I have two dataframes one with 144 rows and 160 columns (SDF1) and one with
12 rows and 160 columns (SDF2).
Now I'm trying to divide rows 1:12 with SDF2, rows 13:24 with SDF2, rows
25:36 with SDF 2, .
In S-Plus the following code works fine:
DFS = SDF1[1:144,1:60] / as.vector(SDF2[1:12,1:160])
but in R when I try to implement the formula I get the following error:
"/