Displaying 2 results from an estimated 2 matches for "025mm".
2004 Apr 27
2
paste dimnames problem
Hello,
I've the following list n:
> n
[[1]]
[1] "NEW" "OLD" "PRG"
[[2]]
[1] "04h" "24h"
[[3]]
[1] "000mM" "010mM" "025mM" "050mM" "100mM"
where
n <- dimnames(some.multidim.array)
I'm trying to define a generic function that generates meaningful names from this list, e.g. NEW.04h.000mM would be the first name, then NEW.04h.010mM, ... . Overall this would generate 30 names (3*2*5). He...
2004 May 10
5
R versus SAS: lm performance
...hers are factors.
> names(df.gene1data) <- c("Va", "Ba", "Ti", "Do", "Ar", "Pr")
> df[c(1:2,1343:1344),]
Va Do Ti Ba Ar Pr
1 2.317804 000mM 24h NEW 1 1
2 2.495390 000mM 24h NEW 2 1
8315 2.979641 025mM 04h PRG 83 16
8415 4.505787 000mM 04h PRG 84 16
this is a dataframe with 1344 rows.
x <- Sys.time();
wlm <- lm(Va ~
Ba+Ti+Do+Pr+Ba:Ti+Ba:Do+Ba:Pr+Ti:Do+Ti:Pr+Do:Pr+Ba:Ti:Do+Ba:Ti:Pr+Ba:Do:Pr+Ti:Do:Pr+Ba:Ti:Do:Pr+(Ba:Ti:Do)/Ar, data=df, singular=T);
difftime(Sys.time(), x)
Time differ...