Re: [R] open a zip file

2016-08-07 Thread Roy Mendelssohn - NOAA Federal
If I break it into parts, I find that the "GET" fails. > Year <- format(Sys.Date(), "%Y") >Month <- format(Sys.Date(), "%m") > junk <- paste("https://mbsdisclosure.fanniemae.com/disclosure-docs/monthly/;, +"mbs", +as.character(Month), +

[R] open a zip file

2016-08-07 Thread Glenn Schultz
All I have this code #=== Function Downloads the Factor File #' A function to download FNMA Pool Factors #' #' @importFrom httr GET #' @importFrom httr write_disk #' @importFrom httr http_status #' @importFrom httr progress #' @export FNMAPoolFactor <- function(){

Re: [R] R help

2016-08-07 Thread Jim Lemon
Hi Vladimir, This may fix the NA problem: vdat<-read.table(text="numberoftweet,tweet,locations,badwords 1,My cat is asleep,London,glum 2,My cat is flying,Paris,dashed 3,My cat is dancing,Berlin,mopey 4,My cat is singing,Rome,ill 5,My cat is reading,Budapest,sad 6,My cat is

Re: [R] Creating Dummy Var in R for regression?

2016-08-07 Thread Shivi Bhatia
Thank you Jeremiah and all others for the assistance. This really helped. On Sat, Aug 6, 2016 at 5:01 AM, jeremiah rounds wrote: > Something like: > > d = data.frame(score = sample(1:10, 100, replace=TRUE)) > d$score_t = "low" > d$score_t[d$score > 3] = "medium" >

[R] metaprop

2016-08-07 Thread Carlos Javier Rincon Rodriguez
hi, i am using the funtion metaprop but when i try to save the proportion estimation by subgrup using the option "byvar", the value in TE.fixed.w are the transformed proportion, and i need the untranformed proportion. I try with the option backtranf=true, but doesn`t change anithing. I have so

Re: [R] changing x and y ranges in a PCA plot created by library(labdsv)

2016-08-07 Thread William Dunlap via R-help
labdsv::plot.pca() does not pass its unrecognized arguments (in ...) to plot(). You can fix this by adding the argument ... to its call to plot(), right after 'main = title', in plot.pca or by mailing the maintainer > maintainer("labdsv") [1] "David W. Roberts " and

Re: [R] changing x and y ranges in a PCA plot created by library(labdsv)

2016-08-07 Thread stephen sefick
Can you provide code and data (with dput)? You will likely get an answer more quickly. On Sun, Aug 7, 2016 at 4:34 AM, Mohsen Sharafatmandrad < mohsen.sharafatmand...@gmail.com> wrote: > Hi, > > I want to change x and y ranges in a PCA plot created by library(labdsv). > When I run "plot(o.pca,

Re: [R] SAS file

2016-08-07 Thread John Kane
As Jim says the file did not arrive. R-help is very fussy about what kind of files it accepts. If you are still having a problem it would be a good idea to upload it to file-sharing place such as Dropbox or Mediafire and just post the link here. John Kane Kingston ON Canada > -Original

[R] changing x and y ranges in a PCA plot created by library(labdsv)

2016-08-07 Thread Mohsen Sharafatmandrad
Hi, I want to change x and y ranges in a PCA plot created by library(labdsv). When I run "plot(o.pca, xlim=c(-2, 3), ylim=c(-2, 4))", nothing will change. I really appreciate if somebody can help on this. Cheers [[alternative HTML version deleted]]