Displaying 2 results from an estimated 2 matches for "rep_3".
Did you mean:
rep3
2011 Mar 11
3
Large dataset operations
...to do this but it is awfully slow. What I want to do is add a new column for each "rep_ " column where I have taken each value and divide it by the mean of all values where "PlateNo" is the same. My data is in the following format:
> data
PlateNo
Well
rep_1
rep_2
rep_3
1
A01
1312
963
1172
1
A02
10464
6715
5628
1
A03
3301
3257
3281
1
A04
3895
3350
3496
1
A05
8731
7389
5701
2
A01
7893
6748
5920
2
A02
2912
2385
2586
2
A03
985
785
809
2
A04
1346
1018
1001
2
A05
794
314
486
To generate it copy:
a <- c(1...
2013 Jan 04
3
help "reshaping" dataframe
List,
I want to reshape my data, but I'm not sure how to do it... it might be a
simple task, but don't know which package does this.
"occ.data" (see below) is how my original data are arranged, and I know
that with melt() I can reshape it like "y" (see below). However, I just
want to build a matrix like the "y" matrix, but with only 2 dimensions.
Something