Skip to content

help for an R automated procedures

2 messages · Gustavo Vieira, PIKAL Petr

#
Hi

exactly what is 

fortune("surgery")

about.

Anyway, you can save yourself a lot headache, if you start using lists for your objects.

Lists can be used easily in cycles.

for (i in 1:n) {
some.list[i] <- some.function(some.other.list[i])
}

and also lapply/sapply functions can be useful

sapply(sp1.loc1,scale)

will give you scaled data frame


Regards
Petr