[R] Need to replicate Boltzman Signmodial Curve fit from Graph Pad

2013-04-23 Thread J J
Hello useRs (please don't kill me), I've fairly new to R having only a few months of playing around with R. What little I've learned has been extremely useful. If someone could point me as to how to replicate the Boltzman Sigmodial curve fit as provided by Graphpad software I'd be eternally grate

[R] using lmer weights argument to represent heteroskedasticity

2010-03-21 Thread J
Hi- I want to fit a model with crossed random effects and heteroskedastic level-1 errors where inferences about fixed effects are of primary interest. The dimension of the random effects is making the model computationally prohibitive using lme() where I could model the heteroskedasticity with th

[R] multiple tests: t-statistic for vectors in 4-dimensional array

2009-11-09 Thread J.
sions with dimensions 128x128x1 with all these test statistics. I tried this with a double loop: A <- array(rep(seq(-1:2),128*128*8),dim=c(128,128,1,8)) #in simulations I fill the array with random variables tA <- array(rep(NA,128*128),dim=c(128,128,1)) for (i in 1:128){ for (j in 1:1

[R] factors

2011-05-05 Thread J
ry from dataframe A to an entry in B, to see if they're the same. The problem, when posing the question: searchID1 <- A[['label']][i] possMatch1 <- B[['label']][j] searchID1 == possMatch1 I get the error: Error in Ops.factor(searchID1, possMatch1) : level sets

[R] accessing files from subfolders

2011-06-08 Thread J
Hi, There must be an easy way to do this, but I'm not finding it.. I'd just like to know the syntax to move up and down folder levels, without necessarily entering a full file path. Also, how to construct file and folder paths using variables. For example 1, if I wanted to print to the scre

[R] Different result of multiple regression in R and SPSS

2011-07-19 Thread J.
Hi, I am trying to do a simple multiple regression analysis that has one nominal variable (gender) and three numeric variables as independent variables and one numeric variable as dependent variable. So, I got a formula like this: summary(out.3 <- lm(scale(DV) ~ gender + scale(IV.1) + scale(IV.2)

Re: [R] Different result of multiple regression in R and SPSS

2011-07-19 Thread J.
Thanks for the answer. However, I am still curious about which result I should use? The result from R or the one from SPSS? Why the results from two programs are different? Jay -- View this message in context: http://r.789695.n4.nabble.com/Different-result-of-multiple-regression-in-R-and-SPSS-t

Re: [R] Different result of multiple regression in R and SPSS

2011-07-20 Thread J.
@Dimitri: I tried to enter it as numeric and still got the same outcome. I still wonder if there is any way to get the same result from both programs. @David, Bert: Yes, I found that the gender coefficient is R is exactly twice that of the one from SPSS. Need to study on parametrization. Thanks, J

Re: [R] Different result of multiple regression in R and SPSS

2011-07-20 Thread J.
I finally got the same result by converting "gender" variable as numeric, and standardize it. I guess SPSS automatically doing the same thing when doing analysis. But, it still is not clear to me how I can interpret "standardized categorical (dummy coded)" variable. I'd rather stick to use R. Thank

Re: [R] valid package repositories

2017-10-02 Thread Jordan J
I would be on a similar wavelength to Peter, I believe it should be more about the state of the package rather than the location. Yes, the location matters to a degree but I think GitHub is more than well enough established at this point to consider their hosting sufficiently reliable. The most im

[R] system() command not working

2016-06-04 Thread J Payne
I’ve posted this question on StackExchange at http://stackoverflow.com/questions/37604466/r-system-not-working-with-modis-reprojection-tool, but haven’t received any replies.  I’m hoping that someone who understands the operation of the R system() command can help.  I have a command that wo

Re: [R] system() command not working

2016-06-05 Thread J Payne
can’t remember what the work around was for it. > >HTH, > >-Roy > >> On Jun 4, 2016, at 11:59 AM, J Payne wrote: >> >> I’ve posted this question on StackExchange at >> http://stackoverflow.com/questions/37604466/r-system-not-working-with-modis-reprojection-tool, &

Re: [R] system() command not working

2016-06-05 Thread J Payne
ause i can’t remember what the work around was for >> it. >> > >I can't find the discussion on R-SIG-Mac list. But you can try this: > >MRT_DATA_DIR= open -a Rstudio > >or > >MRT_DATA_DIR= open -a R > >Try it and see what happens. >It may even be possible t

Re: [R] system() command not working

2016-06-05 Thread J Payne
I forgot to add that setting the environment variable in .Renviron in my home directory *also* works. I have updated my question on Stackoverflow to include these answers. John On 6/5/16, 1:17 PM, "J Payne" wrote: >Thanks Berend, that’s super useful. In summary, here is

[R] Closing FTP sessions with RCurl

2016-06-14 Thread J Payne
Does anyone know how to close an FTP session with RCurl?  I am trying to automate the process of downloading snow data from a government website, and their server is throttling the connection after a few files are downloaded.  I contacted their system administrator, who wrote: “My suspicion at t

Re: [R] Closing FTP sessions with RCurl

2016-06-15 Thread J Payne
url/index.html";, curl = curl) >} > >On Tue, Jun 14, 2016 at 2:41 PM, J Payne wrote: >> Does anyone know how to close an FTP session with RCurl? I am trying to >> automate the process of downloading snow data from a government website, and >> their server is

Re: [R] Closing FTP sessions with RCurl

2016-06-15 Thread J Payne
Fantastic!  That did the trick.  I still suspect that there may be a command within RCurl that accomplishes the same thing, but in any case I’m very grateful to have a solution that works.  Best, John From: William Dunlap Date: Wednesday, June 15, 2016 at 12:57 PM To: J Payne Cc

[R] problem in installing package xpose4 in Rstudio

2016-01-04 Thread swati j
With R, package xpose4 is working well, but when I open Rstudio and try to install package xpose4 following error message is displayed > install.packages("C:/Users/om/Downloads/xpose4_4.5.3.tar.gz", repos = > NULL, type = "source") Installing package(s) into ‘C:/Users/om/Documents/R/win-library/2

[R] R2WinBUGS Error

2017-03-09 Thread Liu, J.
e than one week but still can't figure out where is the problem. It would be great if someone could help me with this. Thanks in advance! Kind regards, JLiu Here's the code: sink("mod1.txt") cat(" model { for( k in 1 : n ) { for( i in 1 : n - 1 ) { for(

[R] Saving a workspace with "extras"?

2008-07-25 Thread J . delasHeras
Hi everyone, I hope there's a simple way to achieve what I want, but I haven't found the way. I do microarray analysis using R and a number of packages as well as some functions created my myself. When I save the workspace, it saves all the data structures, that's great... But when I cli

Re: [R] Saving a workspace with "extras"?

2008-07-25 Thread J . delasHeras
Excellent! Thanks for the pointers. Although the functions were indeed loaded with a source() call... I'll recheck the behaviour and see if I get this to work how I want it. thanks again! Jose Quoting Sarah Goslee <[EMAIL PROTECTED]>: Functions you've loaded using source() should be sa

Re: [R] Changing values

2008-08-03 Thread J Dougherty
On Sunday 03 August 2008 01:54:43 pm Andrew Ramsey wrote: > Hello-- > > I am a relatively new user to R and I cannot find the information I > need. Please help. > > I have a very large data set with values including letters, numbers, > and symbols (sometimes within the same vector value [ie X9-]. >

[R] Opening a web browser from R?

2008-08-15 Thread J . delasHeras
Hi, I was wondering if there's a way in R to open a web browser (such as Internet Explorer, or Firefox or whatever). I'm doing some analyses that have associated urls, and it would be nice to have the ability to directly open the relevant page from within R. I was looking at the help for '

Re: [R] Opening a web browser from R?

2008-08-15 Thread J . delasHeras
Fantastic! That's perfect. how didn't I find that??? Thank you! Jose Quoting Henrique Dallazuanna <[EMAIL PROTECTED]>: Use browseURL: browseURL('about:blank') On Fri, Aug 15, 2008 at 7:55 AM, <[EMAIL PROTECTED]> wrote: Hi, I was wondering if there's a way in R to open a web browser (

Re: [R] Opening a web browser from R?

2008-08-15 Thread J . delasHeras
Thanks to everyone who replied to me, both on and off-list. Indeed, searching for "url" alone finds 'browseURL' and the very interesting 'shell.exec'... I must have had a "fuzzy moment" because I did not see it when I first looked, but yes, there they are! So, apologies for asking somethin

[R] R project web site

2008-08-24 Thread J Dougherty
Is anyone else encountering trouble viewing the basic www.r-project.org page? Or has it been changed recently so that google hasn't kept up? I find I can access the mirror of the CRAN page at http://www.maths.bris.ac.uk/R/, none of the *.org pages. Nor can I jump to the R homepage from the CR

[R] ggplot 2 semi-transparency error

2009-08-18 Thread rajesh j
Hi, I used the command ggplot as follows... p<-ggplot(a,aes(x=a$V1,colour=a$V2,fill=a$V2)) p + geom_density(alpha = 0.2,xlim=c(-10,10),ylim=c(0,0.5)) when I say, dev.print(device=postscript,file="/alpha/dct.pdf") I get Warning message: In grid.Call.graphics("L_polygon", x$x, x$y, list(as.integer

[R] histogram scaling

2009-08-18 Thread rajesh j
Hi, I'm drawing two histograms in the same plot.However, my point of comparison is the difference in their x coordinates.But my problem is one histogram is much taller than the other.How can I get them both to the same height? -- Rajesh.J [[alternative HTML version deleted]] __

[R] ggplot2 transparent pdf

2009-08-19 Thread rajesh j
Hi, I plotted a histogram using ggplot2 and saved it as a pdf.However, the portions outside the histogram dont appear transparent when I use a non-white bg colour in my latex document.What can I do to make them transparent? -- Rajesh.J [[alternative HTML version deleted]] __

[R] Calling R from a Perl script: much slower?

2009-09-03 Thread J . delasHeras
Hello list, I use R for microarray analysis. One procedure I use takes a large matrix, and loops through it looking for specific rows, does an operation with them, and outputs a result (single row) as a row of another matrix. The loop goes on about 25000 times. When I run the loop direct

Re: [R] Calling R from a Perl script: much slower?

2009-09-04 Thread J . delasHeras
Ah! sorted! it was NOT running the same code. We're making a GUI using Perl (Tcl/Tkx) to facilitate a number of analyses in our lab to other people who don't necessarily want to know about R (their loss ;-) I provided the R code to my colleague and he assured me he used it without chang

[R] Plot area reduction

2009-09-10 Thread rajesh j
Hi, I need my plot to occupy a thin strip-like area but the plot area in R is a square so when I save it and reduce its height to a strip in my document the font in the graph looks flattened. Is there someway i can do this in R itself?..so that my plot is a strip but the font looks normal -- Raj

[R] how to load only lines that start with a particular symbol

2009-09-15 Thread J Chen
Dear all, I have DNA sequence data which are fasta-formatted as >gene A;. A T CCCTT >gene B; C G I want to load only the lines that start with ">" where the annotation information for the gene is contained. In principle, I can remove the sequences bef

Re: [R] Rounding to the nearest 5

2009-09-15 Thread J Chen
hope this will help for (i in 1:10) { if (i%%5>2) { print((i%/%5+1)*5) } else { print((i%/%5)*5) } } Jimmy Chris Li wrote: > > Hi all, > > I want to round my values to the nearest 5. > > For example, if I have a value of 11, I want R to round it to 10. > > I have be

[R] Truncated plot in the output file

2009-09-20 Thread J Chen
Dear all, I made a large plot and wanted to save it as a tif file. I first opened and specified the size of the window. windows(12,17,rescale="fixed") Then I plot a heatmap using heatmap() when I saved the plot by using "Save as" in the file menu or savePlot("heatmap", type="tif"), the plot i

[R] curve3d in emdbook package: scaling z axis?

2010-02-18 Thread J S
Dear R community, Is there an option to assign minimum and maximum values for z axis in 3D graph using the function curve3d from the package emdbook? I know there are such options for x and y axes. Thanks. Julia

[R] Best Hardware & OS For Large Data Sets

2010-02-27 Thread J. Daniel
Greetings, I am acquiring a new computer in order to conduct data analysis. I currently have a 32-bit Vista OS with 3G of RAM and I consistently run into memory allocation problems. I will likely be required to run Windows 7 on the new system, but have flexibility as far as hardware goes. Can

Re: [R] how to make this sequence: 1,2,3,4,5,4,3,2,1

2010-03-05 Thread j verzani
kensuguro gmail.com> writes: > > > so basically, it's impossible to do with just seq() and rep().. Doesn't seem > like a good question for chapter 1... > > Also, problem 1.13 is even more crazy.. it asks you to build the fibonacci > sequence. Now I'm a programmer, and so went way ahead in t

[R] abline going out of bounds

2009-07-01 Thread rajesh j
Hi, I have a multiplot of 6 rows and 1 column.I need to draw vertical lines in each plot.However when I use abline(v=locator(1)$x) in some plots the line only comes for half the box and it goes beyond the box in others.I suspect this has something to do with the margins.any help? -- Rajesh.J

Re: [R] abline going out of bounds

2009-07-01 Thread rajesh j
cs system) or > using a plot function that plays with the graphics settings and leaves them > in a different state from when the plotting was done (filled.contour is one > such function). > > If you can show us the code that you are seeing the problem with, then it > will be easier f

[R] diagram package treearrow help

2009-07-02 Thread rajesh j
Hi, I would like to write text on top of an arrow.How can I do this? -- Rajesh.J [[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

[R] drawing hmms

2009-07-09 Thread rajesh j
Hi, I need to draw hmm's in R.I also need to include a small plot near each state of the hmm.How can I do this? -- Rajesh.J [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] drawing hmms

2009-07-10 Thread rajesh j
ry/mhsmm/html/hmmfit.html > http://finzi.psych.upenn.edu/R/library/RHmm/html/HMMSim.html > > May be some of then may contain things of your interest. > > Bests > > milton > > On Fri, Jul 10, 2009 at 2:43 AM, rajesh j wrote: > >> Hi, >> >> I need to draw

[R] arr.lcol in plotmat from diagram package

2009-07-10 Thread rajesh j
Hi, I wish to use different colours for different arrows. Is this possible? -- Rajesh.J [[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 htt

Re: [R] drawing hmms

2009-07-10 Thread rajesh j
itute.org/efg/R/ > http://addictedtor.free.fr/graphiques/ > > bests > > milton > > On Fri, Jul 10, 2009 at 4:04 AM, rajesh j wrote: > >> Hi, >> >> I actually dont need something thats about hmm's.Something like the >> plotmat in diagram package would suffice.But I

[R] diagram package graph margins

2009-07-10 Thread rajesh j
Hi, I'm using the diagram package to make some graph networks.But the plot window seems to have some kind of margin thats not letting the graph use entire plot space.How do i remove this? -- Rajesh.J [[alternative HTML version deleted]] __ R-h

Re: [R] drawing hmms

2009-07-11 Thread rajesh j
Hi, Thanks a lot! That worked wonders! Dint know R was that flexible.I was looking for packages that do it in vain. On Sat, Jul 11, 2009 at 6:10 PM, Soetaert, Karline wrote: > Rajesh, > > > > To add a plot next each graph node I would open a new figure, with smaller > size (see ?par) > a. The p

[R] geom_histogram help

2009-07-20 Thread rajesh j
Hi, I have a histogram.But I need seperate colours for fixed range of values.for eg. between 2-3 on the x axis a colour.3-4 another colour etc. and the legend has to say what each colour is.How can this be done in geom_histogram? -- Rajesh.J [[alternative HTML version deleted]] _

[R] legend title in qplot

2009-07-20 Thread rajesh j
Hi, I've used the following command in qplot qplot(a$V1,geom="histogram",binwidth=0.15,fill = factor(a$V2),ylab="Frequency",xlab="Rate"); but the title in the legend shows up as factor(a$V2)...how can i change this? -- Rajesh.J [[alternative HTML version deleted]] _

Re: [R] geom_histogram help

2009-07-21 Thread rajesh j
its a function in ggplot2 for plotting complicated histograms. 2009/7/21 Uwe Ligges > > > rajesh j wrote: > >> Hi, >> I have a histogram.But I need seperate colours for fixed range of >> values.for >> eg. between 2-3 on the x axis a colour.3-4 another colo

Re: [R] Strange column shifting with read.table

2009-08-02 Thread J Dougherty
On Sunday 02 August 2009 02:34:43 pm Noah Silverman wrote: > The column names have to obfuscated, but here are 10 rows of the data. > > label c0 c1 c2 c3 c4 c5 c6 c7 > c8 c9 c10 c11 c12 c13 > c14 c15 c16 c17 c18

Re: [R] rpad ?

2010-03-23 Thread j verzani
sjaffe riskspan.com> writes: > > > Sharpie wrote: > > > > You could try Sage: > > > > http://www.sagemath.org > > > > Yes, I've tried Sage (briefly) and it is very interesting. But what I'm > looking for here is a client-server system that allows multiple users to > access the results o

[R] break up a string into strings with a fixed length

2009-10-02 Thread J Chen
dear all, I have some very long strings and would like to break up each long string into multiple strings with a fixed length, e.g. to break up abcdefghijkl into abc, def, ghi, jkl I tried a couple of commands but was not successful. Any help will be appreciated. Best, Jimmy -- View this me

[R] speech spectogram

2009-10-18 Thread rajesh j
Hi, I need to plot a spectogram for a speech signal. Is there a package that can do this? -- Rajesh.J [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the po

[R] re ading tokens

2009-11-02 Thread j daniel
Greetings, I am not familiar with processing text in R. Can someone tell me how to read each line of words as separate elements in a list? FE, I would like to turn: word1 word2 word3 word2 word4 into a list of length two with three character elements in the first list and two elements in the

[R] how to display a string containing greek chrs and variables

2009-11-03 Thread J . delasHeras
I'm trying something that I thought would be pretty simple, but it's proving quite frustrating... I want to display, for instance, the correlation coefficient "rho" in a graph. I can do something like: text(x, y, paste("rho =", cor)) where cor would be my previously calculated correlation

Re: [R] how to display a string containing greek chrs and variables

2009-11-03 Thread J . delasHeras
Quoting baptiste auguie : Hi, try this, plot.new() x=0.8 text(0.5, 0.5, bquote(rho == .(x))) HTH, baptiste Aha! That does exactly what i wanted! Thanks! Jose -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. __

Re: [R] how to display a string containing greek chrs and variables

2009-11-03 Thread J . delasHeras
Quoting Peter Ehlers : j.delashe...@ed.ac.uk wrote: Quoting baptiste auguie : Hi, try this, plot.new() x=0.8 text(0.5, 0.5, bquote(rho == .(x))) HTH, baptiste Aha! That does exactly what i wanted! Thanks! Jose But does it do what it should? It's customary to use "rho" for a _popul

Re: [R] Step Function Freezing R

2009-11-12 Thread J Dougherty
implified > example - > > fit = lm(a~b*(c+d+e)*(f+g+h)*(i+j+k)) > regs = step(fit) > > at this point R freezes and alternates between "Not Responding" and > "Running" in Windows task manager. It wasn't always this way. I was > able to run the same model

Re: [R] Step Function Freezing R

2009-11-13 Thread J Dougherty
On Friday 13 November 2009 07:17:28 am Jgabriel wrote: > I can't fully answer all these questions, but I'll do my best - There > have not been any updates of Windows, and I did not update R during > the period, although I did reinstall it after the problem started. > There have been no changes to N

[R] randomForest: impact of bug fixed in version 4.5-13

2009-11-19 Thread J Sousa
The NEWS of the randomForest R library mention that version 4.5-13 fixed a bug in predict.randomForest() when newdata is a matrix with no rownames. I think it corresponds to the difference in files predict.randomForest.R which is the new line if (is.null(rn)) rn <- keep As I've been using version

[R] randomForest bug in predict.randomForest()

2009-11-23 Thread J Sousa
The NEWS of the randomForest R library mention that version 4.5-13 fixed a bug in predict.randomForest() when newdata is a matrix with no rownames. Can anyone explain what were the consequences of this bug in the predictions? I think the bug was fixed with the new line if (is.null(rn)) rn <- kee

[R] merge on non-identical names

2009-11-24 Thread j daniel
Greetings, I need to conduct a merge on two databases containing information on organizations, but the organization names are often non-identical and there is no common unique identifier. Does anyone know a good way to calculate a similarity measure on two names, or even better is there a natura

Re: [R] how to put ggobi display into a GUI window setup by gWidgets

2009-11-29 Thread j verzani
jerry83 yahoo.com> writes: > > > Hi, > > I want to put a ggobi display into a GUI window setup by gWidgets, but error > occur said it is not a S4 object. > > Does anyone have any idea about how to put it in or maybe it can not be put > into a widget at all? > > Thanks A LOT! To embed a GT

Re: [R] how to put ggobi display into a GUI window setup by gWidgets

2009-11-30 Thread j verzani
jerry83 yahoo.com> writes: Jerry, see below: > > > Hi John, > > Thanks A LOT for your reply and the code. What I want to do is to include the ggobi display window to the widget > window setup by me. I tried add before but it said can not do it for GGobiScatterplotDisplay. Do you have > any i

[R] {Lattice} cloud() help

2009-12-09 Thread J Chen
Dear all, I'm a lattice graphics newbie. I'm trying to make a cut through the 3D scatterplot with cloud(), so adding a partially transparent plate perpendicular to the z-axis in order to separate the cloud. code: library(lattice) cloud(Sepal.Width~Petal.Length*Petal.Width, data=iris) Could som

Re: [R] Specifying data type when creating a dataframe using RODBC

2009-05-13 Thread J Dougherty
On Tuesday 12 May 2009 02:59:30 pm Mark Na wrote: > H R-helpers, > ... > > One column (several, actually) in the spreadsheet contains integers in > its first few rows but later values in these columns contain a mixture > of numbers, letters and symbols (it's an ID variable, containing e.g., > 12, 1

Re: [R] R Tools To Evaluate Confidence Interval

2009-05-13 Thread J Dougherty
On Wednesday 13 May 2009 10:54:01 pm Peverall Dubois wrote: > Hi, > > Suppose I have a calculation that contain an estimation > of certain value and its confidence interval > (this is computed via Chi Square approximation). > > Is there any approach in R in which we can > evaluate the confidence in

[R] formula for degrees of freedom for nonlinear mixed model in nlme

2009-06-11 Thread J S
Dear forum members, What is the formula to calculate denominator degrees of freedom (den df) for nonlinear mixed-effect models with covariates? My model is similar to a CO2 uptake example from Pinheiro and Bates (2000, page 376). In this CO2 dataset, there are two treatments and two types (8

Re: [R] [R-help] how to install own R withour root?

2009-06-16 Thread J Dougherty
On Monday 08 June 2009 08:50:35 pm Daofeng Li wrote: > Dear list members, > > i am currently want to install Rpy2 in a linux box which has R 2.4.0 > installed > RPy requries R 2.7.0 or above > but i have no root previlleges > so my question is how to install R 2.7.0 on my own directory? > and repla

[R] modifying sound package function plot.Sample

2009-06-20 Thread rajesh j
Hi, I'm trying to modify this function.I want to remove the existing xaxis(the tick marks and the values below each tick) and make it dynamic so that i can choose whether i want the xaxis at the top or bottom but i cant seem to change that.can somebody help me? plot.Sample <- function(x,xlab=NULL,

Re: [R] correlation between categorical data

2009-06-20 Thread J Dougherty
On Saturday 20 June 2009 04:36:55 pm Marc Schwartz wrote: > On Jun 20, 2009, at 2:05 PM, Jason Morgan wrote: > > On 2009.06.19 14:04:59, Michael wrote: > >> Hi all, > >> > >> In a data-frame, I have two columns of data that are categorical. > >> > >> How do I form some sort of measure of correlatio

Re: [R] How to set up a function for "Central Limit Theorem"

2009-03-23 Thread j verzani
Greg Snow imail.org> writes: > > There is also the clt.examp function in the TeachingDemos package. > An interactive demo can also be found at http://www.math.csi.cuny.edu/gWidgetsWWW/ex-clt.html>http://www.math.csi.cuny.edu/gWidgetsWWW/ex-clt.html. __

[R] Unit root

2009-03-24 Thread Brajkovic J.
I am confused by obtaining different results when testing for unit root when using different packages. I have 2625 price entries for which I want to determine whether they exhibit unit root. First I test using adf.test from tseries package by running: > adf.test(P, k=30) Augmented Dickey-Fuller

[R] Do we have to control for block in block designs if it is insignificant?

2009-03-24 Thread J S
I am wondering if in a block experimental design (ex. triple square lattice), the block effect was not significant, is it all right not to include the block effect in an empirical model (even though the sampling was done from different blocks)? Or we are forced to control for the block effe

Re: [R] r online

2009-03-24 Thread j verzani
Dirk Eddelbuettel debian.org> writes: > > > On 24 March 2009 at 12:06, Thomas Steiner wrote: > | Hi, > | I'd like to execute simple commands and functions in R through a > | website, is there any service like this somewhere? > | I only found http://www.osvisions.com/r-online/ but it does not wo

[R] how to load an svm model from file

2009-04-07 Thread J Biel
Hi R-experts, I'm using the svm implentation available in the library 'e1071', to train a classifier using cross validation (...) obj = tune.svm(truth ~ ., data=examples,cost=2^(grid.cost),gamma=2^(grid.gamma),cross=k) and to save the best model into a file as ?write.svm suggests: write.svm

[R] help loading an svm model from file

2009-04-08 Thread J Biel
Hi R-experts, I'm using the svm implentation available in the library 'e1071', to train a classifier using cross validation (...) obj = tune.svm(truth ~ ., data=examples,cost=2^(grid.cost),gamma=2^(grid.gamma),cross=k) and to save the best model into a file as ?write.svm suggests: write.sv

[R] segment between points on different plots

2009-04-16 Thread rajesh j
Hi, I need to draw a line segment between two points on different plots in the same multigraph.I've tried looking at the zoominplot function in plotrix but havent understood much.any help is appreciated ~Aks [[alternative HTML version deleted]] __

[R] multiplot plot spacing and text strip

2009-04-16 Thread rajesh j
Hi everyone, I have a certain requirement and I'm not sure what to do.I need to reduce the spacing between plots in a multiplot. Make them really close together such that they almost touch. Also, I need to add a rectangular strip under my plot(very close to it) such that the strip contains some te

[R] multiplot numbering

2009-04-17 Thread rajesh j
Hi, I have a multiplot in which i need to label each plot as (a) (b) etc. preferably on the right side of each plot. My layout is one plot below the other.How can i do this? -- Rajesh.J [[alternative HTML version deleted]] __ R-help@r-project

[R] drawing data structures

2009-04-19 Thread rajesh j
Hi, I need to represent data structures in a figure.stuff like trees with nodes and pointers etc.can someone guide me to a package that does this? -- Rajesh.J [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://st

Re: [R] large factorials

2009-04-22 Thread J Dougherty
On Wednesday 22 April 2009 12:21:41 pm molinar wrote: > I am working on a project that requires me to do very large factorial > evaluations. On R the built in factorial function and the one I created > both are not able to do factorials over 170. The first gives an error and > mine return Inf. >

[R] what is this experimental design (mixed-effects model)?

2009-04-24 Thread J S
Dear R community, I am wondering what experimental design I am dealing with? I study the effect of daily air temperature on daily body temperature of the overwintering turtles (i.e. sleeping in soil). The model is a cosine wave with the air temperature as a covariate. Objects are 19 overwi

[R] Extract one element from yahooKeystats data

2009-04-27 Thread J Toll
I am trying to extract one particular piece of data(Float) from all the data returned by yahooKeystats, but thus far I'm having no luck. This is what I've got so far: > library(fImport) Loading required package: timeSeries Loading required package: timeDate > data<-yahooKeystats("IBM") trying URL

Re: [R] Extract one element from yahooKeystats data

2009-04-27 Thread J Toll
On Mon, Apr 27, 2009 at 5:42 PM, David Winsemius wrote: > Using str(data) would have been more informative. > > "data" it turns out is a dataframe with a single column. which is a factor > with rownames. Not the most typical of constructions, but the authors must > have had their reasons > >

Re: [R] Select the same rows

2009-04-30 Thread sangduan J.
thanks Seangduan sangduan J. wrote: > > > Hi all, > I have a problem selecting some rows from a random data. > I'd like to select the same rows (before 0) . > > For example: > A > > [1] 0 > [2] 1 > [3] 2 > [4] 0 > [5] 1 > [6]

[R] spectrogram

2010-01-04 Thread rajesh j
Hi, I need to plot spectrogram of a waveform.What package offers this? -- Rajesh.J [[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://w

[R] seewave package:spectrogram resonance contour

2010-01-05 Thread rajesh j
Hi, I'd like to plot resonance contours on my spectrogram in the seewave package. Is this possible? -- Rajesh.J [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do r

Re: [R] gWidgets: loading problem

2010-01-15 Thread j verzani
Walther, Alexander googlemail.com> writes: > > Dear list, > > i try to set up a GUI with gWidgets. For this project, RGtk2 is > required. By loading the package, i encounter the following error prompt: > > ---C Symbolname "S_gtk_icon_factory_new" not in DLL for package "RGtk2"- -- > This sou

Re: [R] [R-SIG-Finance] How to separate date and time into different columns?

2010-01-22 Thread J Ryan
A note about xts: The time class layer is abstracted from the implementation. This allows for some very time specific manipulation without having to manage the underlying details. Take a look at the xts docs and vignette. Also, the functions .indexmon .indexyear etc correspond to the POSIX

[R] LMS estimation for lmsqreg package

2010-01-28 Thread Demmler J.
Hello, I'm trying to create birth centile charts from about 9 birth weights using the package lmsqreg. As this is not a CRAN package I have problems finding any examples, which explain how to estimate the LMS parameters needed for the equivalent degrees of freedom. (I only have some basic u

Re: [R] Using tcltk or other graphical widgets to view zoo time series objects

2010-01-28 Thread j verzani
Research ath.forthnet.gr> writes: > > Dear all, > > I am looking at the R-help entry below: > > http://finzi.psych.upenn.edu/R/Rhelp02/archive/26640.html > > I have a more complicatedt problem. I have a zoo time series frame with > 100+ sequences. > > I want to cycle through them back and f

[R] "strange" behaviour: recognition of decimal numbers by 'which'

2010-02-02 Thread J . delasHeras
It is a strange behaviour in that I did not expect it... but I am sure there is a simple explanation for it and it'll have to do with the way numbers are stored in R, but it's caught me by surprise and I don't find it obvious. Here's a simplified example reproducing the behaviour I encoun

Re: [R] "strange" behaviour: recognition of decimal numbers by 'which'

2010-02-03 Thread J . delasHeras
Concise and perfect answer. Thanks! I'm surprised I never came across this issue before (4 years playing with R). Jose Quoting Erik Iverson : FAQ 7.31 j.delashe...@ed.ac.uk wrote: It is a strange behaviour in that I did not expect it... but I am sure there is a simple explanation for i

[R] selecting a group of points from a scatterplot?

2010-02-03 Thread J . delasHeras
Hi everyone, is there a way/package in R that would allow me to select a group of points from a scatterplot by drawing a circle around them or some such? I can use 'identify' to pick individual points, but that gets tedious if one has more than 10-20 spots. I can easily select spots within

Re: [R] SimpleR and UsingR

2010-02-06 Thread j verzani
Uwe Dippel uniten.edu.my> writes: > > Having found the online version of SimpleR, I wanted to to download the > respective data: > "The data sets for these notes are available from the CSI math > department (http://www.math.csi.cuny.edu/Statistics/R/simpleR) > and must be installed prior to th

Re: [R] Using read.table for importing gz file

2019-08-11 Thread J H
Unsubscribe On Sat, 10 Aug 2019 at 20:30, Spencer Brackett < spbracket...@saintjosephhs.com> wrote: > Hello, > > I am trying to read the following Xena dataset into R for data analysis: > > https://tcga.xenahubs.net/download/TCGA.GBMLGG.sampleMap/HumanMethylation450.gz > > I tried to run the foll

Re: [R] split & rbind (cast) dataframe

2013-01-11 Thread J Toll
On Fri, Jan 11, 2013 at 6:46 AM, Johannes Radinger < johannesradin...@gmail.com> wrote: > I would like to split dataframe based on one colum and want > to connect the two dataframes by rows (like rbind). Here a small example: > > # The orgininal dataframe > df1 <- data.frame(col1 = c("A","A","B","

Re: [R] locating element in distance matrix

2013-01-11 Thread J Toll
On Fri, Jan 11, 2013 at 11:55 AM, eliza botto wrote: > > Dear useRs, > I have a very basic question. I have a distance matrix and i skipped the > upper part of it deliberately. The distance matrix is 1000*1000. Then i > used "min" command to extract the lowest value from that matrix. Now i want >

  1   2   3   4   5   6   7   8   9   >