[R] Partial Fraction Decomposition

2016-11-26 Thread Tom Mosca
Hello Folks, As a neophyte R user I frequently have questions, and I�m sorry to bother experienced users with what may appear to be trivial questions to which I should be able to find answers without help. I�ve searched everywhere I know to look, and can�t find any reference to this question.

[R] Euler & Runge-Kutta

2016-11-07 Thread Tom Mosca
Can someone help me with R code to perform approximations to second order differential equations and systems of first order differential equations using Euler's method and Runge-Kutta? I am not a student and this is not for a test or graded assignment. Examples (unrelated to each other): h =

[R] Same code on Mac?

2016-09-01 Thread Tom Mosca
Using a PC I have written the R code for my elementary statistics students. One of the students has a Mac. Should the same lines of code work on a Mac? Where can the student find support for R on her Mac? I don't know anything about them, and have never used one. Thank you.

Re: [R] means by year, month and day

2016-07-18 Thread Tom Mosca
, 2016 12:14 PM To: Tom Mosca Cc: jim holtman; Jianling Fan; r-help@r-project.org Subject: Re: [R] means by year, month and day If you are very inexperienced with R you still have time to forget you ever heard of the attach function. Your code > attach(datATMP) > datATMP1 <- datA

Re: [R] means by year, month and day

2016-07-18 Thread Tom Mosca
velop better form. So, I'll keep working on it. Thank you for your kind response and examples. I will study them. Sincerely, Tom From: jim holtman [jholt...@gmail.com] Sent: Sunday, July 17, 2016 7:14 PM To: Jianling Fan Cc: Tom Mosca; r-help@r-project.org Subj

[R] means by year, month and day

2016-07-17 Thread Tom Mosca
Hello Good Folk, My dataframe looks like this: > mydata X.YY MM DD hh WDI R.WSP D.GST PRES ATMP DEWP 12015 1 1 0 328 3.6 4.5 1028.0 3.8 -3.5 22015 1 1 1 300 2.1 2.7 1027.9 3.7 -4.4 32015 1 1 2 264 2.4 2.9 1027.7 3.6 -4.5 42015 1 1 3 230

[R] daily means, follow-up

2016-07-17 Thread Tom Mosca
Solved it myself: aggregate(mydata, by=mydata[c("MM","DD")], FUN=mean) Thank you. # - My dataframe looks like this: > mydata X.YY MM DD hh WDI R.WSP D.GST PRES ATMP DEWP 12015 1 1 0 328 3.6 4.5

[R] Unequal column lengths

2016-04-14 Thread Tom Mosca
Hello, I�ve tried several times to learn R, but have never gotten past a particular gate. My data are organized by column in Excel, with column headers in the first row. The columns are of unequal lengths. I export them as CSV, then import the CSV file into R. I wish to summarize the data