[R] Looking to understand GPU acceleration in R

2017-03-02 Thread Andrej Favia
I am a casual user looking to learn about GPU acceleration in R... at a "new to computers" level (do not use overly technical language with me as I will not understand what you are saying). I am on macOS Sierra with an Intel Iris Pro GPU. 1. Can someone produce any simple example in R that uses G

Re: [R] Comparing two groups

2013-10-17 Thread Andrej
glsnow wrote >>From your question it is not clear what your question/concerns really are, > and from what we can see it could very well be that you do not understand > the statistics that you are computing (not just the R implementation). We > ask for a reproducible example because that helps us t

Re: [R] Comparing two groups

2013-10-17 Thread Andrej
>So why not start with some statistical textbook? There are plenty of them available in CRAN. I wasn't implying, that I haven't read any textbook, or didn't do any research. I read some textbooks/Papers/etc. during the research about what to do and came across the wilcox test. I meant to imply th

[R] Comparing two groups

2013-10-14 Thread Andrej
;t quite believe it to be true. Do you have any suggestions how I can handle that problem? Andrej -- View this message in context: http://r.789695.n4.nabble.com/Comparing-two-groups-tp4678190.html Sent from the R help mailing list archive at Nabble.com. ___

[R] Deviance and AIC in weighted NLS

2013-02-12 Thread Andrej-Nikolai Spiess
ow? I tried different stuff, but to no avail. Thanks in advance, -ans ___ Dr. rer. nat. Andrej-Nikolai Spiess Department of Andrology University Hospital Hamburg-Eppendorf Martinistr. 52 20246 Hamburg phone: +49-40-7410-51585 fax: +49-40-7410-51554

[R] Discrepancies in weighted nonlinear least squares

2012-09-19 Thread Andrej-Nikolai Spiess
e enlighten me? Is the standard AIC implementation for 'nls' models not appliccable in case of weighted fitting? Cheers, Andrej ___ Dr. rer. nat. Andrej-Nikolai Spiess Department of Andrology University Hospital Hamburg-Eppendorf Martini

Re: [R] How do I find the apparent magnitude of a galaxy from a FITS file?

2012-08-11 Thread andrej
> > sos::findFn('fits astronomical') >found 4 matches; retrieving 1 page Alright I installed SOS, but in the line below "found 4 matches; retrieving 1 page" R spit out the following: "Error in print.findFn(list(Count = 1, MaxScore = 1, TotalScore = 1, Package = "FITSio", : could not find fun

Re: [R] How do I find the apparent magnitude of a galaxy from a FITS file?

2012-08-11 Thread andrej
[1] Oh, that kind of duplicate... I thought you meant duplicate in that someone else had already asked how to use R to analyze FITS images. Well every time I post, I get the "Mailing List Subscription Reminder." I suppose you want me to just click on "I'm already a subscriber" and just post here th

Re: [R] How do I find the apparent magnitude of a galaxy from a FITS file?

2012-08-10 Thread andrej
I put "sos::findFn('fits')" into the search engine and it returned 0 results, so how are you finding this? Also: Why was my mailing list message rejected as a duplicate? I don't even understand how these underground subscriptions work, am I off the mailing list because it's a duplicate? -- View

[R] How do I find the apparent magnitude of a galaxy from a FITS file?

2012-08-10 Thread andrej
Greetings! I am still new to R but have been asked to look at doing astronomy with R. I have a FITS file which contains an optical telescope image (it can be viewed in SAOimageDS9). I need to estimate the magnitude of a galaxy... and eventually other optical sources. How do I find the apparent mag

Re: [R] Checkinstall and R-2.14.0

2011-11-14 Thread Andrej
Thanks for reply, tried as sudo, but error still persist. Andrej __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented

[R] Checkinstall and R-2.14.0

2011-11-14 Thread Andrej Kastrin
`/home/andrej/Downloads/R-2.14.0/m4' make[1]: Nothing to be done for `install'. make[1]: Leaving directory `/home/andrej/Downloads/R-2.14.0/m4' make[1]: Entering directory `/home/andrej/Downloads/R-2.14.0/tools' make[1]: Nothing to be done for `install'. make[1]: Leavin

Re: [R] Automated generation of combinations

2011-09-12 Thread Andrej Blejec
Try this > ltr<-LETTERS[1:3] > unique(apply(expand.grid(ltr,ltr,ltr),1,function(x) > paste("Var",unique(sort(x)),collapse="+",sep=""))) [1] "VarA" "VarA+VarB" "VarA+VarC" "VarA+VarB+VarC" "

Re: [R] RegExp question

2010-06-16 Thread Andrej
Thanks Romain, works like a charm! Thanks David! Best, Andrej On Jun 16, 10:15 pm, Romain Francois wrote: > Le 16/06/10 18:54, Andrej a écrit : > > > > > Thanks David for your fast reply, but now I realized tat "string" is > > of type: > > >> clas

Re: [R] RegExp question

2010-06-16 Thread Andrej
rsicolor (48.0/1.0) | | Petal.Length > 4.9 | | | Petal.Width <= 1.5: virginica (3.0) | | | Petal.Width > 1.5: versicolor (3.0/1.0) | Petal.Width > 1.7: virginica (46.0/1.0) Number of Leaves : 5 Size of the tree : 9 So, the task is to extract the number of leases. And

Re: [R] RegExp question

2010-06-16 Thread Andrej
rror in as.character.default(x) : no method for coercing this S4 class to a vector I think that there should be trivial solution, but... Any further idea? Regards, Andrej On Jun 16, 6:47 pm, David Winsemius wrote: > On Jun 16, 2010, at 12:04 PM, Andrej wrote: > > > Dear all

Re: [R] Is there any function to read genbank flat files.

2010-06-16 Thread Andrej
Hi, I think it's better to ask on Bioconductor mailing list. Regards On Jun 16, 6:19 pm, Fahim Md wrote: > Hi > I am trying to read genbank est flat files. Is there any function in R to do > that. I was looking for something similar to SeqIO.parse(input_handle, > "genbank")  in bioPython that c

[R] RegExp question

2010-06-16 Thread Andrej
how to do that as simple as possible? Thanks in advance for any advice. Regards, Andrej __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html an

[R] FW: How to parse a string (by a "new" markup) with R ?

2010-03-16 Thread Andrej Blejec
g=closing[1], after=after[1])) } # # main part # # split sequence into stems # (stem0 <- getStem("^[.]*>{7}[.]*",Seq,Str)) (stem4 <-getStem("[.]*<{7}[.]*$",Seq,Str)) (str <- substring(Str,nchar(stem0[1])+1,nchar(Str)-nchar(stem4[1]))) (seq <- substring(Seq,nchar(stem0[1])+1,nchar(Seq)

Re: [R] Add lines (contours) to lattice wireframe plot

2010-02-20 Thread Andrej
all wireframe plot wireframe(z~x*y, data = surface.data, contour.data = contour.data, scales = list(arrows = FALSE), aspect = c(1, 0.5), panel.3d.wireframe = my.panel) On Feb 20, 1:24 am, Andrej wrote: > Hi, > > I draw a surface corresponding to bivariate density of independent > variables

[R] Add lines (contours) to lattice wireframe plot

2010-02-19 Thread Andrej
grid(x=seq(from=-3, to=3, length=40), y=seq(from=-3, to=3, length=40)) g$z <- dnorm2d(g$x, g$y) wireframe(z~x*y, data=g) Could you give me some advice how to add lines (i.e., circle) on lattice graphics. Thanks for any suggestion. Best, Andrej __ R

Re: [R] Nonparametric alternative to LDA

2010-02-09 Thread Andrej Kastrin
Classification trees (rpart package), but know too little about your problem... Best, Andrej On Feb 9, 5:50 pm, Robert Lonsinger wrote: > Can anybody recommend a nonparametric alternative to linear discriminant > function that may be available as a package in R? > > C

[R] Hypercube in R

2010-02-08 Thread Andrej Kastrin
Dear all, Does anybody have an idea or suggestion how to construct (plot) 4-dimensional hypercube in R. Thanks in advance for any pointers. Regards, Andrej __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

[R] Solving a nonlinear System of equations

2009-10-11 Thread Andrej Iljitsch Schmelzer
attempted. My intention/endgame is to vary 2 or more of the Parameters and obtain a heatmap out of the resulting stationary points. Best Wishes, Andrej Schmelzer -- http://portal.gmx.net/de/go/dsl02

Re: [R] running a .r script and saving the output to a file

2009-07-26 Thread Andrej Kastrin
Check out: http://akastrin.wordpress.com/category/r/ David Riebel wrote: Hello, I am running R under Ubuntu 8.04. I am trying to do numerous linear fits to various subsets of my data set. I am having trouble convincing R to send the output from these fits to text files from within a script. W

Re: [R] Superstring in text()

2009-07-26 Thread Andrej Kastrin
Sorry, there should be a caret symbol (^) between "R" and "2". Murray Pung wrote: I'd like to paste a superstring with a number in an object. Thanks for any help. Murray mycor <- cor(1:10,1:10) plot(1:10,1:10) text(8,2,paste(expression(R^2)," = ",mycor)) [[alternative HTML version d

Re: [R] Superstring in text()

2009-07-26 Thread Andrej Kastrin
mycor <- cor(1:10,1:10) plot(1:10,1:10) text(8,2,bquote(R^2 == .(mycor))) HTH, Andrej Murray Pung wrote: I'd like to paste a superstring with a number in an object. Thanks for any help. Murray mycor <- cor(1:10,1:10) plot(1:10,1:10) text(8,2,paste(expression(R^2),

[R] Network from package functions

2009-07-23 Thread Andrej-Nikolai Spiess
top of the hierarchy and then a network of nodes from the functions that are called within 'nls' such as 'getInitial', 'nlsModel', 'nls_port_fit' etc. Important maybe also some way to tweak such as not to include < trivial > function

Re: [R] EM algorithm

2009-07-21 Thread Andrej Kastrin
Hi, two useful references for beginning: www.stat.umn.edu/geyer/5931/mle/mle.pdf www.unc.edu/~monogan/computing/r/MLE_in_R.pdf Andrej Elena 5/12 wrote: Hi, I have the following problem: I am working on assessing the accuracy of diagnostic tests. I have a log likelihood and 3 unknown

Re: [R] Re al Time PCR data analysis help

2009-07-20 Thread Andrej Kastrin
Check out qpcR package. Andrej gauravbhatti wrote: Hi I need help since I have never worked on RT PCR data before . I have 8 data files each corresponding to a single pcr run. Each file also represent 10 samples(5 cancer and 5 healthy) belonging to a unique gene. I have 7 unique genes and 1

Re: [R] how to run the R script in background in Windows XP?

2009-07-18 Thread Andrej Kastrin
Check out http://akastrin.wordpress.com/2009/06/18/batch-processing-with-r/ HTH, Andrej On Jul 18, 6:04 am, Gabor Grothendieck wrote: > Check out: > > ?Rscript > > > > On Fri, Jul 17, 2009 at 10:14 PM, Jie TANG wrote: > > Hello ,everyone. > > >  I am a fresh

Re: [R] Duplicates and duplicated

2009-05-14 Thread Andrej Blejec
gt; x[which(y)] [1] 4 > x%in%x[which(y)] [1] FALSE FALSE FALSE TRUE TRUE FALSE FALSE FALSE FALSE FALSE Andrej -- Andrej Blejec National Institute of Biology Vecna pot 111 POB 141 SI-1000 Ljubljana SLOVENIA e-mail: andrej.ble...@nib.si URL: http://ablejec.nib.si tel: + 386 (0)59 232 789 f

[R] Compare matrices

2009-01-19 Thread Andrej Kastrin
t looping? Thanks in advance for any suggestion. Best regards, Andrej __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, mini

[R] PRESS alternative

2009-01-12 Thread Andrej Kastrin
categorical? Thanks in advance for any suggestion. Best, Andrej __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal

[R] Ability estimates for partial credit model

2008-09-18 Thread Andrej Kastrin
kage. Is there any similar function like factor.scores to estimate ability scores using PCM model? Best, Andrej __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/

[R] Ability estimates for partial credit model

2008-09-18 Thread Andrej Kastrin
kage. Is there any similar function like factor.scores to estimate ability scores using PCM model? Best, Andrej __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/

[R] Mountain visualization

2008-08-08 Thread Andrej Kastrin
Dear all, I'm working on mountain visualization in gCLUSO program (http://www-users.cs.umn.edu/~mrasmus/gcluto/index.shtml). Does anyone of you know, if three exist any analogy in R? Best regards, Andrej __ R-help@r-project.org mailing list

Re: [R] reading Excel file

2008-03-25 Thread Andrej Blejec
(dateXls, "%x") datum 1 1.1.1901 2 1.1.1970 3 24.7.1953 Hope this helps, some more examples are in the file http://ablejec.nib.si/r/Date.pdf (with comments in Slovenian, sorry for that) Andrej -- Andrej Blejec National Institue of Biology Ljubljana, Slovenia > -Original Message-

[R] Error propagation

2008-03-25 Thread Andrej-Nikolai Spiess
, E2 = c(1.65, 1.72, 1.71), cp1 = c(17.6, 17.8, 17.7), cp2 = c(22.12, 21.5, 22.1)) temp <- propagate(e, data, type = "raw", cov = T) print(temp) Many thanks in advance!! _ Dr. rer. nat. Andrej-Nikolai Spiess (Dipl. Biol.) Department of Andr

Re: [R] Grouping by interval

2007-12-07 Thread Andrej Blejec
sLength),FUN=mean) LengthClass VarA VarB 1 [10,15] 1025 525 2 (15,20] 1080 580 3 (20,25] 1130 630 4 (25,30] 1180 680 -- Andrej Blejec National Institute of Biology Vecna pot 111 POB 141 SI-1000 Ljubljana SLOVENIA e-mail: [EMAIL PROTECTED] URL: http://ablejec.nib.si tel: + 386 1 423 33 88 fax: +