Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
78 views

How can I loop a function through every combination of levels of a factor?

I have a dataset containing a set of variables and the coordinates describing their distributions in geographic space: set.seed(123) #example dataset: d <- data.frame(var=as.factor(rep(LETTERS[1:...
eazyezy's user avatar
  • 163
0 votes
0 answers
145 views

How to run multiple dataframes in a list through a block of code using for loops in R?

I have a dataframe full of bird sightings, and I need to take that data and create .KMV files for each known, named bird territory (territory.name). I have a block of code that will take location data ...
Sarah Hays's user avatar