Returns a data frame of the same number of rows as length of objs, each element of which is the result of applying method to the corresponding element of objs
vkApply(objs, method)
Arguments
objs: A vector of objects
method: The function to be applied to each element of objs
Examples
## Not run: users <- vkApply(c("",1234567),function(user) getUsers(user, fields="sex")) countries <- vkApply(c(2,5122182,1906578), getCountryByCityId)## End(Not run)