search for: sigf1

Displaying 1 result from an estimated 1 matches for "sigf1".

Did you mean: sig11
2007 Dec 17
3
Cannot grasp how to apply "by" here...
...nt to put NAs in each column of "vector". I tried with the following code, making assumption that by splits database into sort of smaller dataframes for each Symbol (that's the "x"): factor.names <- c("Factor1", "Factor2") factor.pvalue <- c("SigF1", "SigF2") results <- numeric() vector <- matrix(0, ncol=(length(factor.names)*2+2), nrow=1) colnames(vector) <- c("No.obs", factor.names, factor.pvalue) application <- function(x){ rownames(vector) <- x$Name for(i in 1:length(factor.names)){...