Re: [R] Need to insert various rows of data from a data frame after particular rows from another dataframe

2022-07-27 Thread Ranjeet Kumar Jha
bind" could be used, if the columns in both sets > are the same and in the same order. After that you can reorder the > resulting > data frame as you wish by "order". AFAIK for most functions row order in > data frame does not matter. > > Cheers > Petr > > &g

[R] Need panel plots by each state, comprising three columns in R

2022-07-19 Thread Ranjeet Kumar Jha
Hello, I need to draw a panel plot by each importing the attached csv data (sample panel plot attached as well). Each state should contain three columns- wt, avg, and observed, may be represented as legend or x-axis, and y-axis should show values. I tried doing it in ggplot in R but couldn't succ

[R] need to plot multiple spatial maps side-by-side in a single window using sf plot function in R

2022-05-14 Thread Ranjeet Kumar Jha
Hi, I like to plot all my 5 spatial maps of drought indices in a single window using the sf plot function in R. I am able to plot all maps separately but unable to plot altogether. All indexes are showing drought indices. I really appreciate your help! Here is the code: #merging using merge fun

Re: [R] Need help with merging .RDS data frame yield value with district shapefile corresponding GDMID and plot the graph

2022-05-12 Thread Ranjeet Kumar Jha
10:01, Ranjeet Kumar Jha wrote: > > Thanks for your reply. Though codes are in > > " yield. r" file. > > > You need to pay better attention to what Bert said about your > attachment. `.r` files are not allowed as an attachment type. You need > to either provide

[R] Request for help in solving an optimization problem

2021-12-23 Thread Amarjeet Kumar
ter capabilities to find solutions for this optimization problem but, as I have no experience in R, I am unable to move a step further. If you can find some time to help me in this regard I would be very thankful to you for this timely help. Thank you in advance for your help. Kind Regards, *

[R] Bivariate ReLU Distribution

2020-07-10 Thread Arun Kumar Saha via R-help
Hi, I would rather have a Statistics related question hope experts here can provide some suggestions. I have posted this request in some other forum but failed to generate meaningful response I am looking for some technical document on deriving the Distribution function for sum of 2 ReLU(𝑋)=max{

[R] Learning Shinny

2020-04-09 Thread Kumar t
Hello all , Very sorry to ask you question that might have been answered earlier . I could not able to find right answer . My requirement is get decent level of proficiency in the R-Shiny . Is there path ( I mean do I need to have knowledge of Dplyr to get data in right format ) that I need to

[R] Installation of R/qtl

2018-09-27 Thread Swapan Kumar Tripathy
Sir, I have successfully installed R, but could not install the R/qtl. There is instruction that "To install R/qtl, the simplest approach is to start R and type install.packages("qtl"). But, I do not find any step where to type install.packages("qtl") during the process of installing R. Kindly, ad

[R] Query on read.xls function in gdata

2018-09-06 Thread Aakash Kumar
Hi Team, I am trying to read in .xls files in R using read.xls function present in gdata package. I have installed the required perl dependencies as well. Yet, I am facing the following error. "*Error in xls2sep : Intermediate file is missing*" Could someone please help me out understanding the

[R] Forecasting methods in R

2018-07-12 Thread Amitabh Kumar via R-help
Hi, I am learning R for forecasting. Is there any document where I can learn how to apply R in forecasting time series using Holt-Winters method and ARIMA modelling? Thanks,Amitabh [[alternative HTML version deleted]] __ R-help@r-project.org ma

[R] change location of temporary files

2018-02-23 Thread Kumar Mainali
use the usual location for temp files in the internal HD. Thanks in advance, Kumar Mainali -- Postdoctoral Associate Department of Biology University of Maryland, College Park ᐧ [[alternative HTML version deleted]] __ R-help@r-project.org

Re: [R] Help with Regular expression

2018-01-05 Thread Arun Kumar Saha
= "%d%b%Y%H%M%OS") [1] "2018-01-03 16:00:00 GMT" _ Arun Kumar Saha, FRM QUANTITATIVE RISK AND HEDGE CONSULTING SPECIALIST LinkedIn: http://in.linkedin.com/in/ArunFRM Personal : http://WWW.ARUNSAHA.IN <http://WWW.ARUNSAHA.IN> ___

Re: [R] parallel computing with foreach()

2017-12-07 Thread Kumar Mainali
ata.frame(values = unlist(unname(x)), ind, stringsAsFactors = > FALSE) : > arguments imply differing number of rows: 25, 0 > > HTH, > > Peter > > On Wed, Dec 6, 2017 at 10:03 PM, Kumar Mainali > wrote: > > I have used foreach() for parallel computing but in the cur

[R] parallel computing with foreach()

2017-12-06 Thread Kumar Mainali
I have used foreach() for parallel computing but in the current problem, it is not working. Given the volume and type of the data involved in the analysis, I will try to give below the complete code without reproducible example. In short, each R environment will draw a set of separate files, perfo

[R] multi variable analysis

2017-10-08 Thread Arun Kumar
Hi All, I have been given three raw data csv files related to an advertising campaign. Impressions, clicks and conversion. They asked me to suggest optimisation suggestions using uni variable and multi variable analysis. The clicks or conversions are spread across various parameters like device, c

[R] fraction of null deviance explained by each node/variable in regression trees

2017-10-05 Thread Kumar Mainali
the root). In the subsequent splits, this formula is slightly different. There probably is a function to get this done within R. Any help is appreciated. Thank you, Kumar Mainali -- Postdoctoral Associate Department of Biology University of Maryland, College Park ᐧ [[alternative HTML

Re: [R] R Programming help needed - Returning dataframes + 2 Variables dynamically

2017-07-28 Thread Vijaya Kumar Regati
uot;Passed Values" [1] 0 [1] 0 [1] "After addition :" [1] 1 [1] 1 [1] "Returned Values :" [1] 0 [1] 0 With Regards, Vijaya Kumar Regati Technical Lead, M3bi India Private Ltd Work: 040-67064732 ____ From: Koustav Pal Sent: Friday, July 28, 2017

[R] R Programming help needed - Returning dataframes + 2 Variables dynamically

2017-07-27 Thread Vijaya Kumar Regati
fn <- function(x,y){ x <- x + 1 y < y + 1 test_data <- rbind(x,y) test_data <- data.frame(test_data) return(test_data) return(c(x,y)) } for ( i in 1:1) { test_data <- Logic_fn(c(x,y)) test_data[1] test_data[2] test_data } With Regards, Vijaya Kumar Regati Disclaimer: IMPORT

[R] Redundancy canonical analysis plot problem in 3D using VEGAN, RGL, SCATTERPLOT3D and SFSMISC

2017-07-18 Thread Sanjay Kumar Jaiswal
Hello Sir I am getting problem in plotting in CCA . Could you please help me? I wrote the below command but I don't know why it is taking only first 5 env data rather than all 9. > strain.data <- read.xlsx("Dee rhiz.xlsx", sheetName="strain", header = T, > row.names = 1) > env.data <- read.xls

Re: [R] help needed for RInside with Qt

2017-06-29 Thread Santosh Kumar
>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 Wed, Jun 28, 2017 at 1:36

[R] help needed for RInside with Qt

2017-06-28 Thread Santosh Kumar
Hello, I am developing an application using Qt framework and C++. I want to use R as statistics engine of my application. After doing some search on internet; I came to the conclusion that RCPP, MPI with RInside is what I need. The next logical task was to quickly tryout "qtdensity" project of RIn

Re: [R] Need Help - R Programming - Using iteration value to change field names for processing for every iteraion

2017-05-30 Thread Vijaya Kumar Regati
Thanks very much. Can someone suggest me how I can close this qn, since I have the solution now ? With Regards, Vijaya Kumar Regati Technical Lead, M3bi India Private Ltd Work: 040-67064732 From: David L Carlson Sent: Wednesday, May 31, 2017 3:35:19 AM To

[R] Fw: Need Help - R Programming - Using iteration value to change field names for processing for every iteraion

2017-05-30 Thread Vijaya Kumar Regati
ave it for references, if needed in future. Thanks all for your references. List Moderator, You can mark the question as closed now. With Regards, Vijaya Kumar Regati Technical Lead, M3bi India Private Ltd Work: 040-67064732 From: Vijaya Kumar Regati Sent: Tuesday

Re: [R] Need Help - R Programming - Using iteration value to change field names for processing for every iteraion

2017-05-30 Thread Vijaya Kumar Regati
thing that changes is Day number in field name and the iteration number should be able to handle that. With Regards, Vijaya Kumar Regati Technical Lead, M3bi India Private Ltd Work: 040-67064732 From: Manjusha Joshi Sent: Tuesday, May 30, 2017 1:42:10 PM To

[R] Need Help - R Programming - Using iteration value to change field names for processing for every iteraion

2017-05-30 Thread Vijaya Kumar Regati
Hi, I am new to R programming, I am trying to work on below requirement. But could not achieve desired result. Appreciate if someone can help me on this : test dataframe : Day1.balc Day2.balc Day3.balc Day4.balc x 100203040 y 10010101

[R] SEM with categorical variables

2017-05-13 Thread Ujjwal Kumar Das
ategorical endogenous variables? Any comments highly appreciated. Regards, Ujjwal Kumar Das PhD Student, Economics Leeds University Business School, UK Email: bn13...@leeds.ac.uk; kdas.ujj...@gmail.com Mobile: +447417445195 Skype: ujjwal.kdasbb [[alternative HTML versi

Re: [R] Problems installing IsoriX package in R

2017-05-06 Thread Vikash Kumar
Install the dependent packages also. Try - install.packages("proxy") #then install.packages("IsoriX") Regards, Vikash Virus-free. www.avast.com

[R] Reg. help for SWAT Calibration

2017-04-26 Thread Sanjeev Kumar
.youtube.com/watch?v=5NFn9paBR98&t=15s This is the video link where i came to know about 'R' Thanks Yours Sincerely Sanjeev Kumar Research Associate Central University of Karnataka Karnataka India [[alternative HTML version deleted]] __

[R] ESTIMATION OF PANEL VAR

2017-03-20 Thread Abhishek Kumar Rohit
Is there any package available for estimating Panel VAR. Can the packages vars and palm be combined in some way to do that? Regards, *Abhishek Rohit* Research Fellow IIM Raipur [[alternative HTML version deleted]] __ R-help@r-project.org mailin

[R] Facebook package error - Can't get reactions

2017-02-22 Thread Vivek kumar Singh
Hi All, I am using facebook package in R. Following is my code. install.packages('Rfacebook',dependencies = T) library('Rfacebook') #create a favebook app and add http://localhost:1410/ to your app fb_oauth <- fbOAuth(app_id="***", app_secret="*") fb_page <-

Re: [R] Predictive analysis based on past data

2016-12-28 Thread Vikash Kumar
Collaborative filtering will be helpful. Regards, Vikash On Wed, Dec 28, 2016 at 3:53 PM, Winson Lui wrote: > HI, > > I have a historical dataset which tells who bought our products. This > dataset contains ID, Age, Gender and Salary. > I have another set of data which contains the four fields

Re: [R] Calendar embedded for event scheduling

2016-08-10 Thread Sriram Kumar
Aug 10, 2016 at 2:58 PM, Sriram Kumar wrote: > > Dear all, > > > > i am presently doing the r codes for developing the shiny app fro my > > professional ,i need to add the calendar for event scheduling and marking > > the different in different color .i search a l

[R] Calendar embedded for event scheduling

2016-08-09 Thread Sriram Kumar
ut of this . its very important and urgent . Thank you Warm Regards, *SRI RAM KUMAR K * * Naval Architect* *Navgathi Marine Design & Constructions Pvt Ltd* 0484-6492607 +918891425212 sri...@navgathi.com www.navgathi.com III/131, North Kalamassery, Kochi, India 683104 P *Please con

Re: [R] dissolve tiny polygons to others with unionSpatialPolygons{maptools}

2016-06-06 Thread Kumar Mainali
appreciated! ᐧ Postdoctoral Associate Department of Biology University of Maryland, College Park On Mon, Jun 6, 2016 at 9:24 AM, Roger Bivand wrote: > On Mon, 6 Jun 2016, Kumar Mainali wrote: > > I am trying to use unionSpatialPolygons() of maptools to eliminate sliver >> in species r

[R] dissolve tiny polygons to others with unionSpatialPolygons{maptools}

2016-06-05 Thread Kumar Mainali
raster} (IDs <- p.ranges$style_id) library(maptools) unionSpatialPolygons(p.ranges, IDs = IDs, threshold = 1.5) ​-- Kumar Mainali Postdoctoral Associate Department of Biology University of Maryland, College Park ᐧ [[alternative HTML version deleted]] ___

[R] kernel matching pursuit

2016-06-03 Thread Shyam Kumar Basnet
Hi, Do you know any R-package for Kernel matching using the propensity scores? I really appreciate your help. Thanks, Shyam Basnet Sweden [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, s

[R] Unable to update R software to 3.3.0

2016-06-01 Thread Sunish Kumar Bilandi
Hi Team, I am using RedHat 5 and installed R using YUM, (R version 3.2.3) Now I want to update R version tp 3.3.0, but I am unable to do that, Is there any alternate to do this? Hope to hear from your side. Regards, Sunish Bilandi Business Analyst, CIDA-01 Evalueserve Office: +91 124 412000

[R] Connecting to Hive in Kerberos enabled hadoop cluster from R

2016-05-25 Thread Kumar, Anoop (GE Corporate, consultant)
sekerberos keytab inside R code? What is the function for ir. Also which hadoop libraries should we import for R and hive interaction? Thanks & Regards, Anoop Kumar K M __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see http

[R] R help - Web Scraping of Google News using R

2016-05-24 Thread Kumar Gauraw
ader = c("User-Agent" = "R(2.10.0)")) html <- htmlTreeParse(doc, useInternalNodes = TRUE, error=function(...){}) * nodes <- getNodeSet(html, "//a[@class='l _HId']")* return(sapply(nodes, function(x) x <- xmlValue(x))) } Kindly help me to understand

[R] Elasticities in Nested logit model

2016-02-04 Thread Shyam Kumar Basnet
Dear all, I am trying to compute the elasticities based on the Nested Logit Model. I have been following the book "Econometric Analysis by Greene (2002)". I am first trying to re-produce the ELASTICITIES as reported by Greene(2002), and then plan to replicate with my original data. Unfortunate

[R] How to plott bar graphics

2015-10-25 Thread Ujjwal Kumar
HI friends I am struggling in plotting bar graph with this data sets in R. although I can plot it in Microsoft excel( attached graphics). I need help in coding it for R.(SE=standar error) > >data > habitat > proportion_use > proportion_use_SE > selectivity_index > selectivity_index_SE > grassland >

Re: [R] Help with color.scale {plotrix}

2015-10-09 Thread Kumar Mainali
, Oct 9, 2015 at 5:49 PM, William Dunlap wrote: > > Try setting the na.color argument of color.scale to a color string, > > not NA. "#0000" (alpha = 0 is the key part) is transparent so it it > > might > > suit your needs. > > > > Bill Dunlap > >

Re: [R] Help with color.scale {plotrix}

2015-10-09 Thread Kumar Mainali
of Biology University of Maryland, College Park On Fri, Oct 9, 2015 at 11:48 AM, Sarah Goslee wrote: > Hi Kumar, > > You're overthinking it: > > in RGB, colorspace, cs1 is red, cs2 is green, cs3 is blue. > So if cs1=c(1,1),cs2=(c(0,1),cs3=0 (or c(0,0) because of R's rec

Re: [R] Help with color.scale {plotrix}

2015-10-09 Thread Kumar Mainali
sing arguments to max; returning -Inf ᐧ Postdoctoral Associate Department of Biology University of Maryland, College Park On Fri, Oct 9, 2015 at 7:24 AM, Jim Lemon wrote: > Hi Kumar, > The color.scale function translates numeric values into one or more > intervals of color by a line

[R] Help with color.scale {plotrix}

2015-10-08 Thread Kumar Mainali
green and other ranges. Thanks, Kumar Mainali Postdoctoral Associate Department of Biology University of Maryland, College Park [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https

Re: [R] Phi coefficient matrix (package psych)

2015-04-21 Thread Kumar Mainali
Hi Jim, That solves my problem. Than you. -- Kumar ᐧ Postdoctoral Associate Fagan Lab, Department of Biology University of Maryland On Tue, Apr 21, 2015 at 5:31 PM, Jim Lemon wrote: > HI Kumar, > A simple way is: > > phimat<-function(x) { > xcol<-dim(x)[2] > newx&l

[R] Phi coefficient matrix (package psych)

2015-04-21 Thread Kumar Mainali
sample(c(0,1), 10, replace=TRUE) df <- data.frame(x,y,z) cor(df) library(psych) phi(df)​ Thank you, Kumar Mainali Postdoctoral Associate Department of Biology University of Maryland ᐧ [[alternative HTML version deleted]] __ R-help@r-project

[R] Looking for an R package for Set Cover Problem

2015-01-24 Thread Kumar Mainali
number of sets: [image: \{\{1, 2, 3\}, \{4, 5\}\}]. Thank you, Kumar Mainali Postdoctoral Fellow Environmental Science Institute The University of Texas at Austin ᐧ [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To

[R] what is isdst parameter

2015-01-19 Thread Vasantha Kumar Kesavan
Hi, Let me know, how to set/unset "isdst" parameter in system/session level. I could understand the possible values of isdst 0, 1 and -1. Example: Sys.setenv(TZ="PST8PDT"); as.POSIXct("2007-11-04 01:00:00"); when I was executed the above command, LINUX.X64 -> it was treated as PST value. [1]

[R] Solaris: --with-internal-tzcode

2014-11-09 Thread Vasantha Kumar Kesavan
Hi, what is this parameter on Solaris? when I am executing the below command, it is failed with the error message. configure ‘--with-internal-tzcode’ configure: WARNING: unrecognized options: --with-internal-tzcode Version output: platform x86_64-pc-solaris2.10 arch x86_64 o

Re: [R] Daylight Saving Time

2014-11-07 Thread Vasantha Kumar Kesavan
m my phone. Please excuse my brevity. > > On November 6, 2014 4:10:58 PM EST, Vasantha Kumar Kesavan < > info.vas...@gmail.com> wrote: > >In LINUX, I don't want R to use the operating system zoneinfo(Olsen > >database) instead of that I like to point different path wh

Re: [R] Daylight Saving Time

2014-11-06 Thread Vasantha Kumar Kesavan
.OO#. .OO#. rocks...1k > --- > Sent from my phone. Please excuse my brevity. > > On November 6, 2014 3:36:38 PM EST, Vasantha Kumar Kesavan < > info.vas...@gmail.com> wrote: > >Thanks Jeff Newmiller, it is working now. > >

Re: [R] Daylight Saving Time

2014-11-06 Thread Vasantha Kumar Kesavan
arch Engineer (Solar/BatteriesO.O#. #.O#. with > /Software/Embedded Controllers) .OO#. .OO#. rocks...1k > --- > Sent from my phone. Please excuse my brevity. > > On November 6

Re: [R] Timezone Upgrade

2014-11-06 Thread Vasantha Kumar Kesavan
#.O#. with > /Software/Embedded Controllers) .OO#. .OO#. rocks...1k > --- > Sent from my phone. Please excuse my brevity. > > On November 6, 2014 1:28:37 PM EST, Vasantha Kumar Kesavan < >

[R] Timezone Upgrade

2014-11-06 Thread Vasantha Kumar Kesavan
Hi, I would like to know, once the operating system timezone information is updated, what step should be carried out at R for reflecting the operating system(LINUX X64 SOLARIS X64 and WINDOWS X64) update. Thanks Vasanth [[alternative HTML version deleted]] _

[R] Daylight Saving Time

2014-11-06 Thread Vasantha Kumar Kesavan
Hi, I am working R on windows 2012 R2 platform, I have updated the latest hotfixes for time zone information(Microsoft KB 2981580. ). But still R is not populating correct date time values(Standard and Daylight saving). Could you please advise me, how to

Re: [R] Fwd: as.POSIXlt() Function

2014-10-23 Thread Vasantha Kumar Kesavan
Live: OO#.. Dead: OO#.. Playing > > Research Engineer (Solar/BatteriesO.O#. #.O#. with > > /Software/Embedded Controllers) .OO#. .OO#. > rocks...1k > > > --

[R] Fwd: as.POSIXlt() Function

2014-10-22 Thread Vasantha Kumar Kesavan
Hi, I am a new R user and also not sure about the below concern is really a bug, My concern are listed below, Look at the below example, when Sys.Date () is called within the as.POSIXlt () function. Why it is displaying only the date value and the timezone is selected to UTC even though the TZ v

Re: [R] Retrieving lists of colnames

2014-10-16 Thread Vikash Kumar
;-data.frame(data) *> names(data[,which(apply(data,2,FUN = function(x){all(x>6)}))])* [1] "d" "e" Thanks On Thu, Oct 16, 2014 at 3:26 PM, PIKAL Petr wrote: > Hi > > > -Original Message- > > From: r-help-boun...@r-project.org [mailto:r-help-b

Re: [R] Retrieving lists of colnames

2014-10-15 Thread Vikash Kumar
Hi Adam, I guess below code would help you achieve the desired ouput. > colnames(data[,which(apply(data,2,FUN = function(x){any(x>0.5)}))]) Happy Learning! Vikash On Wed, Oct 15, 2014 at 5:53 PM, adam.n.jenkin...@gmail.com < adam.n.jenkin...@gmail.com> wrote: > > > Hi what I have is a large e

Re: [R] how to loop through dataframe objects in environment

2014-10-15 Thread Vikash Kumar
Hi Stephen, Try out lapply(). It would help you loop through all data frames and sum. Regards, Vikash On Thu, Oct 16, 2014 at 1:58 AM, Stephen HK Wong wrote: > Dear All, > > I have many 50 objects they are all dataframes. Each dataframe has many > rows and four column. I simply want to do an

[R] need help

2014-09-20 Thread Ujjwal Kumar
2 variables: ..$ x: num 445100 507600 507600 445100 ..$ y: num 2434700 2434700 2483700 2483700 ..- attr(*, "out.attrs")=List of 2 .. ..$ dim : Named int 2 2 .. .. ..- attr(*, "names")= chr "x" "y" .. ..$ dimnames:List of 2 .. .. ..$ x: chr

[R] ReadMM does not support array format

2014-09-16 Thread Manoj Kumar
ings, : scan() expected 'an integer', got '-8.1977721447407614e-01' which means that it expects the coordinate matrix format. Is this a bug? or am I doing something wrong? since I expect the MatrixMarket format to handle both formats of data. Thanks -- Godspeed, Manoj Ku

[R] R-tool - OS compatibility help

2014-08-29 Thread Ravi Kumar Rupakula
Dear Support, Please let us know Windows 2008R2 OS compatibility for "R" tool is available or not? If available, please let us know the details.

[R] mvpart question - how to calculate deviance explained by variables?

2014-04-24 Thread Kumar Mainali
For instance, I did it manually for one variable in one split as below: the deviance explained by cond = *1 – (2857+491)/3905.98 = 0.1426* Thank you. - Kumar Mainali ᐧ [[alternative HTML version deleted]] __ R-help@r-project.org mailin

[R] mvpart - is there a convenient way to calculate deviance explained by variables?

2014-04-23 Thread Kumar Mainali
e deviance explained by all variables. I cannot seem to find it. The function printcp gives you a nice table with rel error which you can use to estimate R^2. But printcp gives output for variously sized trees, not for variables entered into the model. - Kumar Mainali the deviance explained by co

[R] How to convert R package and dependencies to debian packages?

2014-04-22 Thread Sathish Kumar
Hi, I need to install R packages in several nodes (10+) in AWS. I wont be able to open R shell in each and do install.packages("foo") This will be done using a configuration management tool like Puppet and it'll be easier if i can do an apt-get installation of R packages automatically. I found a

[R] mvpart - easy way to calculate deviance explained by variables

2014-04-22 Thread Kumar Mainali
o tabulate deviance explained by all variables. I cannot seem to find it. The function printcp gives you a nice table with rel error which you can use to estimate R^2. But printcp gives output for variously sized trees, not for variables entered into the model. - Kumar Mainali the deviance explained by co

Re: [R] Need help to convert data frame to transaction set.

2014-04-20 Thread Sathish Kumar
CARE",..: 1 1 1 4 1 1 1 1 1 1 > ... > # $ X.2: Factor w/ 2 levels "","BOOT)": 1 1 1 1 1 1 1 1 1 1 ... > > > part$Parts <- interaction(part[,2:5],sep=" ",drop=TRUE) > part <- part[,1:2] > str(part) > #'data.frame':

Re: [R] Need help to convert data frame to transaction set.

2014-04-20 Thread Sathish Kumar
e format with > # 7 transactions (rows) and > # 48842 items (columns) > > > > A.K. > > > On Saturday, April 19, 2014 5:01 PM, Sathish Kumar > wrote: > Hi, > > To convert coerce the data set to transaction data set I used the code > > trans4 <- as(sp

[R] Need help to convert data frame to transaction set.

2014-04-19 Thread Sathish Kumar
Hi, To convert coerce the data set to transaction data set I used the code trans4 <- as(split(a[,"Cust_ID"], a[,"Parts"]), "transactions") but I am getting the following error- Error in as(split(a[, "Cust_ID"], a[, "Parts"]), "transactions") : nomethod or default for coercing “list” to “transac

[R] Requirement for Ruby on rails [REQ:10217055]

2013-11-27 Thread Revanth kumar Gudimalla
[1]Click here to unsubscribe if you no longer wish to receive our emails Dear Recruiter, Here is our Direct client requirement which can be filled immediately. Kindly respond to this requirement with your consultant resume, contact and current location info to speed u

[R] Change date time to epoch time

2013-11-16 Thread vivek kumar singh
Hi All, I have time series data in (Year-month-date-hour-minute-second) format and i want to convert it to epoch time. I have tried the following: *> Sys.time()** **[1] "2013-11-17 10:39:46 MYT"** **> as.numeric(Sys.time())** **[1] 1384656006** **> as.numeric("2013-11-17 10:39:46 MYT")** **[1] N

[R] Subject: Regress multiple independent variables on multiple dependent variables

2013-11-04 Thread Kumar Raj
I want to estimate the effect of several independent variables on several dependent variables. In the example below I wanted to estimate the effect of three independent variables on ozone and temperature. My aim is to create a list of dependent and independent variables and automate the process ra

[R] Error: XML content does not seem to be XML: ''

2013-08-30 Thread Anil Kumar
Hi there, I am attempting to access an Allegro Graph site, using SPARQL function in RStudio and am getting this error message "Error: XML content does not seem to be XML: ''. However, the same query that I am using within the SPARQL function can get back the results when directly from the browse

[R] Step wave Detection using R

2013-06-27 Thread Piyush Kumar
I am trying to detect a positively increasing trend in a time series data, to which when I apply the rolling mean it almost turns into a step wave function. The sharp rise in slope of rolling mean is an indication of positive trend, thus the rolling mean becomes like a step wave function. Is there

[R] lineplot.ci{sciplot}: Split x.factor label in two lines

2013-06-06 Thread Kumar Mainali
Some of the levels in my X factor has more than one word (e.g., North America) which I would like to split into two lines so that my plot does not get too wide. Any help is appreciated. lineplot.CI(x.factor = Continent, response = PCC.PrsPts, group = PointSource, data = master2, cex = 1.2, xlab =

[R] X-axis in meandist {vegan}

2013-06-02 Thread Kumar Mainali
evels that delineate clusters. dataEnvDist <- vegdist(dataEnv, method="bray") ## bray curtis dissimilarity meanDist <- meandist(dataEnvDist, dataFact$Source_by_Type) plot(meanDist, ylab="Mean dissimilarity") Thanks in advance. Kumar Mainali -- Section of Integrative B

[R] biglm error:

2013-05-31 Thread Kumar Manglam Thakur
la, data = datafun, ...) 4: bigglm(formula = formula, data = datafun, ...) 3: bigglm.data.frame(formula1, data = car[i, , drop = FALSE]) 2: bigglm(formula1, data = car[i, , drop = FALSE]) 1: bigglm(formula1, data = car[i, , drop = FALSE]) at #6 Warm Regards Kumar Manglam Thakur CAUTIO

[R] NMDS in Vegan: problems in stressplot, best solution

2013-04-26 Thread Kumar Mainali
"), autotransform =TRUE, wascores = TRUE, expand = TRUE, trace = 2) plot(parth.mds, type = "p") Thanks in advance, Kumar -- Section of Integrative Biology University of Texas at Austin Austin, Texas 78712, USA [[alternative HTML version deleted]] ___

[R] Connecting SSAS Cube From R

2013-04-11 Thread inampudi anil kumar
Hi All, Does anyone have a connection string example for connecting SqlServer Analysis Services cube (MS SQL Server 2005 or 2008). WITH R . For Connecting Sqlserver, i tried using RODBC/RJDBC Connection..but Still hard luck for me..Could you please provide me..which package i need to download a

Re: [R] Model selection in nonstationary VAR

2013-02-23 Thread Arun Kumar Saha
which method in statistics is completely free from model misspecification? Thanks and regards, _ Arun Kumar Saha, FRM QUANTITATIVE RISK AND HEDGE CONSULTING SPECIALIST Visit me at: http://in.linkedin.com/in/ArunFRM

Re: [R] file copy to password protected network drive

2013-02-15 Thread Kumar Mainali
O.O#. #.O#. with > /Software/Embedded Controllers) .OO#. .OO#. rocks...1k > --- > Sent from my phone. Please excuse my brevity. > > Kumar Mainali wrote: > > >I am trying to copy f

[R] file copy to password protected network drive

2013-02-14 Thread Kumar Mainali
...@ranch.tacc.utexas.edu/uniqueID/destinationfolder/file.tar", overwrite = FALSE) Thanks in advance, Kumar On Thu, Feb 14, 2013 at 4:41 AM, e-letter wrote: > Readers, > > For this data set: > > testvalues<-c(10,20,30,40) > > How to amend the plot instruction: > >

Re: [R] Programmatically give file name to a matrix

2013-01-30 Thread Kumar Mainali
Thank you Pascal and Greg for the suggestion. That is exactly what I needed! - Kumar On Wed, Jan 30, 2013 at 2:14 AM, Pascal Oettli wrote: > Hello, > > ?assign > > assign(paste("plotroc_GBM_Trn_**", i, sep=""), matrix(rnorm(100),10,10)) > > HTH,

[R] Programmatically give file name to a matrix

2013-01-30 Thread Kumar Mainali
oc_GBM_Trn_", i, sep="") <- matrix } Thanks, Kumar -- Section of Integrative Biology University of Texas at Austin Austin, Texas 78712, USA [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://sta

Re: [R] Spammer radhi

2012-12-24 Thread Arun Kumar Saha
Can the Statisticians here develop some good Statistical tool to stop this Spamming keeping Type-I error almost zero? Thanks and regards, _ Arun Kumar Saha, FRM QUANTITATIVE RISK AND HEDGE CONSULTING SPECIALIST Visit me at: http

Re: [R] save to file

2012-12-16 Thread vivek kumar singh
On 17/12/2012 11:03, Felipe Carrillo wrote: > I did check that link but it doesn't do what I want..thanks for trying though. > > > Felipe D. Carrillo > Supervisory Fishery Biologist > Department of the Interior > US Fish & Wildlife Service > California, USA > http://www.fws.gov/redbluff/rbdd_jsmp.a

[R] Help regarding calendar heatmap

2012-11-30 Thread sharan kumar
Hi, I would like to create calendarheat map with Hours of day on Y axis and Date on X axis. Is there any function to do so? Can someone help me with reference. Thanks Sharan [[alternative HTML version deleted]] __ R-help@r-project.org mailin

[R] SVM using R

2012-11-29 Thread vivek kumar singh
HI All, I am very new to R tool. Can some one please suggest me some tutorial links for understanding SVM using R. Regards, Vivek __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http

Re: [R] How to divide each column with its own value

2012-09-16 Thread Jha, Ashutosh Kumar
Dear Berend,   No need to devide what all you need a indentity matrix with same dimesion.   Following is one way to achieve this.     mat Hi, > > I have a matrix as below: > > mat= >     [,1]  [,2]  [,3] > [1,]    1    4    7 > [2,]    2    5    8 > [3,]

[R] code coverter r to C

2012-07-26 Thread suman kumar
Hi all, is there a package for converting R code into C code? Thanks. Suman -- View this message in context: http://r.789695.n4.nabble.com/code-coverter-r-to-C-tp4637999.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-projec

Re: [R] SSEc and SSEr

2012-07-26 Thread suman kumar
You can make different lm objects by adding all predictors and compare them with anova(lm1,lm2,lm3...). See if p value is not significant, the more complex model is not appropriate. Dr Suman Kumar -- View this message in context: http://r.789695.n4.nabble.com/SSEc-and-SSEr-tp4637855p4637963

Re: [R] Working with Numbers generated from Regression Output

2012-07-26 Thread suman kumar
Check str(lmobj). You can see the underlying structure of lm object. It is actually a list. You can access its individual components with $ operator. Bye -- View this message in context: http://r.789695.n4.nabble.com/Working-with-Numbers-generated-from-Regression-Output-tp4637919p4637957.htm

[R] how to plot hazard function for coxph model?

2012-07-26 Thread suman kumar
Dear all, I have been trying to plot hazard function in R for survival data, but in vain. Can anybody help me out in plotting hazard function in R? Dr Suman Kumar -- View this message in context: http://r.789695.n4.nabble.com/how-to-plot-hazard-function-for-coxph-model-tp4637953.html Sent

[R] how to analyse non parametric test

2012-07-05 Thread Anil Kumar
Please i am Anilkumar G.V studieng MBA final sem for this data i want to find out non parametric tests please help me -- Anilkumar G.V Jr,MBA __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting gu

[R] unable to install "robust" in R 2.15 with g++ 4.7

2012-04-12 Thread Suresh Kumar
Hi, I am unable to install "robust" package (g++ compile error occurs) if the g++ version is 4.7. However, for g++ 4.6 i am able to install. I was trying to do this in Ubuntu 12.04. R 2.15 itself was installed from the PPA, https://launchpad.net/~marutter/+archive/rrutter. Is it a bug? thanks s

Re: [R] Legend based on levels of a variable

2012-04-06 Thread Kumar Mainali
Thank you every body for your suggestion. It does help. On Fri, Apr 6, 2012 at 2:37 AM, windmagics_lsl wrote: > I think there may 3 legends should be added in your plot > the argument col, pch and pt.cex should be in the same length with legend, > but the objects col, pch > and cex you defined

[R] Legend based on levels of a variable

2012-04-05 Thread Kumar Mainali
nt levels of Region. Something like this: legend(4,12.5, col(levels(Category), Asia="red", NorthAmerica="blue", SouthAmerica="green")) Thanks, Kumar Region axis1 axis2 NorthAmerica 5 14 NorthAmerica 8 13 NorthAmerica 8 11 NorthAmerica 6 11 NorthAmerica 5 13

[R] Selecting files with a particular string in filename

2012-04-01 Thread Kumar Mainali
to be selected do have a unique "pattern" in their file name. However, I cannot use list.files function because it looks for a specific path. Any help is appreciated. Thanks in advance. - Kumar for (i in 1:100) { name_rep = paste("rep_",i,"_",sep="&quo

  1   2   >