Re: [R] [FORGED] Tukey Test

2019-01-25 Thread JEFFERY REICHMAN
Rolf That's it the aricolae "package". Thank you. Jeff On Thu, 1/24/19, Rolf Turner wrote: Subject: Re: [FORGED] [R] Tukey Test To: reichm...@sbcglobal.net Cc: r-help@r-project.org Date: Thursday, January 24, 2019, 10:11 PM On 1/25/19 4:51 PM,

[R] jsonlite

2018-11-06 Thread JEFFERY REICHMAN
r-help Forum With a bit of r-help yesterday I was able to structure a JSON file such that I can read it within the R environment and export what I need except for one list object. So when I run location <- json.raw[["favorites"]] thead(location) # R returns something like ... [[1]] fa

[R] Importing JSON Files

2018-11-05 Thread JEFFERY REICHMAN
r-help Forum Struggling with importing and creating a data.fram from a JSON file. I used the jsonlite package (fromJSON function) and I can see the resulting table but one of the attributes is a list (of lists) So I have something that looks like . favorites (attribute) list(favoriteValue

[R] Creatng new variable based upon conditions

2018-07-26 Thread JEFFERY REICHMAN
Given something like ... x <- c(3,2,4,3,5,4,3,2,4,5) y <- c("A","B","B","A","A","A","A","B","A","B") xy <- data.frame(x,y) xy$w <- ifelse(xy$y=="A",xy$w[,x]*10,xy$w[,x]*15 ) want to see x y w 1 3 A 30 2 2 B 30 3 4 B 60 4 3 A 30 5 5 A 50 6 4 A 40 7 3 A 30 8 2 B 30 9 4 A 40 10

[R] Creatng new variable based upon conditions

2018-07-26 Thread JEFFERY REICHMAN
Given x <- c(3,2,4,3,5,4,3,2,4,5) y <- c("A","B","B","A","A","A","A","B","A","B") xy <- cbind(x,y) and am wanting to create a new variable "w" where if y=="A" then w==x*10 else w==x*15 such that I end up with a dataframe x y w [1,] 3 "A" 30 [2,] 2 "B" 30 [3,] 4 "B" 60 [4,] 3 "A" 30

Re: [R] Kendall tau a, b, or c

2018-06-15 Thread JEFFERY REICHMAN
Thank you - that will save me some time. Jeff -Original Message- From: Marc Schwartz Sent: Thursday, June 14, 2018 4:07 PM To: JEFFERY REICHMAN Cc: R-help Subject: Re: [R] Kendall tau a, b, or c > On Jun 14, 2018, at 4:04 PM, JEFFERY REICHMAN wrote: > > r-hel

[R] Kendall tau a, b, or c

2018-06-14 Thread JEFFERY REICHMAN
r-help Forum Is there a function to calculate either Kendall tau a, b, or c. It appears the Kendall library only calculates tau b. Just wanted to check before writing a function to calculate the concordant and discordant pairs. Then its pretty easy. jeff _

[R] Bivariate Normal Distribution Plots

2018-04-12 Thread JEFFERY REICHMAN
R-Help I am attempting to create a series of bivariate normal distributions. So using the mvtnorm library I have created the following code ... # Standard deviations and correlation sig_x <- 1 sig_y <- 1 rho_xy <- 0.0 # Covariance between X and Y sig_xy <- rho_xy * sig_x *sig_y # Covariance m

[R] Understanding TS objects

2018-03-13 Thread JEFFERY REICHMAN
R Help Community I'm trying to understand time series (TS) objects. Thought I understood but recently have run into a series of error messages that I'm not sure how to handle. I have 15 years of quarterly data and I typically create a TS object via something like... data.ts <- ts(mydata, sta

[R] OpenRTB Data

2018-02-27 Thread JEFFERY REICHMAN
R Forum Are there any R libraries designed specifically for RTB (Real Time Bidding) data? Jeff Reichman __ 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