Re: [R] R Commander QQ Plot with triangular distribution

2011-03-09 Thread Richard and Barbara Males
Wow, quick response, works perfectly, just as needed. Thanks to both of you for pointing me in the right direction, and for your contributions to the R community. Dick On Wed, Mar 9, 2011 at 11:21 AM, Peter Ehlers wrote: > On 2011-03-09 07:53, Richard and Barbara Males wrote: >> >

Re: [R] R Commander QQ Plot with triangular distribution

2011-03-09 Thread Richard and Barbara Males
gt; > John Fox > Senator William McMaster >  Professor of Social Statistics > Department of Sociology > McMaster University > Hamilton, Ontario, Canada > http://socserv.mcmaster.ca/jfox > > > > >> -Original Message- &g

[R] R Commander QQ Plot with triangular distribution

2011-03-08 Thread Richard and Barbara Males
I am attempting to use the R Commander Graphs Quantile-Comparison functionality on a dataset, to compare with a triangular distribution. I have the package triangle. My question is on the syntax of how to specify the parameters of the theoretical distribution in the Parameters field of the dial

Re: [R] generating correlated random variables from different distributions

2010-05-02 Thread Richard and Barbara Males
1.408.8111 > > >> -Original Message- >> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- >> project.org] On Behalf Of Richard and Barbara Males >> Sent: Thursday, April 29, 2010 9:18 AM >> To: r-help@r-project.org >> Subject: [R] generating

[R] generating correlated random variables from different distributions

2010-04-29 Thread Richard and Barbara Males
I need to generate a set of correlated random variables for a Monte Carlo simulation. The solutions I have found (http://www.stat.uiuc.edu/stat428/cndata.html, http://www.sitmo.com/doc/Generating_Correlated_Random_Numbers), using Cholesky Decomposition, seem to work only if the variables come fro

[R] determine upper convex hull, 2-dimensional case

2010-03-22 Thread Richard and Barbara Males
For an environmental planning example that involves looking at the relative efficiencies of one plan over another, I need to determine the pareto-efficient plans (which I have done), and then, within that set of plans, determine the convex hull representing the outer upper boundary of those points.

[R] fit.dist gnlm question, NaN and Inf results

2008-07-25 Thread Richard and Barbara Males
I am attempting to fit discrete data (daily counts of arrivals of recreational vessels at locks on a river) using the fit.dist package. Some distributions return values of NaN and Inf for certain situations, an example with Inf values is shown below. # of vessels:

Re: [R] flow map lines between point pairs (latitude/longitude)

2008-07-02 Thread Richard and Barbara Males
df2VisitTrips[i, c(5, 7)], df2VisitTrips[i, c(4, 6)], lwd=0.2 + > df2VisitTrips[i, > 3]/10, col=i+1) > } > > Ray Brownrigg > > On Thu, 03 Jul 2008, Richard and Barbara Males wrote: >> I have a dataset giving traffic between pairs of ports, and the >> lat/lon of each por

[R] flow map lines between point pairs (latitude/longitude)

2008-07-02 Thread Richard and Barbara Males
I have a dataset giving traffic between pairs of ports, and the lat/lon of each port, roughly as follows: sample data as follows > df2VisitTrips[1:4,] Origin Destination NumberOfTrips OriginLatitude OriginLongitude DestinationLatitude DestinationLongitude 1 P1 P16 1

[R] lattice histogram problem with integers values and nint

2008-05-15 Thread Richard and Barbara Males
been puzzling over this for a day. Summary integer variable to use with histogram, 170,000 rows. Value is day of year. Hist works, lattice histogram with nint does not work (spurious spikes in display), lattice histogram using breaks=c(0:365) works fine. Spike values appear to be sum of two adj