Re: [R] Analysing diallel and line x tester mating design with multiple location in R

2019-03-29 Thread David Luckett
Hi Gbemisola, You can find functions for diallel analysis (Griffing and Hayman) and LxT analysis in several R packages: agricolae (on CRAN), DiallelAnalysisR (on CRAN), plantbreeding (on R-forge), and AGD-R (on the CIMMYT website; a front-end built on R). If these are not enough (!) you could try

Re: [R] Quantile Density Contours

2019-03-29 Thread Bernard Comcast
Thanks Abs - I was able to get the plot I needed with the hdrcde package but I will check out your package as well. I continue to be impressed with the power Of R and the various packages available. Thanks again Bernard Sent from my iPhone so please excuse the spelling!" > On Mar 29, 2019,

Re: [R] Structuring data for Correspondence Analysis

2019-03-29 Thread jim holtman
I am not familiar with SAS, so what did you want your output to look like. There is the 'table' function that might do the job and then there is always 'dplyr' which can do the hard stuff. So we need more information on what you want. Jim Holtman *Data Munger Guru* *What is the problem that

Re: [R] aggregate output to data frame

2019-03-29 Thread jim holtman
You can also use 'dplyr' library(tidyverse) result <- pcr %>% group_by(Gene, Type, Rep) %>% summarise(mean = mean(Ct), sd = sd(Ct), oth = sd(Ct) / sqrt(sd(Ct)) ) Jim Holtman *Data Munger Guru* *What is the problem that you are trying to solve?Tell me

Re: [R] converting a character string to an object name

2019-03-29 Thread Jeff Newmiller
Seconded! On March 29, 2019 11:33:01 AM PDT, Rui Barradas wrote: >Hello, > >I recommend you save them all in a list. It's a much better idea than >to >have length(names(wb)) objects in the globalenv. >Something like the following would read them all in one go. > >xls_list <-

Re: [R] converting a character string to an object name

2019-03-29 Thread Rui Barradas
Hello, I recommend you save them all in a list. It's a much better idea than to have length(names(wb)) objects in the globalenv. Something like the following would read them all in one go. xls_list <- lapply(seq_along(names(wb))[-1], function(i){ read.xlsx(wb, sheet = i) })

[R-es] Problemas para trabajar en R con proxy

2019-03-29 Thread Pablo
Buenas tardes, Tengo poblemas para poder instalar paquetes con 'devtools::install_github' y tambiĆ©n para utilizar funciones que descargan informaciĆ³n desde la web ('getbb', del paquete osmdata, por ejemplo). Al intentar utilizar estas funciones desde la computadora del trabajo me surgen errores

Re: [R] converting a character string to an object name

2019-03-29 Thread Bert Gunter
I think you want ?assign 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" comic strip ) On Fri, Mar 29, 2019 at 10:39 AM Assa Yeroslaviz wrote: > I am trying to automate the

Re: [R] converting a character string to an object name

2019-03-29 Thread Ivan Krylov
On Fri, 29 Mar 2019 14:07:16 +0100 Assa Yeroslaviz wrote: > Is there a way to read for each sheet the name from names(wb) and > convert it to a name for the object? See `get` and `assign` functions for a way to use strings as object names. Generally, it might not be a good idea to do that (what

[R] converting a character string to an object name

2019-03-29 Thread Assa Yeroslaviz
I am trying to automate the way i read my tables. I have an Excel sheet I'm reading using openxlsx package. The sheet contains over 30 sheets, i would like to save each of them as separate objects. my workflow for now is as such: wb <- loadWorkbook(xlsxFile =

[R] Error while using keras package

2019-03-29 Thread Baki UNAL via R-help
Hello I successfully installed keras and TensorFlow backend with install_keras(). I attached the installation log as keras_install_log.txt. After that I tried to download mnist data with dataset_mnist() function. However I got the following error message:

[R] Structuring data for Correspondence Analysis

2019-03-29 Thread Alfredo
Hi, I am very new to r and need help from you to do a correspondence analysis because I don't know how to structure the following data: Thank you. Alfredo library(ca,lib.loc=folder) table <- read.csv(file="C:\\Temp\\Survey_Data.csv", header=TRUE, sep=",") head (table, n=20)