Re: [R] R Help: System Identification for First order delay and dead time with TF model

2016-09-23 Thread Eduardo M. A. M. Mendes
Hi This is a continuous time system. Are you willing to discretize the model? Regards Ed Enviado do meu iPhone > Em 23 de set de 2016, às 06:15, Yoshikazu Noguchi > escreveu: > > Hello, > > > > May I ask your help? > > > > I would like to do System

Re: [R] How to change print behaviour within a markdown document

2014-08-02 Thread Eduardo M. A. M. Mendes
Dear Duncan Options did the job. Thank you ever so much. I will try the other suggestions too. If they work I will post them as well. Cheers Ed Enviada do meu iPhone Em 02/08/2014, às 09:26, Duncan Murdoch murdoch.dun...@gmail.com escreveu: On 01/08/2014, 10:36 PM, Eduardo M. A.

Re: [R] ggplot2 - change title and size of legends - time series.

2014-06-28 Thread Eduardo M. A. M. Mendes
in the legend print(g) On Jun 27, 2014, at 5:05 PM, Eduardo M. A. M. Mendes emammen...@gmail.com wrote: Hi I am trying to understand how to use ggplot2 to plot multiple time-series in one single graphics. In order to do so, I have modified the example given at http://docs.ggplot2.org/current

[R] ggplot2 - change title and size of legends - time series.

2014-06-27 Thread Eduardo M. A. M. Mendes
Hi I am trying to understand how to use ggplot2 to plot multiple time-series in one single graphics. In order to do so, I have modified the example given at http://docs.ggplot2.org/current/guide_legend.html to use my own data. Here is the script so far # Script for plotting all variables

[R] ggplot2 - change title and size of legends - time series.

2014-06-27 Thread Eduardo M. A. M. Mendes
Hi I am trying to understand how to use ggplot2 to plot multiple time-series in one single graphics. In order to do so, I have modified the example given at http://docs.ggplot2.org/current/guide_legend.html to use my own data. Here is the script so far # Script for plotting all variables

Re: [R] How to change the font size on the title of a xyplot

2014-05-11 Thread Eduardo M. A. M. Mendes
of Agronomy and Soil Science University of New England Armidale NSW 2351 Email: home: mac...@northnet.com.au -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Eduardo M. A. M. Mendes Sent: Sunday, 11 May 2014 11:16 To: David Winsemius

[R] How to change the font size on the title of a xyplot

2014-05-10 Thread Eduardo M. A. M. Mendes
Hello I am using xyplot (lattice) to plot a xts variable. There are 20 variables within the xts variable (index by a datetime vector sampled every 1 minute). The results are very nice and help me to understand what is going on with the data. However since the names (labels of each variable)

Re: [R] How to change the font size on the title of a xyplot

2014-05-10 Thread Eduardo M. A. M. Mendes
Hello Many thanks. par.main.text is the main title (on top of all plots). I need to change the each of the titles in the, say, subplots. Ed On May 10, 2014, at 7:05 PM, David Winsemius dwinsem...@comcast.net wrote: On May 10, 2014, at 2:26 PM, Eduardo M. A. M. Mendes wrote: Hello

Re: [R] How to change the font size on the title of a xyplot

2014-05-10 Thread Eduardo M. A. M. Mendes
Winsemius dwinsem...@comcast.net wrote: On May 10, 2014, at 2:26 PM, Eduardo M. A. M. Mendes wrote: Hello I am using xyplot (lattice) to plot a xts variable. There are 20 variables within the xts variable (index by a datetime vector sampled every 1 minute). The results are very nice

Re: [R] How to change the font size on the title of a xyplot

2014-05-10 Thread Eduardo M. A. M. Mendes
library(zoo); library(lattice); a=matrix(runif(100),25,4); b=zoo(a,seq(1,25)); names(b)=c(How to change the font size?,2,3,4); xyplot(b) Ed On May 10, 2014, at 9:52 PM, David Winsemius dwinsem...@comcast.net wrote: On May 10, 2014, at 5:47 PM, Eduardo M. A. M. Mendes wrote: Yes, you

Re: [R] How to change the font size on the title of a xyplot

2014-05-10 Thread Eduardo M. A. M. Mendes
cex=0.85 did the job for me. many thanks Ed On May 10, 2014, at 10:13 PM, David Winsemius dwinsem...@comcast.net wrote: On May 10, 2014, at 6:06 PM, Eduardo M. A. M. Mendes wrote: library(zoo); library(lattice); a=matrix(runif(100),25,4); b=zoo(a,seq(1,25)); names(b)=c(How

[R] Building package problem

2011-11-08 Thread Eduardo M. A. M. Mendes
Dear R-users I am trying to recompile a CRAN package on Windows 32. Rtools for 2.14 (that is the version I am running) and miktex were sucessfully installed on my machine. Problems: a) hydroGOF is a CRAN package, but R CMD check does not work on it. C:\Users\eduardo\Documents\R_tests2R CMD

[R] Strange error msg when plotting a graphics

2011-10-04 Thread Eduardo M. A. M. Mendes
Dear R-Users I have come across the error that apparently has nothing to do with command itself. Here is the error (w - matrix (or vector) e testXaxis - dates). plot(data.frame(testXaxis,w),col=blue,ylab=Q, [m3/s],xlab=Data, + main=Free-run - Modelo NARX MISO - Test Data) Error in

Re: [R] Regression - how to deal with past values?

2011-08-16 Thread Eduardo M. A. M. Mendes
Yes, I have. As far as R packages go I found two packages: forecast (only deals with linear stuff) and tsDyn (deals with nonlinear models but considers no input). Cheers Ed On Aug 15, 2011, at 10:06 PM, Comcast wrote: Have you done any searching (with for instance the term forecast)? If so

Re: [R] Sweave - landscape figure

2011-08-05 Thread Eduardo M. A. M. Mendes
Department of Agronomy and Soil Science University of New England ARMIDALE NSW 2351 Email: home mac...@northnet.com.au At 05:58 05/08/2011, you wrote: On 04/08/2011 3:40 PM, Eduardo M. A. M. Mendes wrote: Dear R-users I am trying to understand how Sweave works

[R] Sweave - landscape figure

2011-08-04 Thread Eduardo M. A. M. Mendes
Dear R-users I am trying to understand how Sweave works by running some simple examples. In the example I am working with there is a chunk where the R-commands related to plotting a figure are placed. When running R CMD Sweave … , pdflatex the output is a portrait figure. I wonder whether

Re: [R] Rcompression on MAC - where is it?

2011-07-25 Thread Eduardo M. A. M. Mendes
Hi there Yes, I am sure. I managed to compile rcompression and the package is now available. Many thanks Ed On Jul 24, 2011, at 7:17 PM, Henrik Bengtsson wrote: Hi. On Tue, Jul 12, 2011 at 5:40 PM, Eduardo M. A. M. Mendes emammen...@gmail.com wrote: Hello I need to run an r-file

[R] How to convert number (matlab) to date

2011-07-16 Thread Eduardo M. A. M. Mendes
Hello I am new to R and I need to convert some dates (numeric format by matlab) to actual dates in R. For instance, Matlab - 730456 - datestr(730456) ans = 02-Dec-1999 R - library(zoo) as.Date(730456) [1] 3969-12-03 I don't not mind the output format but it needs to be right. Many

Re: [R] Rcompression on MAC - where is it?

2011-07-13 Thread Eduardo M. A. M. Mendes
dalgaard wrote: On Jul 13, 2011, at 03:04 , David Winsemius wrote: On Jul 12, 2011, at 8:40 PM, Eduardo M. A. M. Mendes wrote: Hello I need to run an r-file that works on Windows on MAC. Does that mean you are using a virtual box to run Windoze on Mac hardware? More likely, he

[R] Rcompression on MAC - where is it?

2011-07-12 Thread Eduardo M. A. M. Mendes
Hello I need to run an r-file that works on Windows on MAC. The first lines of the file are: library(R.matlab) library(Rcompression) Somehow I cannot find where Rcompression is. Am I missing something? Many thanks Ed __ R-help@r-project.org

[R] An example on how to use neuralnet to predict values

2011-03-13 Thread Eduardo M. A. M. Mendes
Hello I am new to R and wonder whether someone out there could send me an example on how to use the package neuralnet to fit a model to data, following the usual procedure, that is, fitting the model using the training set and then using the validation set to check the model. Moreover, the