Re: [R] Linear regression and stand deviation at the Linux command line

2024-08-23 Thread Keith Christian
Hi Ivan, Thanks for the suggestions. Will try them. Keith On Fri, Aug 23, 2024 at 1:57 AM Ivan Krylov wrote: > > В Thu, 22 Aug 2024 13:07:37 -0600 > Keith Christian пишет: > > > I'm interested in R construct(s) to be entered at the command > > line that would output slope, y-intercept

Re: [R] Linear regression and stand deviation at the Linux command line

2024-08-23 Thread Ivan Krylov via R-help
В Thu, 22 Aug 2024 13:07:37 -0600 Keith Christian пишет: > I'm interested in R construct(s) to be entered at the command > line that would output slope, y-intercept, and r-squared values read > from a csv or other filename entered at the command line, and the same > for standard deviation calcula

Re: [R] Linear regression and stand deviation at the Linux command line

2024-08-22 Thread Bert Gunter
In addition To John's comments, https://support.posit.co/hc/en-us/articles/218012917-How-to-run-R-scripts-from-the-command-line (found by searching on "Run R from the Linux Command line") is one of many resources that you might find helpful. As John said, this list can offer help to both new and

Re: [R] Linear regression and stand deviation at the Linux command line

2024-08-22 Thread Sorkin, John
Keith, I suggest you being by looking at a web page https://www.rdocumentation.org/packages/stats/versions/3.6.2/topics/lm It will introduce you to the lm function, the function that performs liner regression and the summary function which returns some of the material you are looking for. The p