Displaying 5 results from an estimated 5 matches for "mutlipliers".
Did you mean:
multipliers
2008 May 21
2
Problem in converting natural numbers to bits and others
Hi,
I just started using R for about one week and I have few problems.
i)I have a problem in finding right function to convert a table of natural
numbers to bitwise. For a simple example;
I have the below table:-
Column Col1 Col2 Col3
Sample1 5 7 10
Sample2 0 2 1
Sample3 4 0 0
Supposedly i wanted to convert to :-
Column Col1 Col2 Col3
2010 Sep 21
2
multiplying values in data frame by corresponding value in the first column
I am sure there is a simple solution to this... I have a column in a
data frame specifying a grouping (1, -1) for my observations, and need
to mutliply each observation in all the other columns of the data frame
by the corresponding value in the given column. I played with apply, and
saw some suggestions for sweep, but did not manage to get it working.
My table contains NAs....
Example of
2007 Sep 12
1
vars package, impulse response functions ??
I am fitting a reduced form VAR model using VAR in the vars library. I have
several endogenous variables, and two exogenous variables. I would like to
explore the effects of a shock to one of the exogenous variables on one of
the endogenous variables. Using irf in the vars library only calculates the
irf for the endogenous variables, this is obviously by design, is there some
theoretical
2002 Oct 07
0
Why are big data.frames slow? What can I do to get it fas ter?
Extracting from data frame one element at a time the way you did is
expensive. I.e., test[i, 6] is slower than test$whatever[i].
As an example:
> dat <- data.frame(a = sample(LETTERS, 1e6, replace=TRUE), b=1:1e6,
+ c=rep("A", 1e6))
> dat$a <- as.character(dat$a)
> dat$c <- as.character(dat$c)
>
> system.time(
+ for(i in 1:10) {
+ dat[i, 3]
2004 Jun 18
21
patch: HTB update for ADSL users
OK, here it is. Near perfect bandwidth calculation for ADSL users.
Patch iproute2 with the HTB stuff and then this:
It''s still a hack (as far as I can tell) because we are patching the
rates tables, and hence I think it is only loosly coupled with the
actual calculation of bytes in each bucket.
However, it works very nicely for me! I have only been lightly testing
with