Re: [R] R Dplyr hands on project

2020-01-25 Thread Erin Hodgess
Hello! “R for Data Science” is an excellent reference. Thanks, Erin On Sat, Jan 25, 2020 at 11:00 PM SAS_learner wrote: > Hello All , > > I am trying to learn R and started with R Dplyr for data management > .Can anyone point out to a book or place or GitHub location which > has a project t

[R] Problem in plotting Circos plot with the attached dataset

2020-01-25 Thread pooja sinha
YOUNGCONTROL.csv YOUNGTREATED.csv Hi I have attached the three different datasets for Rn6 genome and I needed to use circos

[R] [cph] Error in [.default (y, , 3) : subscript out of bounds

2020-01-25 Thread Huy Nguyen
Dear CRAN support team, I have been facing with an error when using the package *cph* to construct nomogram! Let me clarify what exactly I have been encountered. Firstly, this is a summary of my data: > str(train) 'data.frame': 1323 obs. of 25 variables: $ LYMPH_NODES_EXAMINED_POSITIVE: F

[R] R Dplyr hands on project

2020-01-25 Thread SAS_learner
Hello All , I am trying to learn R and started with R Dplyr for data management .Can anyone point out to a book or place or GitHub location which has a project that I can use to replicate , to improve my skills would be of great help. thanks Kumar __

[R] [R-pkgs] SWIM: vignette and new version on CRAN

2020-01-25 Thread Silvana Pesenti
Hi all, We’re happy to announce that the new version of *SWIM* is available on CRAN. *SWIM* is an efficient sensitivity analysis tool for stochastic models based on Monte Carlo samples. It provides weights on simulated scenarios from a stochastic model, such that stressed random variables fulfil

[R] CRAN UC Berkeley link

2020-01-25 Thread John via R-help
This link https://cran.cnr.berkeley.edu/ on the "mirrors" page no longer points to a CRAN mirror. It seems to be generic to UCB. JWDougherty __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/

Re: [R] Text search

2020-01-25 Thread Sarah Goslee
Hi, > dat$new[grep("Tall", dat$char)] <- "Tall" > dat$new[grep("Short", dat$char)] <- "Short" > dat obs Year charnew 1 1 2001 Tall156 Tall 2 2 2002 12565Tall Tall 3 3 2003 all54 4 4 2004 Short Short 5 5 2005 54all 6 6 2006 7Short12 Short Assuming that n

[R] Text search

2020-01-25 Thread Ashta
Hi all, >From one of the columns of the data frame I want to search and extract a text that contains Tall or Short and create new column that should contain these texts in a corresponding row. My example data and the desired output are shown below dat<-read.table(text="obs Year char 1 2001 T

Re: [R] Converting binary number to in Two´s complement representation

2020-01-25 Thread Richard M. Heiberger
no, ## I don't see any system in AISMessageFrame tail(AISMessageFrame) ## MessgeCode ## 95 85E:BR0F0P00032jS2P00DE7P3A00h0 ## 96 1349B:3000rCtrn553aR@JHD2d4O ## 97 7933.883509997 ## 98 B

Re: [R] Converting binary number to in Two´s complement representation

2020-01-25 Thread Paul Bernal
Dear friend Richard, Were you able to obtain the latitude and longitude values with that script? Thank you so much brother, Paul El sáb., 25 de enero de 2020 4:03 p. m., Richard M. Heiberger < r...@temple.edu> escribió: > ## from2Comp uses base R functions only > from2Comp <- function(x, binDi

Re: [R] Converting binary number to in Two´s complement representation

2020-01-25 Thread Richard M. Heiberger
## from2Comp uses base R functions only from2Comp <- function(x, binDigits=8) { ## binDigits=8 means 8 significant digits plus a sign bit, thus nchar(x) == 9 tmp <- strtoi(x, base=2) Neg <- (tmp > (2^binDigits - 1)) tmp[Neg] <- tmp[Neg] - (2^(binDigits + 1)) tmp } from2Comp(substr(as.cha