similar to: summing array elements

Displaying 20 results from an estimated 500 matches similar to: "summing array elements"

2008 May 05
1
Problems using rfImpute
Hello R-user! I am running R 2.7.0 on a Power Book (Tiger). (I am still R and statistics beginner) I tried rfImpute (randomForest) and as far as I understood should it replace NA`s using a proximity matrix: > set.seed(100000) > Subset5Imputed<-rfImpute(Sex~., data=Subset5) ntree OOB 1 2 300: 11.78% 12.36% 11.21% ntree OOB 1 2 300: 12.07% 12.64%
2008 May 05
1
Count data in random Forest
Hello R-user! I am running R 2.7.0 on a Power Book (Tiger). (I am still R and statistics beginner) I try to find the most important variables to divide my dataset as given in a categorical variable using randomForest. Is randomForest() able to deal with count data? Or is there no difference because only the ranks are used in the trees? Thanks in advance Birgit Birgit Lemcke Institut f?r
2010 Jul 15
1
Warning message in summary of PGLM
Dear Sir, When requesting the summary of pglm analyses in R, I encounter repeatedly the following warning message: "Warning message: In pf(Fstat, object$k - 1, object$n - object$k, ncp = 0, lower.tail = FALSE, : full precision was not achieved in 'pnbeta'" This message appears both with the pglm estimate of Lambda and with Lambda set to 0. Could you tell me what
2012 Oct 14
1
plotting principal components on geographic map
Dear all, I have a dataset representing several geographical points (locations), each one having a specific value after performing a PCA. Now I'm trying to understand how to separately represent on a geographic map (of Europe) the pattern of PC1,2, ecc.with colors (e.g.heatmap) I have to add that the dataset includes relatively few points. Therefore, I would also like to interpolate the values
2012 Sep 27
3
problem with nls starting values
Hi I would like to fit a non-linear regression to the follwoing data: quantiles<-c(seq(.05,.95,0.05)) slopes<-c( 0.000000e+00, 1.622074e-04 , 3.103918e-03 , 2.169135e-03 , 9.585523e-04 ,1.412327e-03 , 4.288103e-05, -1.351171e-04 , 2.885810e-04 ,-4.574773e-04 , -2.368968e-03, -3.104634e-03, -5.833970e-03, -6.011945e-03, -7.737697e-03 , -8.203058e-03, -7.809603e-03, -6.623985e-03,
2007 Jun 28
5
Repeat if
Hello, (Power Book G4, Mac OS X, R 2.5.0) I would like to repeat the function range for 85 Vectors (V1-V85). I tried with this code: i<-0 > repeat { + i<-i+1 + if (i<85) next + range (Vi, na.rm = TRUE) + if (i==85) break + } I presume that the Vi is wrong, because in this syntax i is not known as a variable. But I donĀ“t know how to say that it is a variable here. Would be nice if
2002 Oct 31
7
Symbols for male/female
Dear all, I would like to use the biological symbols for male and female as plotting symbols in a scatterplot (ideally filled and non-filled). R does not seem to have these symbols using pch= in plot() nor are they implemented via expression() or at least I did not find them. I found that the symbols are e.g. available in the wasysym and the marvosym package in LaTeX. I have coded two very rough
2002 Oct 31
7
Symbols for male/female
Dear all, I would like to use the biological symbols for male and female as plotting symbols in a scatterplot (ideally filled and non-filled). R does not seem to have these symbols using pch= in plot() nor are they implemented via expression() or at least I did not find them. I found that the symbols are e.g. available in the wasysym and the marvosym package in LaTeX. I have coded two very rough
2007 Dec 19
3
median of binned values
Dear list, I have a vector (array, table row, whatever is best) of frequency values for categories (or bins), and I need to find the median category. Trivial to do by hand, but I was wondering if there is a means to do it in R in an elegant way. The obvious medioan(vector) returns the median frequency for the binns, and that is not what I want. i.e,: freq cat1 1 cat2 10
2011 Jul 28
3
smooth scatterplot and geo map
Hello everybody, I'm trying to understand how to draw a smoothed scatterplot on a geographic map with R. Have a dataframe with point locations (long, lat) and was able to simply plot these points on a shp map by using the maptools package. However, instead of having simply the raw points on the map, I would like to have a "smoothed" scatterplot of the same superimposed on the map.
2008 Aug 11
1
Unwanted carriage returns storing dataframes with dbWriteTable
If I save a dataframe with a character-typed last column to a relational database with dbWriteTable, the values in the last column of the resulting table in the database will have a '\r' (carriage return) appended. If I read back the dataframe with dbReadTable the last column in the resulting dataframe has also '\r' appended (see protocol below). Setting or unsetting sql-mode
2016 May 25
2
LLVM-HPC2016 Workshop at SC16 - Call for papers
CALL FOR PAPERS ================================================================= LLVM-HPC2016: The Third Workshop on the LLVM Compiler Infrastructure in HPC http://llvm-hpc3-workshop.github.io/ November 14th, 2016, Salt Lake City, UT In conjunction with the 2016 ACM/IEEE Supercomputing Conference
2015 May 30
2
[LLVMdev] LLVM-HPC2 Workshop at SC'15 - Call for papers
CALL FOR PAPERS ================================================================= LLVM-HPC2: The Second Workshop on the LLVM Compiler Infrastructure in HPC http://llvm-hpc2-workshop.github.io/ November 15th, 2015, Austin, TX In conjunction with the 2015 ACM/IEEE Supercomputing Conference (SC'15)
1998 Dec 03
1
image ()
Dear all, I am working with R Version 0.62.2 (July 10, 1998) on a SuSE Linux 5.2. I have troubles in understanding the function image (). Can someone enlighten me? I'd like to draw a square image-plot (with every little part of the image a square as well) and add some (straight) lines to it. Also, I create an empty z matrix which I need to fill step by step. Thus I tried to find out how
2006 Apr 23
1
Comparing GLMMs and GLMs with quasi-binomial errors?
Dear All, I am analysing a dataset on levels of herbivory in seedlings in an experimental setup in a rainforest. I have seven classes/categories of seedling damage/herbivory that I want to analyse, modelling each separately. There are twenty maternal trees, with eight groups of seedlings around each. Each tree has a TreeID, which I use as the random effect (blocking factor). There
2020 Sep 08
1
LLVM-HPC2020 Workshop at SC20 - Call for papers - Deadline Extended
Hi, everyone, The paper submission deadline for this year's LLVM in HPC workshop has been further extended to September 14th (AoE). We're looking for a few additional submissions, so if you have anything that could be submitted as a paper by the beginning of next week, please take advantage of this opportunity. If you have any questions, please let me know. SC20 is now a virtual
2017 May 30
1
LLVM Social - Paris: June 14th, 2017
The next LLVM social in Paris will happen on June 14th, 2017. Everyone interested in LLVM, Clang, lldb, Polly, lld, ... is invited to join. Event details, including registration (free but mandatory) at http://www.meetup.com/LLVM-Clang-social This edition will be particularly busy (and interesting !) as we are delighted to welcome 3 guest speakers: - Hal Finkel (Argonne National
2014 May 30
2
[LLVMdev] LLVM-HPC Workshop at SC'14 - Call for papers
CALL FOR PAPERS ================================================================= LLVM-HPC: The LLVM Compiler Infrastructure in HPC http://llvm-hpc-workshop.github.io/ November 17th, 2014, New Orleans In conjunction with the 2014 ACM/IEEE Supercomputing Conference (SC'14)
2005 Apr 05
1
summing columns using partial labels
I have a dataset of the form Year tosk.fai tosk.isd tosk.gr ....... tosk.total hysa.fai hysa.isd ... and so on. I want to sum all the columns using the first four letters in the columns label(e.g. 'tosk', 'hysa' etc.). How can you do that? Also, the sums should be without the '.total'column (e.g. 'tosk.total') as this serves as a check that
2005 Oct 15
14
OT: Anyone Using a Time Logger?
I have multiple projects and it''s important for me to track time by client and by project. There''s a Windows application that allows me to do this, but I''m looking for a cross-platform solution. I looked at ConsultComm but it wouldn''t install on my Mac. Rather than rewriting what seems like a commonly-required app, I wondered if anyone else had something they