Displaying 4 results from an estimated 4 matches for "mybi".
Did you mean:
mabi
2011 Oct 05
2
aggregate function with a dataframe for both "x" and "by"
I have 2 dataframes. "mydata" contains numerical data. "mybys" contains
information on the "group" each row of the data is in. I wish to aggregate
each column in mydata using the corresponding column in mybys.
Please see the example below. What is a more elegant or "better" way to
accomplish this task?
Thanks!
mydata =
2007 Jul 31
1
aggregate.data.frame - prevent conversion to factors? show statistics for NA values of "by" variable?
I have a two question regarding the "aggregate.data.frame" method of the "aggregate" function.
My situation:
a. My "x" variable is a data.frame ("mydf") with two columns, both columns of type/format "numeric".
b. My "by" variable is a data.frame("mybys") with two columns, both columns of type/format "character".
c.
2001 Jul 04
3
by/ NA/ barplot
Colleagues
----------------------------------
System info:
Version 1.3.0 (2001-06-22) on NT
ESS v. 5.1.18 using emacs ver. 20.4
----------------------------------
I have generated an object (class = by) with NA values and want to plot
the output as a bargraph:
x2 <- by(scl.nos, species, sum)
These data are summed counts of fish by species
> x2
INDICES: AGI
[1] 0.729927
2005 Aug 04
7
Frames within rails
What is the best way to create frames in rails?
thanks
fp