Displaying 2 results from an estimated 2 matches for "plan6".
Did you mean:
plan9
2007 Apr 18
10
importing excel-file
Dear R-experts,
It is a quite stupid question but please help me. I am very confuced. I
am able to import normal txt ant mat-files to R but unable to import
.xls-file
I do not understand the online help. Can please anyone send me the
corresponding command lines? The .xls-file is attached. In my file we
use commas for the decimal format (example: 0,712), changes might be
needed.
Thanks, Corinna
2010 Feb 10
1
mean calculation within dataframe corrupted
...itemName);
resultNames <- c(resultNames, newColumnName)
}
LVMean = mean(result, na.rm=TRUE);
result <- cbind(result, LVMean)
resultNames <- c(resultNames, "LVMean")
names(result) <- resultNames;
return(result)
}
rPlanning <- data.frame(plan1, plan2, plan3, plan4, plan5, plan6, plan7)
a <- groupMeanForAllItems(rPlanning, u_proj)
print(a)
## end
########
Output:
groupname plan1_mean plan2_mean plan3_mean plan4_mean plan5_mean
plan6_mean plan7_mean LVMean 1 a 4.375.000 5.625.000 5.500.000 5.250.000
6.500.000 4.375.000 5.125.000 NA 2 b 6.400.000 6.200.000 6.600.000...