e attention and support for installin and using JGR
thanks and regards,
krishna
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://ww
I was trying to study arules in R and got stuck on this doubt:
How does arules code decide which column to be in LHS and which in RHS??
[[alternative HTML version deleted]]
__
R-help@r-project.org mai
Hello All,
Could any one of you kindly let me know , if there is an R package which has
Cointegrated Regression Durbin Watson test ?
lmtest package has a function dwtest but this is not for cointegrated
systems, which uses different critical values
Regards
Radha
[[alternative HTML versi
Greetings, I have a vector of the form:
[10,8,1,3,0,8,NA,NA,NA,NA,2,1,6,NA,NA,NA,0,5,1,9...] That is, a combination
of sequences of non-missing values and missing values, with each sequence
possibly of a different length.
I'd like to create another vector which will help me pick out the sequences
Many thanks to all who responded, and especially for the promptness of your
answers. The common thread in your solutions is the use of rle, a very
useful function of which I was ignorant.
--Krishna
[[alternative HTML version deleted]]
__
R
Hello,
I have a hierarchical dataset of this form and am trying to analyze it in
R.
1 subject
Tested under 2 conditions: A and B
10 sesssions in each condition
In each session, 2 kinds of tests: Test 1 and Test 2
200 independent repetitions of each test-type, with 200 Yes/No answers
So I th
Hi Mary,
One can use arrows too...
Here is the code :
x<-seq(75,225,0.1)
plot(x,dnorm(x,mean=140, sd=15), type='l', col='navy')
*arrows(149,0,149,dnorm(149,140,15),length=0)
*par(new=T)
plot(x,dnorm(x,mean=150, sd=15), type='l', col='orange',axes=F)
Regards
Radha
On Sun, Jul 26, 2009 at 5:09
Hi All,
is there a way to download data from metastock to R-software. most of my data
is in date,OHLC format downloaded from reuters to metastock software in my
local pc.
many thanks for the help.,
krishna
[[alternative HTML version deleted
age:
> In write.table(NULL, "tables.csv", append = T, col.names = NA, :
> appending column names to file
I tried col.names=F in the write.csv call, but the argument is ignored,
presumably because NULL does not have col.names.
Is there a better way to insert the blank lines? Many t
Perfect, thanks very much!
On Wed, Jan 6, 2010 at 10:44 AM, Gabor Grothendieck wrote:
> Try this:
>
> cat("\n", file = "tables.csv", append = TRUE)
>
>
> On Wed, Jan 6, 2010 at 11:36 AM, Krishna Tateneni
> wrote:
> > Greetings and happy new ye
Hello R-helpers,
I would like to fit a non-linear function to data (Discrete X axis,
over-dispersed Poisson values on the Y axis).
I found the functions gnlr in the gnlm package from Jim Lindsey: this can
handle nonlinear regression equations for the parameters of Poisson and
negative bi
following message: "Error in eval(predvars, data, env) : invalid 'envir'
argument." Any insight into what is going on "under the hood"?
Many thanks,
--Krishna
x1 = rnorm(100)
x2 = rnorm(100)
x3 = rnorm(100)
y = x1 + 2*x2 + 3*x3 + 0.05*rnorm(100)
d = data.frame(y,x1,x
he data frame?
Also, if there is a better way to achieve my goal of getting the
correlations between all variable pairs, I'd love to know.
Thanks in advance for any responses!
--Krishna
[[alternative HTML version deleted]]
__
R-help@r-proje
Hello again,
I have found that if I use sapply, I do not get a warning, i.e.,
lbl1 = sapply(d[,var1],label)
works correctly and gives no warning.
I'm sorry this did not occur to me earlier, my apologies!
--Krishna
On Thu, Dec 2, 2010 at 11:36 AM, Krishna Tateneni wrote:
> Hello,
stion is clear.
Any assistance will be greatly appreciated and many thanks for the same.
Regards,
Krishna
Date: Sun, 19 Dec 2010 15:42:15 -0800
From: Dennis Murphy
To: HUXTERE
Cc: r-help@r-project.org
Subject: Re: [R] monthly median in a daily dataset
Message-ID:
Content-Type: text/plai
Hi All,
I am trying to install JGR GUI for R (windows xp) but facing the problem.
The following error message is displayed when I click on JGR.exe
"Cannot find Java/R Interface (JRI) library (jri.dll)
Please make sure you start JGR by double clicking the JGR.exe program"
I know this is R help
Hi All
I have these questions and request members expert view on this.
a) I have a dataframe (df) with five factors (identity variables) and value
(measured value). The id variables are Year, Country, Commodity, Attribute,
Unit. Value is a value for each combination of this.
I would like to
ion
Regards,
SNVK
-Original Message-
From: Petr PIKAL [mailto:petr.pi...@precheza.cz]
Sent: Tuesday, January 04, 2011 4:06 PM
To: SNV Krishna
Cc: r-help@r-project.org
Subject: Odp: [R] how to subset unique factor combinations from a data
frame.
Hi
r-help-boun...@r-project.org napsal
Hi Dennis,
It worked! this is what I am looking for. Many thanks.
Rgds,
SNVK
_
From: Dennis Murphy [mailto:djmu...@gmail.com]
Sent: Tuesday, January 04, 2011 9:07 PM
To: SNV Krishna
Cc: r-help@r-project.org
Subject: Re: [R] how to subset unique factor combinations from a data
uot;long")
I found myself surprised by the results--the column labeled "y" is actually
the data from "x1" and "x2", and the column labeled "x" is actually the data
from "y1" and "y2".
Is this behaviour of reshape as intended? That
1.11 1 5 1
> 2.11 2 6 2
> 1.22 3 7 1
> 2.22 4 8 2
>
> HTH,
> Dennis
>
> On Fri, Aug 6, 2010 at 10:28 AM, Krishna Tateneni wrote:
>
>> Hello,
>>
>> A quick question for my edification. When I run the following (R 2.8.1 on
>> Micros
seasonality?
b) which gives a better estimate on seasonality stl() or a robust linear
model like MASS::rlm(mean price ~ month), considering the fact that the
variable analysed is price series.
Many thanks for the insight and help
Regards,
Krishna
[[alternative HTML version deleted
at/where could be the problem? Many thanks for the idea and
support.
Regards,
SNV Krishna
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting g
e with Google, but not turned up
anything so far.
Many thanks,
--Krishna
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/
or b
x y
1 a 1
2 b 2
9 a 9
12 b 12
> df[df$x %in% c('a','b'),] # subsetting using subscripts returned all rows
x y
1 a 1
2 b 2
9 a 9
10 a 10
11 b 11
12 b 12
I know there might be a problem with subset syntax that I have used, but
could
Hi All,
1) Is it possible to set the options such that R opens a new script editor
every time I start the R and 2) specify the size of windows.
Thanks for the suggestion and Best regards,
Krishna
[[alternative HTML version deleted
O" in it. I tried
> grep("\.BO",tickers)
Error: '\.' is an unrecognized escape in character string starting "\."
> grep(".BO",tickers)
[1] 1
Could any one please guide me on this. Many thanks for the help
Best Reg
Hi,
I noticed the mistake, first thing is double escape, so it should be "\\.BO"
instead of "\.BO" . Second and more important observation is tickers$V1.
Thanks for pointing out David and thank you all for the help.
Best regards,
Krishna
-Original Message-
F
Hi,
I am a very occasional user of R, and will be grateful for some help in
constructing a regression across groups.
Here is an example:
library(MASS)
attach(cats)
Sex[120:144]<-factor(TG) #Renaming some males to transgender, to create 3
groups, male, female and transgender
out<-lm(Bwt
Hello,
Why does anova.lm sometimes return a p-value and at other times not ? Is
it because it recognizes nested models from non-nested ones ?
x<-seq(1,100,1)
y<-3*x+rnorm(100)
anova(lm(y~x),lm(y~x+I(x^2)),test="F")
Analysis of Variance Table
Model 1: y ~ x
Model 2: y ~ x + I(x^2)
Res.D
plorer can aggregate the files into a single window based on
search criteria, but couldn't replace them.
Is it possible to do this through R-software?
Thanks in advance for the input and help.
Regards,
S.N.V. Krishna
[[alterna
nction transposes the data for the "y" and "x"
variables in the long form of the data without any warning.
So to avoid the error I was running into, it is necessary to either make
sure the arguments to varying and v.names are sorted correctly, or to use a
list argument as Dennis h
be greatly appreciated.
Thank you very much,
Krishna
Krishna Pacifici
Ph.D. Student
Georgia Cooperative Fish and Wildlife Unit
Warnell School of Forestry and Natural Resources
University of Georgia
Athens, GA 30602
(706) 248-9968
__
R-help@r-project.
One possibility is to save in ASCII format from Matlab (save -ascii)
Suresh
> On 17/11/2007, Prof Leslie Smith <[EMAIL PROTECTED]> wrote:
>> Is there any way to read these files (standard .mat files, created by
>> matlab version 7 onwards are compressed)? I know that R.matlab doesn't
>> read the
Dear list members,
I am trying to understand this output from the smoothing package locfit
(1.5-4, running on R 2.8.1 on Windows Vista 64 bit).
# sample code
x<-1:100
y<-rnorm(100)
fit<-locfit(y~x,family="gaussian") #default parameters are fine
plot(fit,band="global") #plot seems "reasona
understand why there is such a
difference between the two. If there is a simple explanation or
recommendation, I am eager to hear it.
Thanks, Suresh
On Tue, 03 Mar 2009 16:56:43 +0100, Suresh Krishna
wrote:
Dear list members,
I am trying to understand this output from the smoothing package
David Winsemis wrote:
I think you should read (or re-read) the locfit help page and *also*
the links from that page to the help pages for locfit.raw and rv. I
would have thought that since family= is not an argument to locfit per
se, but rather is documented in locfit.raw that you have ye
On Tue, 03 Mar 2009 22:10:42 +0100, David Winsemius
wrote:
That is what I thought to be the critical paragraph. The variance is
assumed to be = 1 when you use family="gaussian" rather than the default
of family="qgauss". You give it a vector, 1000*rnorm(100), that ranges
widely and a sma
earch("string")" and also looked at help.start()
but I think it just displays whats available on my machine.
Regards and Thanks
Krishna
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read th
select() call but how do I do the same in R.
Thanks again for reading such a long email and thanks in advance for
your pointers.
Thanks and Regards
Krishna
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
First of all, let me confess that I am a newbie to R and don't know
much about the language or the environment. We have a need for
plugging in R in our production runtime and need the ability to pull
data out of our existing services. I am trying to see if I can take
advantage of SSOAP such that we
I recently started trying R and SSOAP and was able to successfully try a "hello
world" service. I am now trying to get a more complicated interface to work with
SSOAP and so far failed miserably at that and so need any help I can
get from here.
The service I am attaching is a prototype for a full
When I load a table from a data source and run summary() on it, the
summary gives me basic summary statistics I'm looking for, and it also
discriminates between quantitative and qualitative data and summarizes
them accordingly. For example, if I do this:
mydata <- read.table("data.txt")
I have a three-way unbalanced ANOVA that I need to calculate (fixed effects
plus interactions, no random effects). But word has it that aov() is good
only for balanced designs. I have seen a number of different recommendations
for working with unbalanced designs, but they seem to differ widely (car
in some of the discussions that
using those were recommended for working with unbalanced designs. And
specifying random effects with zero variance, for example, would probably
serve my purposes.
Thank you for your help.
Sincerely,
Krishna
On Sun, Apr 3, 2011 at 7:28 AM, John Fox wrote:
On Sun, Apr 3, 2011 at 3:10 AM, peter dalgaard wrote:
>
> On Apr 3, 2011, at 09:24 , Krishna Kirti Das wrote:
>
> > I have a three-way unbalanced ANOVA that I need to calculate (fixed
> effects
> > plus interactions, no random effects). But word has it that aov() is go
Hi All,
I am a beginner to R. I have installed tried a sample of JRI
using Rengine and Rserve.
I found normalization and sqrt function in some sample code.
Is there any link where there is a list of functions that is
provided in R which I can use t
required package: rJava
> cftc = read.xlsx("d:\\Krishna\\Research\\CFTC_COT\\cftcdata.xlsx", 1)
Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, :
java.lang.OutOfMemoryError: Java heap space
> sessionInfo()
R version 3.0.1 (201
adWorksheetFromFile("d:\\Krishna\\Research\\CFTC_COT\\cftcdata.xlsx", sheet
> = 'Sheet1')
Error: OutOfMemoryError (Java): Java heap space
What is the maximum file size to load into R? is there a better way to load
large excel files to R?
Many thanks for the help.
Regard
Hi Everyone,
Can anyone help why the errors are coming and rectify it?
invalid.ids <- c(1,3,5)
if (length(invalid.ids)==0) {
cat("No Errors found")
}
else
a=c(1,2,3)
b=c(23, 24, 25)
x=c("a", "b")
#if (length(x[1]) == 0) {cat("x[1] is having 3 elements")}
Suppose I want to send the vector a into the Object A,
um getting only "a" as the ouput for Object A but not getting required output
as the vector with the elements 1, 2, 3 with the following code
r
paste(x[1], ".Arms", sep="") <- c(1,2,3)
Error: could not find function "paste<-"
Can you pls help
From: Jean V Adams [mailto:jvad...@usgs.gov]
Sent: Monday, September 17, 2012 10:24 PM
To: Sri krishna Devarayalu Balanagu
Cc: r-help@r-project.org
Subject: Re:
Suppose I want the output as "Trial and a sheet" without quotes
x=c("a", "b", "c")
print("Trial and x[1] sheet")
Getting "Trial and x[1] sheet"
Can anyone help?
Notice: The information contained in this electronic mail message is intended
only for the use of the designated recipient. This messa
Suppose I have "Orange1" data like this.
TIME1
RESPONSE
RESPSTAT
RESPUT
REFID
ARM
SUBARM
0
299.5
Mean
8-item scale
68
0
0
0
287
Median
8-item scale
68
0
0
0
303.9
Mean
8-item scale
68
1
0
0
286
Median
8-item scale
68
1
0
0
295
Mean
8-item scale
85
0
0
12
TARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
>
Many thanks for the help.
Best regards,
Krishna
[[alternative HTML version deleted]]
___
Hi All,
Thanks for the suggestions. It is the problem with that particular name which
has single ' in it. I renamed and able to load the file.
Best regards,
S.N.V. Krishna
-Original Message-
From: David L Carlson [mailto:dcarl...@tamu.edu]
Sent: Monday, June 23, 2014 12:29
Why the result is coming as NULL. Can anyone help. I want to find the outliers
for a reference
setwd("D:/AZ")
library("RODBC")
cdb_cnct <- odbcConnectExcel("Book1.xls")
cdb_frame <- sqlFetch(cdb_cnct, "Sheet1")
odbcClose(cdb_cnct)
rm(cdb_cnct)
x<- cdb_frame$Publication >=1990 & cdb_frame$Publi
Even though the sheet name Publication exists. The error is coming.
Can anyone help?
library("RODBC")
cdb_cnct <- odbcConnectExcel("Copy of
AZIF_DC_GVK_NSCLC_MSALL_287papers_02072012_141450_v1_4.xls")
cdb_frame <- sqlFetch(cdb_cnct, "Publication")
odbcClose(cdb_cnct)
Error in odbcTableExists(ch
x=c(5, 8, 28, 29, 30)
y=c(5, 8, 28, 29, 31)
How can we compare these two vectors, whether each element is exactly matched
with the elements in the other vector ?
How can we get the non matched elements from both the vectors?
Can anyone help?
Notice: The information
In this following example Id 4 is duplicated with Id 1.
Like this I want both Ids (Duplicated and Duplicated with). Can anyone help?
df <- data.frame(
"Publication" = c(1, 2, 3, 1, 4, 5, 2, 3),
"Reference" = c("a", "b", "c", "a", "d", "e", "b", "c"),
"Id"= c(1, 2, 3, 4, 5, 6, 7, 8)
[mailto:j...@bitwrit.com.au]
Sent: Monday, August 13, 2012 3:37 PM
To: Sri krishna Devarayalu Balanagu
Cc: r-help@r-project.org
Subject: Re: [R] How can I get the Ids with Duplicated key and corresponding
Ids with original key?
On 08/13/2012 07:17 PM, Sri krishna Devarayalu Balanagu wrote:
>
&
key1.=c(1, 2, 3)
key2.=c(2)
if (identical(key1.,key2.) == "TRUE") {
cat("No Errors found")
}
if (length(setdiff(key1., key2.)) !=0){
After importing data from Excel through ODBC.
In the inclusion dataset, class(inclusion$Value) is coming as factor. After
filtering the data, length(inclusion$Value == 0),the answer is coming as 4879,
but actually Value contains only 225 rows. So how can I get the length as 225.
Can anyone help?
df <- data.frame (
"RowId" = 4:7,
"x"=c("1_1", "2_2", "3_3", "3_3"),
"y"=c("1_1", "3_3", "2_2", "3_3")
)
How can we compare corresponding values of x and y (first value of x exacly
matches with the first value of y)?
If they were not matced exactly how can w
Why the error is coming? even though the length of outcome.new$compkey and
outcome.new$armkey were exactly same.
Can anyone help?
setwd("D:/AZ")
library("RODBC")
cdb_cnct <-
odbcConnectExcel("AZIF_DC_GVK_NSCLC_MSALL_287papers_02072012_141450_v1_4.xls")
outcomes <- sqlFetch(cdb_cnct, "Outcomes_in
Hi everyone
Can anyone help?
x = c("Treatment", "Planned", "Actual", "Demographics", "Outcomes")
for (i in x) {
df <- paste(i)[, c("Reference_ID", "Arm_ID")]
unique(df) -> uniq
as.data.frame(table(uniq$Reference_ID)) -> y
i.Arms<- paste(y$Var1, y$Freq, sep="_")
Print_Message("Check for the Total N
Hello,
Say all the below five vectors should have same elements in any situation.
How to find the non matching vectors among these five, if so how we can find
the non matching elements of those vectors?
Can anyone help?
a=c(1,2,3)
b=c(1,2,3,4)
c=c(1,2,3)
d=c(1,2,3)
e=c(1,4,5)
identical(a,b,c,d,e
Thank you for the answer. It's working.
But the error occurring here also
df <- paste(i)[, c("Reference_ID", "Arm_ID")]
How to get rid of that.
-Original Message-
From: William Dunlap [mailto:wdun...@tibco.com]
Sent: Thursday, September 06, 2012 10:15 P
Hi all,
Can anybody debug the following programme, as I am getting some Junk graphs in
the pdf.
Please find the attached raw data file.
Thank you
Regards
Rayalu
library(ggplot2)
setwd("D:\\General Check list")
library(RODBC)
conn <- odbcConnectExcel ("Book1.xls")
Orange1 <- sqlFetch (conn, "Shee
Hi All,
Can you please help me, why this code in not generating line chart?
library(ggplot2)
par(mfrow=c(1,3))
#qplot(TIME1, BASCHGA, data=Orange1, geom= c("point", "line"), colour= ACTTRT)
unique(Orange1$REFID) -> refid
for (i in refid)
{
Orange2 <- Orange1[i == Orange1$REFID, ]
pdf('PGA.pdf
Hi all,
Small problem in generating the line charts.
Question: Legend for the first graph is coming wrong., for second graph
correctly. Please fix the legend postion at the down of graph.
Plesae give me the solution.
Thank you
Devarayalu
Orange1 <- structure(list(REFID = c(7, 7, 7, 7, 7,
Hi All,
I want small modification in apperance of legend. I want seperate legend for
each graph representing the lines present in that graph only (not all the lines
in all graphs) .
Can you please help?
Thank you
Regards
Devarayalu
Orange1 <- structure(list(REFID = c(7, 7, 7, 7, 7, 7, 7, 7, 8,
Hi all,
Error is coming as "error in data.frame(, check.names = FALSE): arguments
has differents
counts of rows: 0, 18" for the following code.
Can you please help?
Thank you
Devarayalu
library(ggplot2)
setwd("D:\\General Check list")
library(RODBC)
conn <- odbcConnectExcel ("Book1.xls")
Hi all,
A small problem raising.
Suppose the follow raw data is stored in a csv file. And the error is coming
as NULL with the following code.
Can you please help?
Thank you in advance.
SUBJCET
1Ito
1Ito
1Ito
1Ito
1Ito
1Ito
read.csv(
Hi All,
This is the file which I want to import into R After importing and querying the
data, error is coming as null.
read.csv("Noname3.csv", header=T) -> FD
FD$SUBJECT
NULL
Can please help?
Regards
Devarayalu
__
R-help@r-project.org mailing list
;M", "", d, ignore.case=T)
y[location]<-y[location] * 10e6
Is the second solution faster or (if) combination of grep along with
multiply (if it works) is faster? Or what is the most efficient method
to do something like this in R?
Thanks and Regards
Krishna
___
76 matches
Mail list logo