Re: [R] help

2019-07-16 Thread Jeff Newmiller
Permission denied is an operating system issue... which is off topic here. I will warn you that installing R on Windows using Run As Administrator is a recipe for disaster, and if you did this then resolving the mess will most likely require knowledgeable surgery on your file system permissions

Re: [R] help

2019-07-16 Thread Christopher W Ryan
You will get the best help if you: 1. post email in plain text, not html 2. post the command/code you issued and the result/error that was returned 3. Information about your operating system sometimes helps. --Chris Ryan Binghamton, NY, US On Tue, Jul 16, 2019 at 3:36 PM Sujaya wrote: >

[R] help

2019-07-16 Thread Sujaya
Respected Sir, I am Sujaya ,a data researcher in India.I am unable to read text file folder in R.the permission denied error refuses to get resolved.Can you help me? yours sincerely, Sujaya

Re: [R] Plotting in R

2019-07-16 Thread nstefi
Sorry, this still doesn't work. When I use that expression in "ticktext" parameter, it shows those every 3rd label in the beginning, and after they finished, it shows some remaining values from "year" column. When I tried with my real data, it was showing the original x axis values as lables,

Re: [R] Summary Table for Quantile Regression for Complex Survey

2019-07-16 Thread Mavra Ahmed
Thank you! I tried that and it gives me the following: Min. 1st Qu. Median Mean 3rd Qu. Max. -0.05904 18.04000 36.15000 36.15000 54.25000 72.35000 I also tried the following code from Geraci: format.rq.svy<-summary(newdf,rdf){ V<-attr(newdf,"var") FLAG<-length(V)==1

Re: [R] Summary Table for Quantile Regression for Complex Survey

2019-07-16 Thread Koenker, Roger W
try summary(newer, se = “nid”) Roger Koenker r.koen...@ucl.ac.uk Department of Economics, UCL London WC1H 0AX. On Jul 16, 2019, at 2:46 AM, Mavra Ahmed mailto:mavz.ah...@utoronto.ca>> wrote: Hello All, I am running quantile regression for a complex survey

[R] Summary Table for Quantile Regression for Complex Survey

2019-07-16 Thread Mavra Ahmed
Hello All, I am running quantile regression for a complex survey design and am running the following code: newdf<-withReplicates(df, quote(coef(rq(api00~api99, tau=0.5, weights=.weights This provides me with the theta and SE but I would really like the p-values and residual degrees of

Re: [R] need help in if else condition

2019-07-16 Thread Bert Gunter
Your query is too basic to reply to -- that's what tutorials are for! But DO NOT HIJACK OLD THREADS! -- start a new one for new queries. 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

Re: [R] need help in if else condition

2019-07-16 Thread Thevaraja, Mayooran
Hello Everyone I am trying to draw the smooth curve for my simulation and theoretical result. Anyone has any suggestion to me. Code given below. library(ggplot2) p <- c(0.0005,0.0025,0.0050,0.0075,0.0100,0.0200) p_ sim1 <- c(0.3030,0.8245,0.9730,0.9955,1.,1.) p_

Re: [R] Plotting in R

2019-07-16 Thread nstefi
OK, I think I got this: For example every 3rd element would be: sydf$monthday[seq(1, length(sydf$monthday), 3)] Thanks, Steven -Original Message- From: nst...@gmail.com Sent: Tuesday, July 16, 2019 9:39 AM To: 'Jim Lemon' Cc: 'r-help mailing list' Subject: RE: [R] Plotting in R

Re: [R] need help in if else condition

2019-07-16 Thread Stephen Ellison
> However, having installed "Action of the Toes" (are R releases named > by Culture AIs, by any chance?) Peanuts cartoons. https://twitter.com/snoopy/status/269963551135891456 Steve E *** This email and any attachments are

Re: [R] Plotting in R

2019-07-16 Thread nstefi
Thanks Jim, Yes, I only want to show the month and day as labels, because on my chart I am actually showing 2 line charts, one from the previous year, and one from this year, to compare them, and the month and day are matching for them, but the year would be different, so it makes sense to

Re: [R] need help in if else condition

2019-07-16 Thread Richard O'Keefe
I didn't communicate my problem to R-Sig-Debian because I had never previously heard of them. Thank you for the tip. Poking through the recent archives there I see other people have had (different) trouble with the Bionic repository. Fortunately, the instructions at

Re: [R] tidyr gather(function)

2019-07-16 Thread Eric Berger
tempDat.long <- gather(data=tempDat, key=month, value=temp, "Jan", "Feb","Mar", "Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec") %>% dplyr::mutate( monthIndex=match(month,month.abb)) %>% dplyr::arrange( Year, monthIndex) %>%