similar to: Package to do Bode Plots and analysis?

Displaying 20 results from an estimated 80000 matches similar to: "Package to do Bode Plots and analysis?"

2009 Nov 26
1
Does nargin and nargout work with R functions?
I am porting some MATLAB functions over to R and hopefully into a package, so I am curious if nargin and nargout work with R functions. Here is kind of an example of where I need to head in order to port "control-1.0.11" from Octave over to R. The Octave "control-1.0.11" package has the capability to produce bode plots of transfer functions. I hope to post this package once
2008 Feb 07
1
Bode plots in ggplot2
Hello, I am trying to figure out how to make a bode plot (a.k.a. bode diagram) in ggplot2. An example of such a diagram can be found here: http://meweb.ecn.purdue.edu/~me475/ctm/freq/bode2.GIF The example above shows the gain and phase characteristic of a linear system. In my case, I would like to compare visually several systems on the same diagram. The data in the data frame is arranged
2009 Feb 12
3
Website, book, paper, etc. that shows example plots of distributions?
By any chance is any one aware of a website, book, paper, etc. or combinations of those sources that show plots of different distributions? After reading a pretty good whitepaper I became aware of the benefit of I the benefit of doing Q-Q plots and histograms to help assess a distribution.   The whitepaper is called: "Univariate Analysis and Normality Test Using SAS, Stata, and SPSS*" ,
2009 Aug 04
5
Stacked plots with common x-axis and different y-axis
Is there a place that shows how to create two plots that are stacked on top of each other where they share a common x-axis scale, but have differnt y-axis scale? Say have the following data: airquality Stack plot(airquality$Day, airquality$Wind) on top of plot(airquality$Day, airquality$Temp). I am interested in stacking the two on top of each other with no seam, or plotting the two lines with
2009 Nov 20
6
How to add a top level title to multiple plots
How can I add an overall plot title to these four plots? I would like to have something that says, "Distribution Comparisons": par(mfrow = c(2, 2)) # Plot 1 plot(rnorm(10),type="l",col="red") title(main = list(paste("Normal"), ????????????????????????? col="black", cex = 1.0)) # Plot 2 plot(rpois(10,
2020 Oct 08
0
unable to plot bode - phase with control package
a) What is so difficult about the idea that this list is about R, not theory? There do exist forums about control theory (e.g. engineering.stackexchange.com) b) Using [-pi,+pi) is not "wrong"... it is numerically more precise, though it may not convey what you would prefer to convey. c) The general case with poles and zeroes is more complicated than just adding the order of your
2020 Oct 08
2
unable to plot bode - phase with control package
Dear All I hope my question is relevant on this forum, else very sorry for the disturbance I want to simply plot a bode diagram of a siso model using the 'bodeplot' command in the control package fail due to error in 'issiso' evaluation... Error in if (issiso(sys)) {: then I try by myself some retro-engineering :) the problem is when I use H <- freqresp(syst, w) mag =
2010 Nov 21
1
Alternatives to image(...) and filled.contour(...) for 2-D filled Plots
By any chance are there any alternatives to image(...) and filled.contour(...) I used Rseek to search for that very topic, but didn't turn over any leads... http://www.rseek.org/?cx=010923144343702598753%3Aboaz1reyxd4&newwindow=1&q=alternative+to+image+and+filled.contour&sa=Search&cof=FORID%3A11&siteurl=www.rseek.org%252F#1238 I'm sure there are some out there, but
2009 May 26
2
Problem accessing "row number" from subset on a dataframe
I would like to use the "row number" information returned from performing a subset command on a dataframe. For example, I would like to automatically delete some rows from a dataframe if they match a criteria. Here is my example below. data(airquality) names(airquality) subset(airquality, airquality$Month == 6) Now how do I delete the row numbers returned automatically? I
2009 Feb 04
5
Target Plot?
I've done a little snooping around the R Gallery Site (http://addictedtor.free.fr/graphiques/) and the "Statistics with R" site (http://zoonek2.free.fr/UNIX/48_R/all.html), but I can't seem to find what I'm looking for.  Here is the type of plot I would like to draw: (1) 2-D three axis plot where each axis is separated by 120-degrees (would be great if the number of axis
2011 Nov 23
2
Suggested alternative to rgdal for Mac for making bubble plots with R 2.14?
I'm new to making bubble plots with R, so I was going to try the following: https://stat.ethz.ch/pipermail/r-sig-geo/2009-August/006258.html Unfortunately, it looks like rgdal is not part of 2.14.  I'm not sure if it was the mirror I selected or something else is going on. > install.packages("rgdal") --- Please select a CRAN mirror for use in this session --- Warning
2009 Aug 01
1
R Package That Contains International Geomagnetic Reference Field (IGRF)
By any chance is anyone aware of an R package that contains a representation of the International Geomagnetic Reference Field (IGRF)? http://www.ngdc.noaa.gov/IAGA/vmod/igrf.html I've tracked down some Fortran and C code for the IGRF-10, and possibly IGRF-11, and was hoping to avoid an awkward port. Thanks again for any feedback and leads provided.
2009 Jun 04
3
Understanding R Hist() Results...
Think I'm missing something to understand what is going on with hist(...) http://n2.nabble.com/What-is-going-on-with-Histogram-Plots-td3022645.html For my example I count 7 unique years, however, on the histogram there only 6. It looks like the bin to the left of the tic mark on the x-axis represents the number of entries for that year, i.e. Frequency. I guess it looks like the bin for
2018 Nov 23
1
[tryExcept] New try Function
Hi Emil, First, thanks for the response. As you mentioned, a lot of times tryCatch does the work, as you can return a value. However, sometimes it is useful to assign several variables when an error occurs. You could do it with <<-, but I prefer to reduce it's usage unless completely necessary. I guess that the attachment was missed in the moderation. Here it is the function:
2009 Mar 24
2
Executing an external executable from within R?
For example, from within an R script I would like to be able to launch NotePad.exe. Is there an R call for launching Notepad.exe from within R? I've tried the following, but they don't seem to work: > system(paste('"C:/WINDOWS/NOTEPAD.exe"'), wait = FALSE) > system("C:/WINDOWS/NOTEPAD.exe", wait = FALSE) > system("NOTEPAD", wait = FALSE)
2010 May 22
1
Creating the Firefox Download Analytics Map in R
By any chance has anyone put together the R code for reproducing the Firefox Downloads Analytics Map in R? Here is a link to an example: http://www.knitwareblog.com/wp-content/uploads/2008/06/firefox-3-download-map.jpg I'll try to track down the inputs, but I am interested in putting the code to produce this or something similar. Any hints about the best packages, or references to R Blog
2010 May 12
2
Whiskers on the default boxplot {graphics}
How are the lower/upper whiskers defined in the default version of boxplot {graphics}? I tried help(boxplot) and searching www.rseek.org, but I was unable to determine an absolute answer. I checked out the definition of boxplot according to Wikipedia (http://en.wikipedia.org/wiki/Box_plot), but it also had several approaches listed for how the whiskers could be determined, so I'm just
2009 Sep 25
2
grep or other complex string matching approach to capture necessary information...
Say I have the following data: house_number<-floor(runif(100, 200, 600)) water_evaluation<-c("No water damage", "Water damage", "Water On", "Water off", "water pipes damaged", "leaking water") water_evaluation_selection<-floor(runif(100, 1,6)) house_info<-data.frame(water_evaluation[water_evaluation_selection],
2010 Jan 07
2
Debugging issues encountered during the "R CMD check" process
I read through the "Writing R Extensions" and the "Debugging in R" website (http://www.stats.uwo.ca/faculty/murdoch/software/debuggingR/), looking for some hints about how to solve the issue of debugging problems encountered during the "R CMD check" process, but nothing seems to be mentioned about addressing issues encountered. Specifically, I am working with the R
2009 Feb 06
1
R Package to Dir structure and Folder Analysis?
I'm using R on Windows and wondering if there is an R package that allows you to do folder structure analysis.   Specifically, I would like to grab the name, file size, type, and creation data of files within a folder and then to means and sigmas on the file size and creationdation date.   Thank you again for your insights.     [[alternative HTML version deleted]]