Re: [R] R-help Digest, Vol 121, Issue 5

2013-03-26 Thread Kerry
/2013 10:09 AM, Kerry wrote: It seems within the last ~3 months Ive been having issues with writing text or csv files from a R data frame.  The problem is multifold and it is hard to filter  out what is going on and where the problem is.  So, Im hoping someone else has come across this and may

Re: [R] Mysterious issues with reading text files from R in ArcGIS and Excel

2013-03-05 Thread Kerry
I appreciate the help and suggestions.  I was afraid that this question would be considered off topic, but thought I would give it a try to see if anyone else gets these results from R output files.  As I do not know what a hex editor or hexbin are I guess I will not be able to continue this

[R] Mysterious issues with reading text files from R in ArcGIS and Excel

2013-03-04 Thread Kerry
It seems within the last ~3 months Ive been having issues with writing text or csv files from a R data frame.  The problem is multifold and it is hard to filter  out what is going on and where the problem is.  So, Im hoping someone else has come across this and may provide insight.   My

Re: [R] Mysterious issues with reading text files from R in ArcGIS and Excel

2013-03-04 Thread Kerry
, Kerry wrote: It seems within the last ~3 months Ive been having issues with writing text or csv files from a R data frame.  The problem is multifold and it is hard to filter  out what is going on and where the problem is.  So, Im hoping someone else has come across this and may provide insight

Re: [R] Mysterious issues with reading text files from R in ArcGIS and Excel

2013-03-04 Thread Kerry
generated from using the write.table or write.csv. Any thoughts at to explain why I get 2 new columns of data in either the CSV format or the TXT format?   ~K On 04/03/2013 10:52 AM, Kerry wrote: Here's the first 5 lines of my dataset: structure(list(id

[R] Help understanding cutree used for Dunn Index

2011-12-08 Thread Kerry
Basic question: Is it correct to assume that when using cutree to set the # clusters (say k=4), cutree determines the clusters by the largest distances among all potential clusters? I've read the R help for cutree and am using it to define the number of groups to obtain Dunn Index scores (using

Re: [R] Scatterplot with the 3rd dimension = color?

2011-10-21 Thread Kerry
If it would help get any assistance with my issue, here's another method I'm trying (using R sample data): ggplot(mtcars, aes(disp)) + geom_point(aes(y = mpg, colour = qsec))+ scale_colour_gradient(low=yellow, high=green)+ geom_point(aes(y = cyl, colour = qsec))+

Re: [R] Scatterplot with the 3rd dimension = color?

2011-10-21 Thread Kerry
subscribe throughhttp://had.co.nz/ggplot2/(look for the ggplot2 mailing list near the top of the page). The list archives are accessible through the same link. HTH, Dennis On Thu, Oct 20, 2011 at 12:25 PM, Kerry kbro...@gmail.com wrote: Can someone please help me out

Re: [R] Scatterplot with the 3rd dimension = color?

2011-10-21 Thread Kerry
Beautiful! It works perfectly, thanks! kb On Oct 21, 7:42 am, Jim Lemon j...@bitwrit.com.au wrote: On 10/21/2011 06:25 AM, Kerry wrote: Can someone please help me out with this? The ggplot2 suggestion works great but I've spent a few days trying to figure out how to plot 2 variables

Re: [R] Scatterplot with the 3rd dimension = color?

2011-10-20 Thread Kerry
+ scale_colour_gradient(low=green, high=yellow) I've been trying to get long format working but it just doesn't make any sense to me. Thanks, kb On Oct 17, 3:10 pm, Kerry kbro...@gmail.com wrote: Yes, the qplot works great, but do you know how to allow for multiple plots? I want one variable to be plotted say

Re: [R] Scatterplot with the 3rd dimension = color?

2011-10-17 Thread Kerry
Thanks, I consider all of those options and tried some, but the z=color gradient seems the best option for my data. kb On Oct 2, 10:42 pm, Ben Bolker bbol...@gmail.com wrote: Duncan Murdoch murdoch.duncan at gmail.com writes: On 11-10-02 1:11 PM, Kerry wrote: I have 3 columns

Re: [R] Scatterplot with the 3rd dimension = color?

2011-10-17 Thread Kerry
: Duncan Murdoch murdoch.duncan at gmail.com writes: On 11-10-02 1:11 PM, Kerry wrote: I have 3 columns of data and want to plot each row as a point in a scatter plot and want one column to be represented as a color gradient (e.g. larger  values being more red). Anyone know

Re: [R] Scatterplot with the 3rd dimension = color?

2011-10-17 Thread Kerry
:42 pm, Ben Bolker bbol...@gmail.com wrote: Duncan Murdoch murdoch.duncan at gmail.com writes: On 11-10-02 1:11 PM, Kerry wrote: I have 3 columns of data and want to plot each row as a point in a scatter plot and want one column to be represented as a color gradient (e.g. larger

Re: [R] Scatterplot with the 3rd dimension = color?

2011-10-17 Thread Kerry
On Oct 2, 10:42 pm, Ben Bolker bbol...@gmail.com wrote: Duncan Murdoch murdoch.duncan at gmail.com writes: On 11-10-02 1:11 PM, Kerry wrote: I have 3 columns of data and want to plot each row as a point in a scatter plot and want one column to be represented as a color gradient

[R] Scatterplot with the 3rd dimension = color?

2011-10-02 Thread Kerry
I have 3 columns of data and want to plot each row as a point in a scatter plot and want one column to be represented as a color gradient (e.g. larger values being more red). Anyone know the command or package for this? Thanks, KB __

Re: [R] Scatterplot with the 3rd dimension = color?

2011-10-02 Thread Kerry
Yes, perfect! This I can work with. Thanks, KB On Oct 2, 3:55 pm, Duncan Murdoch murdoch.dun...@gmail.com wrote: On 11-10-02 1:11 PM, Kerry wrote: I have 3 columns of data and want to plot each row as a point in a scatter plot and want one column to be represented as a color gradient

[R] joining data based upon a moving time window?

2011-04-11 Thread Kerry
I have weather data that was recorded every hour, and location data (X,Y) that was recorded every 4 hours. I want to know what the temperature was at location X,Y. The weather data isn't exactly at the same time. So, I have written this loop for every location to scan through the

Re: [R] Kolmogorov Smirnov Test

2010-11-11 Thread Kerry
-boun...@r- project.org] On Behalf Of Kerry Sent: Wednesday, November 10, 2010 9:23 PM To: r-h...@r-project.org Subject: [R] Kolmogorov Smirnov Test I'm using ks.test (mydata, dnorm) on my data. I know some of my different variable samples (mydata1, mydata2, etc) must be normally

Re: [R] Kolmogorov Smirnov Test

2010-11-11 Thread Kerry
it, but I didn't want to assume any steps that the R version of k-s test takes). I plan to explore the ideas and run the simulations you sent in full over the weekend. Thanks again! Kerry On Nov 11, 12:05 pm, Greg Snow greg.s...@imail.org wrote: Consider the following simulations (also fixing

[R] Kolmogorov Smirnov Test

2010-11-10 Thread Kerry
I'm using ks.test (mydata, dnorm) on my data. I know some of my different variable samples (mydata1, mydata2, etc) must be normally distributed but the p value is always 2.0^-16 (the 2.0 can change but not the exponent). I want to test mydata against a normal distribution. What could I be doing