[R] Calling R (GAMM) from Fortran

2009-11-19 Thread Paul Warren Simonin
Hello,   I am currently working on a modeling project using Fortran to run large repetitive loops (many DO loops). As part of this process I would like to use a model fit in R and currently stored as an R object. This is a rather complex model, a GAMM, and I am curious whether ther

Re: [R] Create histogram from data matrix

2009-04-17 Thread Paul Warren Simonin
On Fri, Apr 17, 2009 at 10:59 AM, Paul Warren Simonin wrote: Hello!  Thanks for reading this request for assistance. I have a question regarding creating a histogram-like figure from data that are not currently in the correct format for the "hist" command.  Specifically, my data have be

[R] Create histogram from data matrix

2009-04-17 Thread Paul Warren Simonin
Hello! Thanks for reading this request for assistance. I have a question regarding creating a histogram-like figure from data that are not currently in the correct format for the "hist" command. Specifically, my data have been processed and are in a matrix with columns containing the var

[R] Subset a data frame for plotting

2009-04-09 Thread Paul Warren Simonin
Hello, I have a question regarding how to subset/select parts of a data frame (matrix) in order to plot data associated only with this subset. Specifically I have a large data frame in which one column contains ID values (dates), and other columns contain data I would like to plot (temp

[R] Plot with x-axis dates

2009-02-06 Thread Paul Warren Simonin
Hello, I am attempting to create plots using two continuous variables and it seems I should be able to use the simple "plot" command. However, my x-axis values are dates, and I believe this could be the reason I am receiving error messages reading: Error in Summary.factor(c(2L, 4L, 3L, 5

[R] Log transformation and -Inf values for use in glm()

2009-02-06 Thread Paul Warren Simonin
Hello, I am writing regarding log transformation of data in a single matrix column, and subsequent use of these data in a glm model fit. I have a data matrix in which I am using the log function to transform the values. This transformation results in -Inf values in some places, though. I