'Summary command (in R) giving invalid type of argument error
I have run into an issue working with the summary command in R. It doesn't matter if I'm using it with a variable or summary of an lm output, I get the following error:
Error in sum(vec1) : invalid 'type' (list) of argument
Any ideas what might be causing this? I've run into issues in the past with summary when there are too many variables in the global environment and I get a stack usage memory limit error, but I've eliminated all of those, so I can't figure out what would be causing this. Any ideas?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
