Extracting a fixed position data from th …


http://unautre.fr/making-of/alexandre-de-paris/ Extracting a fixed position data from the list of vectors
I don’t exactly understand how this works but it works.

Ambasamudram v <- list(c(1,2), c(3,4), 5, c(-3:3)) sapply(v, "[", i = 2) or sapply(v, function(x) x[2]) https://stat.ethz.ch/pipermail/r-help/2007-November/145936.html


Leave a Reply

Your email address will not be published. Required fields are marked *