Displaying 2 results from an estimated 2 matches for "groupingvar".
2010 Nov 18
2
conditional mean between two data frames with different levels
Hi guys, I have two data frames: one referred to 2008 and one to 2009. Their
structure is identical except for the different data in them.
I need to create a vector alfa of the same length of the dataframe 2009 and
fill each element with the mean of 2008$var1 conditional to the subgroup
indicated by a factor variable in 2009$var2.
In this case it would be easy to use the function
2002 Jul 03
2
grouping in scatterplot3d
Hi all,
I've been using the scatterplot3d function (from the scatterplot3d library) to create 3D plots. I was wondering whether there is
anyway to group the points according to a particular group variable. For example I used the plot function as
plot( factor( <GROUPINGVAR> ) , <PLOTVARS> )
to organise the results in a according to the grouping variable. I was wondering whether there is any equivalent way of doing this
with scatterplot3d or any other equivalent 3d plotting function. I understand that this would be a difficult task since there are
'no spa...