Displaying 6 results from an estimated 6 matches for "groupbi".
Did you mean:
groupb
2010 Jul 30
1
Unique rows in data frame (with condition)
I have to deal with data frames that contain multiple entries of the
same (based on an identifying collumn 'id'). The second collumn is
mostly corresponding to the the id collumn which means that double
entries can be eliminated with ?unique.
a <- unique(data.frame(timestamp=c(3,3,3,5,8), mylabel=c("a","a","a","b","c")))
However
2008 Sep 03
4
delta index in Sphinx
Hello, all!
Help me please to solve problem with Sphinx and its delta index.
Configuration file is located in attachment to this topic.
-------------------------------------------------------------------
mysql> select id, e_mail from users where e_mail LIKE ''%test%'';
-------------------------------------------------------------------
2007 Jul 30
4
indexing only the changed values
Hi all,
i have model A which has a field indexed from model B. model A belongs
to model B.
So whenever i insert a row in model ''A'', a query is fired to the field from
model ''B'' even though the data was not changed for the field in model B.
Can i somehow avoid these extra queries,or rather query the data and index
it,only if the data has been changed>?
e.g
2009 Mar 01
1
SPSS repeated interaction contrast in R
dear all,
i'm trying to reproduce an spss-anova in R.
It is an 2x3x3 repeated measures desingn with repeated contrasts.
In R i've coded a contrast matrix for all factors and made a
split in the aov summary - but I can't get the repeated interaction contrasts.
The output from SPSS looks like this:
TaskSw * CongNow * CongBefore: SS df Mean Square F Sig.
1 vs. 2 1 vs. 2 1 vs. 2
2009 Jan 02
7
the first and last observation for each subject
I have the following data
ID x y time
1 10 20 0
1 10 30 1
1 10 40 2
2 12 23 0
2 12 25 1
2 12 28 2
2 12 38 3
3 5 10 0
3 5 15 2
.....
x is time invariant, ID is the subject id number, y is changing over time.
I want to find out the difference between the first and last observed y
value for each subject and get a table like
ID x y
1 10 20
2 12 15
3 5 5
......
Is there any easy way to generate
2005 Mar 29
6
Aggregating data (with more than one function)
I have the data similar to the following in a data frame:
LastName Department Salary
1 Johnson IT 56000
2 James HR 54223
3 Howe Finance 80000
4 Jones Finance 82000
5 Norwood IT 67000
6 Benson Sales 76000
7 Smith Sales 65778
8 Baker HR 56778
9 Dempsey HR 78999
10 Nolan