[R] FPMC?

2018-08-14 Thread Charles Determan
Greetings R users, I recently came across an interesting paper regarding recommender systems. The particular method defined in the manuscript was Factorizing Personalized Markov Chains. You can find the article in question here ( http://www.ra.ethz.ch/cdstore/www2010/www/p811.pdf). I am curious

[R] [R-pkgs] gpuR 2.0.0 released

2017-10-20 Thread Charles Determan
Dear R users, I am happy to announce the most recent version of gpuR has been released. There are several new enhancements to the package including the ability to use user written OpenCL kernels. A full list of changes from the NEWS are shown below. API Changes: 1. deviceType, gpuInfo, cpuInfo

Re: [R] About calculating average values from several matrices

2017-05-09 Thread Charles Determan
, the values are > double type now. Thanks again. > > > On Tue, May 9, 2017 at 9:04 AM, Charles Determan <cdeterma...@gmail.com> > wrote: > >> If you want the mean of each element across you list of matrices the >> following should provide what you are looking for wher

Re: [R] About calculating average values from several matrices

2017-05-09 Thread Charles Determan
If you want the mean of each element across you list of matrices the following should provide what you are looking for where Reduce sums all your matrix elements across matrices and the simply divided my the number of matrices for the element-wise mean. Reduce(`+`, mylist)/length(mylist)

Re: [R] Multi-GPU "Yinyang" K-means and K-nn for R

2017-02-23 Thread Charles Determan
Hi Vadim, I would be happy to explore helping you out with this. I am quite active in development for GPU use in R. You can see my work on my github ( https://github.com/cdeterman) and the group I created for additional packages in development (https://github.com/gpuRcore). I believe it would

[R] [R-pkgs] gpuR 1.2.0 released

2016-12-22 Thread Charles Determan
Dear R users, I am happy to announce the most recent version of gpuR has been released. There are several new enhancements to the package including: 1.Automatically detect available SDK on install if available 2.Simplified installation to build OpenCL ICD when have OpenCL driver but

Re: [R] Converting a list to a data frame

2016-11-04 Thread Charles Determan
Hi Kevin, There may be a more elegant way but the following do.call and lapply should solve your problem. do.call(rbind, lapply(seq(length(x)), function(i) data.frame(set=i, x[[i]]))) Regards, Charles On Fri, Nov 4, 2016 at 7:37 AM, Kevin E. Thorpe wrote: > There is

Re: [R] Where are the PCA outputs?

2016-09-12 Thread Charles Determan
Hi Nick, "prcomp" returns an object of class "prcomp" so when you simply 'print' the object it gets passed to the "print.prcomp" function. If you want to see all the objects you should assign the results to an object. Regards, Charles On Mon, Sep 12, 2016 at 7:56 AM, WRAY NICHOLAS

[R] openssl package install error

2016-05-06 Thread Charles Determan
I am trying to install 'openssl' on ubuntu 14.04. I already of libssl-dev and libcurl4-openssl-dev installed. But when I try to install I get a bunch of errors complaining about 'unknown type 'u_char''. Thoughts? Excerpt of output: Found pkg-config cflags and libs! Using PKG_CFLAGS= Using

Re: [R] A Neural Network question

2016-04-19 Thread Charles Determan
Hi Phil, I don't think this is the correct list for this. You question has nothing to do with R specifically which is the purpose here. I suggest you pursue other help lists related to neural networks to try and find someone to assist you. Regards, Charles On Sat, Apr 16, 2016 at 2:08 AM,

Re: [R] TensorFlow in R

2016-04-01 Thread Charles Determan
Hi Axel, Looks like the only thing right now is rflow ( https://github.com/terrytangyuan/rflow). It appears to simply wrap around the python bindings. I am not aware of any others. Be interesting to keep an eye on. Regards, Charles On Fri, Apr 1, 2016 at 11:32 AM, Axel Urbiz

Re: [R] Fit a smooth closed shape through 4 points

2016-03-21 Thread Charles Determan
Hi Allie, What is you goal here? Do you just want to plot a curve to the data? Do you want a function to approximate the data? You may find the functions spline() and splinefun() useful. Quick point though, with so few points you are only going to get a very rough approximation no matter the

[R] [R-pkgs] gpuR 1.1.0 Release

2016-03-18 Thread Charles Determan
Dear R users, The next release of gpuR (1.1.0) has been accepted to CRAN ( http://cran.r-project.org/package=gpuR). There have been multiple additions including: 1. Scalar operations for gpuMatrix/vclMatrix objects (e.g. 2 * X) 2. Unary '-' operator added (e.g. -X) 3. 'slice' and 'block'

Re: [R] RSNNS neural network

2016-03-03 Thread Charles Determan
Unfortunately we can only provide so much help without a reproducible example. Can you use a dataset that everyone would have access to to reproduce the problem? Otherwise it is difficult for anyone to help you. Regards, Charles On Tue, Mar 1, 2016 at 12:35 AM, jake88

Re: [R] GPU package crowd-source testing

2016-02-11 Thread Charles Determan
is package. Regards, Charles On Tue, Feb 9, 2016 at 12:20 PM, Charles Determan <cdeterma...@gmail.com> wrote: > Greetings R users, > > I would like to request any users who would be willing to test one of my > packages. Normally I would be content using testthat and conti

[R] GPU package crowd-source testing

2016-02-09 Thread Charles Determan
Greetings R users, I would like to request any users who would be willing to test one of my packages. Normally I would be content using testthat and continuous integration services but this particular package is used for GPU computing (hence the cross-posting). It is intended to be as general

[R] [R-pkgs] New package: gpuR

2015-11-30 Thread Charles Determan
with installation. Although it must be compiled, it is able to be installed on Linux, Mac OSX, and Windows platforms. I welcome any comments, issues (please submit on the github), and of course additional contributions. Regards, Charles Determan [[alternative HTML version deleted

Re: [R] how to find the mean and sd :(

2015-09-11 Thread Charles Determan
massmatics, You are trying to take the mean/sd of an entire data.frame and therefore you receive an error. You must do some form of subset and take the mean of the 'breaks' column. This can be done a few ways (as with almost anything in R). AM.warpbreaks2 <- subset(AM.warpbreaks, breaks <= 30)

Re: [R] Calculate the area under a curve

2015-08-24 Thread Charles Determan
Hi Carsten, This list is meant to help you solve specific coding problems. What have you tried? A quick google search will provide several packages including caTools, ROCR, AUC, pROC. Look in to some of them, try them out and report back if you have problems 'using' a function instead of just

Re: [R] modifying a package installed via GitHub

2015-07-20 Thread Charles Determan
Steve, You are able to work with a github package the same as any github repo. If you clone the repo: git clone https://github.com/user/repo.git If using RStudio it is simple enough to create a new project in that new directory (if the .Rproj file does not exist, otherwise open that). Once

Re: [R] modifying a package installed via GitHub

2015-07-20 Thread Charles Determan
for your thoughtful advice! Steve On Mon, Jul 20, 2015 at 5:52 AM, Charles Determan cdeterma...@gmail.com javascript:_e(%7B%7D,'cvml','cdeterma...@gmail.com'); wrote: Steve, You are able to work with a github package the same as any github repo. If you clone the repo: git clone https

Re: [R] Rcpp cpp11 and R CMD build

2015-06-24 Thread Charles Determan
Hi Edwin, If you look at the build output you will notice that the C++11 compiler flag is not being used. I just created a small package using Rcpp11 and your function and it worked without a problem. I can't give you a specific reason without seeing your package but there are some

Re: [R] Rcpp cpp11 and R CMD build

2015-06-24 Thread Charles Determan
guess it could be useful to add this to the example given here: http://gallery.rcpp.org/articles/simple-lambda-func-c++11/ Cheers, Edwin On Wed, 24 Jun 2015 at 17:50 Charles Determan cdeterma...@gmail.com wrote: Hi Edwin, If you look at the build output you will notice that the C++11

Re: [R] Help on Neural Network package

2015-06-02 Thread Charles Determan
You model is reaching the error threshold otherwise you would be receiving an 'actual' error message. You model is just converging very quickly. If you want to see the error reducing, change lifesign=minimal to lifesign=full and set the lifesign.step=1 to make it very verbose for this model.

Re: [R] An Odd Request

2015-05-29 Thread Charles Determan
If you are primarily interested in making your R analyses in to a website you should look in to the 'Shiny' package. It makes generating web pages very easy. Here is a link to the Shiny Gallery providing some examples ( http://shiny.rstudio.com/gallery/). Regards, Charles On Fri, May 29, 2015

Re: [R] Path analysis

2015-05-26 Thread Charles Determan
Given that your problem primarily focuses on a biological context you probably would have better luck with bioconductor (www.bioconductor.org). Regards, Charles On Tue, May 26, 2015 at 12:43 AM, Alberto Canarini alberto.canar...@sydney.edu.au wrote: Hi there, As I'm approaching path

Re: [R] compiling R with tuned BLAS

2015-05-22 Thread Charles Determan
Which OS are you using (Windows, Linux (distro), Mac)? When you mention .so files I tend to assume you are using a Linux system. If you are using ubuntu, changing the BLAS used by R is relatively trivial by using 'update-alternatives'. More detail is provided at the following link:

Re: [R] Package Build Recommendations

2015-05-06 Thread Charles Determan
Hi Glenn, Generally data files are stored in the 'data' directory. If you visit Hadley's R packages site on the data page (http://r-pkgs.had.co.nz/data.html) this is described quite clearly. You can use the devtools package functions like `use_data` to have data files properly stored in your

Re: [R] regexpr - ignore all special characters and punctuation in a string

2015-04-20 Thread Charles Determan
You can use the [:alnum:] regex class with gsub. str1 - What a nice day today! - Story of happiness: Part 2. str2 - What a nice day today: Story of happiness (Part 2) gsub([^[:alnum:]], , str1) == gsub([^[:alnum:]], , str2) [1] TRUE The same can be done with the stringr package if you really

Re: [R] feature selection

2015-04-20 Thread Charles Determan
Although I am sure many here would be happy to help you your question is far too vague. There are many methods for feature selection. You should review the literature and see what would work best for you or consult a statistician. Once you have selected a method and began an initial attempt at

Re: [R] Fwd: missing in neural network

2015-03-25 Thread Charles Determan Jr
thanks for your help. I will check and let you know. Best Wishes, Soheila On Mar 25, 2015 12:17 AM, Charles Determan Jr deter...@umn.edu wrote: Soheila, Did my second response help you? It is polite to close say if so, that way others who come across the problem no that it was solved

Re: [R] missing in neural network

2015-03-24 Thread Charles Determan Jr
Hi Soheila, You are using the formula argument incorrectly. The neuralnet function has a separate argument for data aptly names 'data'. You can review the arguments by looking at the documentation with ?neuralnet. As I cannot reproduce your data the following is not tested but I think should

Re: [R] missing in neural network

2015-03-24 Thread Charles Determan Jr
arguments :(:(:( What should I do now?? Regards, Soheila On Tue, Mar 24, 2015 at 3:48 PM, Charles Determan Jr deter...@umn.edu wrote: Hi Soheila, You are using the formula argument incorrectly. The neuralnet function has a separate argument for data aptly names 'data'. You can review

Re: [R] Neural Network

2015-01-26 Thread Charles Determan Jr
algeas. So I think they are dependent variables. Regards. On Thu, 1/22/15, Charles Determan Jr deter...@umn.edu wrote: Subject: Re: [R] Neural Network To: javad bayat jbaya...@yahoo.com, r-help@r-project.org r-help@r-project.org Date: Thursday

Re: [R] Neural Network

2015-01-22 Thread Charles Determan Jr
? Many thanks for your help. Regards, On Wed, 1/21/15, Charles Determan Jr deter...@umn.edu wrote: Subject: Re: [R] Neural Network To: javad bayat jbaya...@yahoo.com Cc: r-help@r-project.org r-help@r-project.org Date: Wednesday

Re: [R] ggplot courses?

2015-01-22 Thread Charles Determan Jr
, minimal, self-contained, reproducible code. -- Dr. Charles Determan, PhD Integrated Biosciences [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo

Re: [R] Neural Network

2015-01-21 Thread Charles Determan Jr
. __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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, self-contained, reproducible code. -- Dr. Charles Determan, PhD

Re: [R] DeepNet package - how to add hidden layers?

2015-01-19 Thread Charles Determan Jr
commented, minimal, self-contained, reproducible code. -- Dr. Charles Determan, PhD Integrated Biosciences [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman

Re: [R] Using sapply instead of for loop

2014-11-19 Thread Charles Determan Jr
://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Dr. Charles Determan, PhD Integrated Biosciences [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https

Re: [R] Using sapply instead of for loop

2014-11-19 Thread Charles Determan Jr
} -- *From:* Charles Determan Jr [deter...@umn.edu] *Sent:* Wednesday, November 19, 2014 7:05 PM *To:* Amit Thombre *Cc:* r-help@r-project.org *Subject:* Re: [R] Using sapply instead of for loop Amit, Your question isn't necessarily complete. You haven't

Re: [R] Using sapply instead of for loop

2014-11-19 Thread Charles Determan Jr
) far(p),simplify=FALSE) } } } } } #for looping through period value } -- *From:* Charles Determan Jr [deter...@umn.edu] *Sent:* Wednesday, November 19, 2014 8:40 PM *To:* Amit Thombre *Cc:* r-help@r-project.org *Subject:* Re: [R

Re: [R] Using sapply instead of for loop

2014-11-19 Thread Charles Determan Jr
think and hence A does not have it. -- *From:* Charles Determan Jr [deter...@umn.edu] *Sent:* Wednesday, November 19, 2014 10:04 PM *To:* Amit Thombre *Cc:* r-help@r-project.org *Subject:* Re: [R] Using sapply instead of for loop The following provides array

Re: [R] How to sum some columns based on their names

2014-10-13 Thread Charles Determan Jr
You can use grep with some basic regex, index your dataframe, and colSums colSums(df[,grep(*6574*|*7584*|*85*, colnames(df))]) colSums(df[,grep(f6574*|f7584*|f85*, colnames(df))]) Regards, Dr. Charles Determan On Mon, Oct 13, 2014 at 7:57 AM, Kuma Raj pollar...@gmail.com wrote: I want to sum

Re: [R] Margins to fill matrix

2014-09-11 Thread Charles Determan Jr
-guide.html and provide commented, minimal, self-contained, reproducible code. -- Dr. Charles Determan, PhD Integrated Biosciences [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] shiny datatables column filtering plugin

2014-09-03 Thread Charles Determan Jr
, Charles Determan Jr deter...@umn.edu wrote: Greetings, I am currently exploring some capabilities of the 'Shiny' package. I am currently working with the most recent version of 'shiny' from the rstudio github repository (version - 0.10.1.9006) in order to use the most up to date

Re: [R] shiny datatables column filtering plugin

2014-09-03 Thread Charles Determan Jr
://yihui.name On Wed, Sep 3, 2014 at 7:12 AM, Charles Determan Jr deter...@umn.edu wrote: Thank you for checking Yihui, on the off chance are you familiar with any other methods to filter on multiple conditions? On Tue, Sep 2, 2014 at 11:07 PM, Yihui Xie x...@yihui.name wrote: I just

[R] shiny datatables column filtering plugin

2014-09-02 Thread Charles Determan Jr
Greetings, I am currently exploring some capabilities of the 'Shiny' package. I am currently working with the most recent version of 'shiny' from the rstudio github repository (version - 0.10.1.9006) in order to use the most up to date datatables plugin. Using the ggplot2 diamonds dataset, I

Re: [R] simulation dichotomous data

2014-08-01 Thread Charles Determan Jr
. Just chose which variables to correlate and do it for all of those for each dataset and compare. Regards, Dr. Charles Determan On Thu, Jul 31, 2014 at 9:10 AM, thanoon younis thanoon.youni...@gmail.com wrote: Many thanks to you firstly : how can i use Pearson correlation with dichotomous

Re: [R] simulation dichotomous data

2014-07-31 Thread Charles Determan Jr
helped me before to write it . many thanks to you Thanoon -- Dr. Charles Determan, PhD Integrated Biosciences [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

Re: [R] error in R program

2014-06-08 Thread Charles Determan Jr
me some advice on how to fix it? Many thanks~ On Sat, Jun 7, 2014 at 6:41 AM, Charles Determan Jr deter...@umn.edu wrote: REPLY TO ALL FOR THE R-HELP LIST!!! I apologize for the bluntness but you must realize that it is critical if you desire to get help on the mailing list beyond

Re: [R] error in R program

2014-06-07 Thread Charles Determan Jr
in mvrnorm(1, c(0, 0, 0), phi1, tol = 1e-06, empirical = FALSE, : incompatible arguments Regards On 5 June 2014 16:45, Charles Determan Jr deter...@umn.edu wrote: Hello again Thanoon, Once again, you should send these request not to me but to the r-help list. You are far more likely

Re: [R] error in R program

2014-06-05 Thread Charles Determan Jr
DIC[t]=model#DIC } #end -- Dr. Charles Determan, PhD Integrated Biosciences University of Minnesota [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

[R] Fwd: error in R program

2014-06-05 Thread Charles Determan Jr
-- Forwarded message -- From: thanoon younis thanoon.youni...@gmail.com Date: Thursday, June 5, 2014 Subject: error in R program To: Charles Determan Jr deter...@umn.edu many thanks to you Dr. Charles Really i have a problem with simulation data in xi and now i have this erro r

[R] conditional probability removal

2014-04-17 Thread Charles Determan Jr
Greetings, I would like to randomly remove elements from a numeric vector but with different probabilities for higher numbers. For example: dat - sample(seq(10), 100, replace=T) # now I would like to say randomly remove elements but with a higher chance of removing elements = 5 and even

Re: [R] help

2014-04-15 Thread Charles Determan Jr
. No. 00601117517559 E-mail: kafi_d...@yahoo.com supervisor- Assoc. Prof. Robiah Binti Adnan -- Charles Determan Integrated Biosciences PhD Candidate University of Minnesota [[alternative HTML version deleted]] __ R-help@r-project.org

Re: [R] simulation data

2014-04-10 Thread Charles Determan Jr
the above code for your problem 3. Find a suitable R package for your specific correlation needs 4. or Learn to write functions and find the means to calculate the tetratorich correlation. Regards, Charles Determan On Wed, Apr 9, 2014 at 8:28 PM, thanoon younis thanoon.youni...@gmail.comwrote

Re: [R] simulation data

2014-04-05 Thread Charles Determan Jr
April 2014 18:42, Charles Determan Jr deter...@umn.edu wrote: Hi Thanoon, How about this? # replicate p=10 times random sampling n=1000 from a vector containing your ordinal categories (1,2,3,4) R - replicate(10, sample(as.vector(seq(4)), 1000, replace = T)) Cheers, Charles On Fri, Apr 4

Re: [R] simulation data

2014-04-04 Thread Charles Determan Jr
/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Charles Determan Integrated Biosciences PhD Candidate University of Minnesota [[alternative HTML version deleted

Re: [R] Fwd: Calculating group means

2013-12-23 Thread Charles Determan Jr
__ 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, self-contained, reproducible code. -- Charles Determan Integrated

Re: [R] frequency of numbers

2013-11-21 Thread Charles Determan Jr
/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Charles Determan Integrated Biosciences PhD Candidate University of Minnesota [[alternative HTML version deleted

Re: [R] repeating values in an index two by two

2013-11-11 Thread Charles Determan Jr
. __ 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, self-contained, reproducible code. -- Charles Determan Integrated Biosciences PhD Candidate

Re: [R] Subseting a data.frame

2013-10-17 Thread Charles Determan Jr
://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, self-contained, reproducible code. -- Charles Determan Integrated Biosciences PhD Candidate University of Minnesota [[alternative HTML version

Re: [R] Convert a factor to a numeric

2013-10-10 Thread Charles Determan Jr
data.matrix() should do the job for you Charles On Thu, Oct 10, 2013 at 8:02 AM, arun smartpink...@yahoo.com wrote: Hi, It is not clear whether all the variables are factor or only a few are.. dat- read.table(text=acoef coef.l coef.h 1 1 0.005657825001254

Re: [R] Convert a factor to a numeric

2013-10-10 Thread Charles Determan Jr
to apply it like this or is it something else? data.matrix(dat) # a coef coef.l coef.h 1 13 4 2 2 24 5 4 3 31 1 1 4 42 2 3 5 55 3 5 A.K. On Thursday, October 10, 2013 9:09 AM, Charles Determan Jr deter...@umn.edu

Re: [R] Convert a factor to a numeric

2013-10-10 Thread Charles Determan Jr
() without the as.character() For ex: as.numeric(dat[,2]) #[1] 3 4 1 2 5 On Thursday, October 10, 2013 9:33 AM, Charles Determan Jr deter...@umn.edu wrote: I'm not honestly sure why data.matrix didn't work off hand. Perhaps another user can shed some light on this. An alternative

Re: [R] Interpreting the result of a Wilcoxon (Mann-Whitney U) test

2013-10-02 Thread Charles Determan Jr
, -- Charles Determan Integrated Biosciences PhD Candidate University of Minnesota On Wed, Oct 2, 2013 at 10:33 AM, Filipe Correia fcorr...@gmail.com wrote: Hello everyone, I'm having some trouble interpreting the results of a Wilcoxon (Mann-Whitney U) test. Hope you can help. This is the R

[R] Recycling other internal package functions

2013-09-23 Thread Charles Determan Jr
giving them credit. Regards, -- Charles Determan Integrated Biosciences PhD Candidate University of Minnesota [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] how to read data from MSExcel into R

2013-09-11 Thread Charles Determan Jr
]] __ 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, self-contained, reproducible code. -- Charles Determan Integrated

[R] glmnet lambda and number of variables

2013-09-04 Thread Charles Determan Jr
with which variables are dropped from the model? Best regards, -- Charles Determan Integrated Biosciences PhD Candidate University of Minnesota [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [R] Randomization

2013-08-26 Thread Charles Determan Jr
read the posting guide http://www.R-project.org/** posting-guide.html http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Charles Determan Integrated Biosciences PhD Candidate University of Minnesota -- Charles Determan

[R] Citing Package Contributing Authors

2013-08-26 Thread Charles Determan Jr
to account for them or are they generally not listed? Regards, -- Charles Determan Integrated Biosciences PhD Candidate University of Minnesota [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch

Re: [R] Citing Package Contributing Authors

2013-08-26 Thread Charles Determan Jr
have to remind authors of this... Best Stephan On 26.08.2013 21:56, Charles Determan Jr wrote: Greetings, I am familiar with the function cite('packageName') which provides the output generated from the DESCRIPTION file. In most cases this is sufficient but I was wondering

[R] caTools AUC different between mutli-class and subset binary

2013-08-25 Thread Charles Determan Jr
, -- Charles Determan Integrated Biosciences PhD Candidate University of Minnesota [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

Re: [R] Randomization

2013-08-23 Thread Charles Determan Jr
, reproducible code. -- Charles Determan Integrated Biosciences PhD Candidate University of Minnesota [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

Re: [R] For loop output

2013-08-08 Thread Charles Determan Jr
]] __ 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, self-contained, reproducible code. -- Charles Determan Integrated Biosciences PhD Candidate University

Re: [R] Power of Kruskal-Wallis Test?

2013-07-12 Thread Charles Determan Jr
. On Tue, Jul 9, 2013 at 2:18 PM, Charles Determan Jr deter...@umn.eduwrote: Greetings, To calculate power for an ANOVA test I know I can use the pwr.anova.test() from the pwr package. Is there a similar function for the nonparamentric equivalent, Kruskal-Wallis? I have been searching

[R] Power of Kruskal-Wallis Test?

2013-07-09 Thread Charles Determan Jr
Greetings, To calculate power for an ANOVA test I know I can use the pwr.anova.test() from the pwr package. Is there a similar function for the nonparamentric equivalent, Kruskal-Wallis? I have been searching but haven't come up with anything. Thanks, -- Charles Determan Integrated

Re: [R] writing to the screen and extra 0

2013-07-01 Thread Charles Determan Jr
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Charles Determan Integrated Biosciences PhD Candidate University of Minnesota [[alternative HTML version deleted]] __ R-help@r-project.org mailing

[R] topGO printGenes

2013-05-06 Thread Charles Determan Jr
this because I don't use a microarray library: gt=printGenes(GOdata, whichTerms = goID, chip=org.Ss.eg.db, numChar = 40) but I received the error: Error in get(paste(chip, ENTREZID, sep = )): object 'org.Ss.egENTREZID' not found Has anyone experienced this or have any thoughts? Regards, -- Charles

Re: [R] Can a column of a list be called?

2013-04-26 Thread Charles Determan Jr
]] __ 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, self-contained, reproducible code. -- Charles Determan Integrated Biosciences PhD Student

Re: [R] Reading CSV file

2013-04-19 Thread Charles Determan Jr
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, self-contained, reproducible code. -- Charles Determan Integrated Biosciences PhD Student University of Minnesota [[alternative

Re: [R] Kruskal-Wallis

2013-04-15 Thread Charles Determan Jr
, reproducible code. -- Charles Determan Integrated Biosciences PhD Student University of Minnesota [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] Multivariate Power Test?

2013-03-07 Thread Charles Determan Jr
, 2013, at 10:50 PM, Charles Determan Jr deter...@umn.edu wrote: Generic question... I am familiar with generic power calculations in R, however a lot of the data I primarily work with is multivariate. Is there any package/function that you would recommend to conduct such power analysis? Any

[R] Multivariate Power Test?

2013-03-06 Thread Charles Determan Jr
Generic question... I am familiar with generic power calculations in R, however a lot of the data I primarily work with is multivariate. Is there any package/function that you would recommend to conduct such power analysis? Any recommendations would be appreciated. Thank you for your time,

Re: [R] caret pls model statistics

2013-03-05 Thread Charles Determan Jr
. Traditionally, the symbol 'R' is used for the Pearson correlation coefficient and one way to calculate R^2 is... R^2. Max On Sun, Mar 3, 2013 at 3:16 PM, Charles Determan Jr deter...@umn.eduwrote: I was under the impression that in PLS analysis, R2 was calculated by 1- (Residual sum

Re: [R] caret pls model statistics

2013-03-03 Thread Charles Determan Jr
PM, Charles Determan Jr deter...@umn.eduwrote: I have discovered on of my errors. The timematrix was unnecessary and an unfortunate habit I brought from another package. The following provides the same R2 values as it should, however, I still don't know how to retrieve Q2 values. Any insight

Re: [R] caret pls model statistics

2013-03-03 Thread Charles Determan Jr
(e.g. accuracy, Kappa, area under the ROC curve, etc) are designed to measure the ability of a model to classify and work well. With 3+ categories, I tend to use Kappa. Max On Sun, Mar 3, 2013 at 10:53 AM, Charles Determan Jr deter...@umn.eduwrote: Thank you for your response Max

[R] caret pls model statistics

2013-03-02 Thread Charles Determan Jr
Greetings, I have been exploring the use of the caret package to conduct some plsda modeling. Previously, I have come across methods that result in a R2 and Q2 for the model. Using the 'iris' data set, I wanted to see if I could accomplish this with the caret package. I use the following code:

Re: [R] caret pls model statistics

2013-03-02 Thread Charles Determan Jr
(datvars) pls.dat=plsr(as.numeric(training1$Species)~dat.sc, ncomp=3, method=oscorespls, data=training1) x=crossval(pls.dat, segments=10) summary(x) summary(plsFit2) Regards, Charles On Sat, Mar 2, 2013 at 3:55 PM, Charles Determan Jr deter...@umn.eduwrote: Greetings, I have been exploring

[R] context of runif()

2013-02-13 Thread Charles Determan Jr
Greetings, I am exploring some random forest analysis methods and have come upon one aspect I don't fully understand from any manual. The code of interest is as follows from the randomForest package: myiris=cbind(iris[1:4], matrix(runif(508*nrow(iris)),nrow(iris),508)) This would be following

[R] renumber a list of numbers

2013-01-07 Thread Charles Determan Jr
Greetings R users, I am trying to renumber my groups within the file shown below. The groups are currently set as 8,9,10,etc. I would like to renumber this as 1,2,3,etc. I have searched the help files and only come across using the rownames to renumber the values but I need to match values.

Re: [R] renumber a list of numbers

2013-01-07 Thread Charles Determan Jr
23 23 On Mon, Jan 7, 2013 at 11:41 AM, Charles Determan Jr deter...@umn.edu wrote: Greetings R users, I am trying to renumber my groups within the file shown below. The groups are currently set as 8,9,10,etc. I would like to renumber this as 1,2,3,etc. I have searched

[R] reformatting some data

2012-12-04 Thread Charles Determan Jr
Hello, I am trying to reformat some data so that it is organized by group in the columns. The data currently looks like this: group X3.Hydroxybutyrate X3.Hydroxyisovalerate ADP 347 4 4e-04 3e-04 5e-04 353 3 5e-04

Re: [R] Merge matrices with different column names

2012-10-26 Thread Charles Determan Jr
, paste0(var, 4:6))) L - list(m1, m2) names(L) - paste0(matrix, 1:2) L Dennis On Thu, Oct 25, 2012 at 8:51 PM, Charles Determan Jr deter...@umn.eduwrote: A general question that I have been pursuing for some time but have set aside. When finishing some analysis, I can have multiple matrices

[R] Merge matrices with different column names

2012-10-25 Thread Charles Determan Jr
A general question that I have been pursuing for some time but have set aside. When finishing some analysis, I can have multiple matrices that have specific column names. Ideally, I would like to combine these separate matrices for a final output as a csv file. A generic example: Matrix 1

[R] Kaplan Meier Post Hoc?

2012-10-24 Thread Charles Determan Jr
This is more of a general question without data. After doing 'survdiff', from the 'survival' package, on strata including four groups (so 4 curves on a Kaplan Meier curve) you get a chi squared p-value whether to reject the null hypothesis or not. Is there a method to followup with pairwise

Re: [R] Looping survdiff

2012-10-19 Thread Charles Determan Jr
Thank you for all your responses, I assure you this is not homework. I am a graduate student and my classes are complete. I am trying multiple different ways to analyze data and my lab requests different types of scripts to accomplish various tasks. I am the most computer savy in the lab so it

[R] looping survdiff?

2012-10-18 Thread Charles Determan Jr
Hello, I am trying to set up a loop that can run the survdiff function with the ultimate goal to generate a csv file with the p-values reported. However, whenever I try a loop I get an error such as invalid type (list) for variable 'survival_data_variables[i]. This is a subset of my data:

[R] loop of quartile groups

2012-10-17 Thread Charles Determan Jr
Greetings R users, My goal is to generate quartile groups of each variable in my data set. I would like each experiment to have its designated group added as a subsequent column. I can accomplish this individually with the following code: brks - with(data_variables, cut2(var2,

[R] cut2 error

2012-10-17 Thread Charles Determan Jr
To R users, I am trying to use cut2 function from the 'Hmisc' library. However, when I try and run the function on the following variable, I get an error message (displayed below). I suspect it is because of the NA but I have no idea how to address the error. Many thanks to any insights.

  1   2   >