Re: [R] Redundancy canonical analysis plot problem in 3D using VEGAN, RGL, SCATTERPLOT3D and SFSMISC

2017-07-18 Thread David L Carlson
We need to keep the discussion on the list. When I run your code, there are several problems. strain.data <- read.xlsx("Dee rhiz.xlsx", sheetName ="strain", header = T, row.names = 1) str(strain.data) # lists 9 columns at the end with all NAs strain.data1 <- (strain.data, sqrt.dist = TRUE) #

Re: [R] lme4 question

2017-07-18 Thread Bert Gunter
Better to post on the mixed models list, r-sig-mixed-models rather than here. And post in plain text,not html. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County"

Re: [R] lme4 question

2017-07-18 Thread David Winsemius
Not really the correct mailing list. Please read the Posting Guide and re-submit a plain text version to R-SIG-mixed-models https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models -- David. > On Jul 18, 2017, at 3:43 PM, Ahreum Maeng wrote: > > Hello, > > I am trying

[R] lme4 question

2017-07-18 Thread Ahreum Maeng
Hello, I am trying to run the following model: domi ~ type*ratio+((1|id)+(0+type|id)+(1|face_id)+(1|car_id)) My question is whether the data coding for "face_id" and "car_id" variables is correct. As you see on the following sample data structure, "type" is repeated measure where 1=car, 0=face.

[R] STL - time series seasonal decomposition sensitive to data points?

2017-07-18 Thread Eridk Poliruyt
Hi all, I am trying to analyse a time series data and want to make trend-season decomposition using STL approach in R. However I found the decomposition result seems to be sensitive to data points even with the robust option. More specifically, suppose I have a few years of monthly data. Using

Re: [R] Creating/Reading a complex string in R

2017-07-18 Thread Olivier Crouzet
On Tue, 18 Jul 2017 22:35:17 +0530 Christofer Bogaso wrote: > Thanks for your pointer. > > Is there any way in R how to replace " ' " with " /' " > programmatically? > Hi, perhaps you should simply read the content of a corresponding text file? There's a simple

[R] linear trend JJAS spatial data (1979-2005)

2017-07-18 Thread Sourabh Bal
Hello, I have a netcdf file for summer monsoon rainfall gridded data over Indian region. How can I find the linear trend in R? regards Sourabh Bal Dr. Sourabh Bal Assistant Professor Department of Physics Swami Vivekananda Institute of Science and Technology Kolkata 700145

Re: [R] Creating/Reading a complex string in R

2017-07-18 Thread John McKown
On Tue, Jul 18, 2017 at 12:05 PM, Christofer Bogaso < bogaso.christo...@gmail.com> wrote: > Thanks for your pointer. > > Is there any way in R how to replace " ' " with " /' " programmatically? > > My actual string is quite lengthy, so changing it manually may not be > possible. I am aware of

Re: [R] Creating/Reading a complex string in R

2017-07-18 Thread Christofer Bogaso
Thanks for your pointer. Is there any way in R how to replace " ' " with " /' " programmatically? My actual string is quite lengthy, so changing it manually may not be possible. I am aware of gsub() function, however not sure I can apply it directly on my original string. Regards, On Tue, Jul

Re: [R] Creating/Reading a complex string in R

2017-07-18 Thread John McKown
Try: String = '

Re: [R] Creating/Reading a complex string in R

2017-07-18 Thread Richard M. Heiberger
your string opens with single quote ', and has a single quote ' in the middle. R sees that as the end of the string. You will need to escape the interior ' with \' See ?Quotes for details. On Tue, Jul 18, 2017 at 12:48 PM, Christofer Bogaso wrote: > Hi again, > >

[R] Creating/Reading a complex string in R

2017-07-18 Thread Christofer Bogaso
Hi again, Let say I have below string (arbitrary)

Re: [R] readLines without skipNul=TRUE causes crash

2017-07-18 Thread Martin Maechler
> Anthony Damico > on Sun, 16 Jul 2017 06:40:38 -0400 writes: > hi, the text file that prompts the segfault is 4gb but only 80,937 lines >> file.info( "S:/temp/crash.txt") > size isdir mode mtime > ctime atime exe >

Re: [R] Redundancy canonical analysis plot problem in 3D using VEGAN, RGL, SCATTERPLOT3D and SFSMISC

2017-07-18 Thread Jeff Newmiller
I don't know much about what you are doing with your data, but I do know that your example is not reproducible [1][2][3]. It is very important to be clear both to yourself and to anyone you ask to help you what your data are like. Details like what the column names are, whether they are

Re: [R] A problem with order() function in R

2017-07-18 Thread William Dunlap via R-help
The definition of 'order' is that x[order(x)] is in increasing order. E.g., > x <- c(19,17,23,11) > order(x) [1] 4 2 1 3 > x[order(x)] [1] 11 17 19 23 You may be looking for what 'rank' does: > rank(x) [1] 3 2 4 1 (If x has no ties, then rank(x) is order(order(x)).) Bill Dunlap

Re: [R] Redundancy canonical analysis plot problem in 3D using VEGAN, RGL, SCATTERPLOT3D and SFSMISC

2017-07-18 Thread David L Carlson
We don't have enough information to replicate your results, but the warning in the output is suggestive: "Some constraints were aliased because they were collinear (redundant)". Are some of your columns perfectly correlated with other columns? This could easily happen if there are more columns

Re: [R] Help-Multi class classification for large datasets

2017-07-18 Thread Bert Gunter
You may get some help here, but you should also do your own homework by looking at the CRAN Machine Learning Task view here: https://cran.r-project.org/web/views/MachineLearning.html Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking

[R] Redundancy canonical analysis plot problem in 3D using VEGAN, RGL, SCATTERPLOT3D and SFSMISC

2017-07-18 Thread Sanjay Kumar Jaiswal
Hello Sir I am getting problem in plotting in CCA . Could you please help me? I wrote the below command but I don't know why it is taking only first 5 env data rather than all 9. > strain.data <- read.xlsx("Dee rhiz.xlsx", sheetName="strain", header = T, > row.names = 1) > env.data <-

[R] Help-Multi class classification for large datasets

2017-07-18 Thread Ranjana Girish
Hai all, We are working on Multi-class Classification. Currently up to 1.1 million records Ranger package in R is able to handle. Training time on 128 GB RAM is 12 days, which is not a practically feasible method to proceed further. In future we will have dataset of dimension 10 million records,