search for: latentvariablenames

Displaying 2 results from an estimated 2 matches for "latentvariablenames".

2010 Feb 11
2
Unexpected output in first iteration of for-loop
...0.82 6 rRetros 0.9 0.95 7 rAccess 0.91 0.92 8 rAccTest 0.87 0.9 ##### LV <- c("rPlanning", "rIterat", "rTDD", "rStandup", "rRetros", "rAccess", "rAccTest") ##### loopCronbach <- function(latentVariableNames, groupingVariable) { result <- latentVariableNames names(result) <- c("latentVariable", "Indiv", "Group") for (currentName in latentVariableNames) { print(currentName) print(result) tmp1 <- calculateIndividualCronbach(get(currentName)) tmp2 <- calculateGro...
2010 Feb 10
1
eval function with javascript-semantics possible in R?
...ame="testfile"): items1 <- read.csv(testfile1, dec=","); items2 <- read.csv(testfile2, dec=","); The way I intend to use it is to define a string list containing names of date.frames, and interate this list to perform some function: createTable <- function(latentVariableNames) { for (currentName in names(latentVariableNames)) { doSomethingWith(currentName) } } Would be grateful for any help! Chaehan [[alternative HTML version deleted]]