Not sure how to help you, because your example is not reproducible (does not
run on my computer).
Some comments:
Avoid using the attach function. It is way better to use the data argument
available in most functions.
The summarise function is designed for interactive use. You should probably
Hello, all. I'm new to R and just beginning to learn to write functions. I
know I'm out of my depth posting here, and I'm sure my issue is mundane.
But here goes. I'm analyzing the American National Election Study (nes),
looking at mean values of a numeric dep_var (environ.therm) across values
of a
2 matches
Mail list logo