similar to: How do you convert this from S Plus to R - any help appreciated . thanks

Displaying 20 results from an estimated 10000 matches similar to: "How do you convert this from S Plus to R - any help appreciated . thanks"

2005 Jul 08
3
How do you sort a data frame on a selection of columns?
This is what to start with: Data Frame A B C D c1 4 y 5 c3 6 d 7 c1 5 t 6 Now sort on A then C This is what to end with: Data Frame A B C D c1 5 t 6 c1 4 y 5 c3 6 d 7 I assume it is something like this: attach(DF) sort(DF,partial=c(A,C)) Thanks in advance. Meredith [[alternative HTML version deleted]]
2005 Aug 02
6
can we manage memory usage to increase speed?
Hi, Thanks for reading. I am running a process in R for microarray data analysis. RedHat Enterprise Linux 4, dual AMD CPU, 6G memory. However, the R process use only a total of <200M memory. And the CPU usage is total to ~110% for two. The program takes at least 2 weeks to run at the current speed. Is there some way we can increase the usage of CPUs and memories and speed up? Any
2008 Jun 29
1
function to export data
Hi, I’m trying to built a simple function that allows me to export automatically some results to a text file. I’ve tried the two following approaches but none worked. > exportdata<-function(x) { + dataexp<-summary(x) + export(dataexp,type="ascii",file="dataexp.txt") + } > exportdata(glm.poisson0) Error in eval(expr, envir, enclos) : object
2005 Apr 15
2
Help with "MERGE" gratefully accepted
Hello How do I use function 'MERGE" to combine the FILE A and FILE B below to make FILE C? Thank you FILE A 140 151 167 30.1 11.4 40 FILE B 140 167 5.7 30.3 FILE C 140 151 167 30.1 11.4 40 5.7 NA 30.3
2004 Feb 05
2
Histograms by two factors
Hi I am trying to print out means, STDs and histograms under two sets of factors. I can manage it for one set - see below but not for two sets. That is, I want ot print out the mean STD and Histogram for each ITEM code within each DELIVERABLE code. In addition I can only get to view the histogram for the last item. How do you get R to stop overriding the histogram for eg level 1 for factor 1
2004 Apr 29
1
I'm trying to use package ts (decompose). How do you set up the data/ See attached. thanks
InDATA <-read.table("C:/Data/May 2004/season.txt",header=T) X <- decompose(InDATA) print(X) Period Connections Q1 67519 Q2 69713 Q3 68920 Q4 69452 Q1 70015 Q2 59273 Q3 57063 Q4 65596 Q1 73527 Q2 58586 Q3 69522 Q4 60091 Q1 51686 Q2 63490 Q3 55702 Q4 53200 Q1 51033 Q2 48175 Q3 52709 Q4 50106 Q1 50855 Q2 43466 Q3 48190 Q4 41702 Q1 48747 Q2 51441 Q3 42537
2004 Aug 19
3
Do you know if you can map a large minimum spanning tree in R?
Thanks Mike. My data has longitude and latitude coords and I used distAB {clim.pact} then mst {ape} to calculate my minimum spanning tree. The nodes are telecoms sites from all over Australia. My goal is to determine the minimum cost of linking them via cabling, and I'm starting by calculating the distance "as the crow flies", but will probably eventually need to calculate the
2004 Aug 03
1
How does R vary from SAS?
Hello I have to show that R has more functionality than SAS for MonteCarlo type exercises involving matrix algebra. As I has little experience with SAS is anyone able to help. I have a model written in R but the IT world in this company is not familiar with R and wants to use something like SAS. thanks
2002 Jul 31
7
exportData(foo,"foo.xls","EXCEL") for R ?
r-help, Is there a package available for R which allows you to export data directly to .xls, much like exportData(foo,"foo.xls","EXCEL") in S-PLUS ? If not, is anyone working on this, or thinking about working on this? I apologise in advance if this question has already been answered. Many thanks, Matthew
2005 Apr 29
2
Iterative process for reading in text files
Hello Instead of reading in group1.txt I want to read in groups1 for the first iteration of i, then groups2 for the second and so on. Obviously I can't use groups(i) but assume there is a way to do this. group<-read.table("C:/Data/April 2005/group1.txt",header=T) thanks in advance Meredith
2009 Nov 23
6
Excel-Export
Dear all, i use the following package/syntax to export data to excel: library(xlsReadWrite) write.xls( exportdata,pfad,colNames = TRUE,sheet = 1,from = 1,rowNames = FALSE ) Everything is fine, but the format of the export is not the best. For example, I every time have to adjust the column width. Furthermore there is no possibility to highlight some cell or make them colourful. I create a lot
2005 May 10
1
Using function 'boot on a bi-polar sample'
Hello I'm not sure I'm using boot correctly: I have a list of values for a variable in BUCKET[, j] I want to use function 'boot' to estimate a confidence interval on the mean of the non-zero data. The data can be bi-polar or skewed. Is this the correct use of boot to establish a mean and standard deviation or median and percentiles? x<-BUCKET[, j]
2011 Oct 16
1
Beginner's question about ptrend. What package to use in R and a general explanation of the statistics.
Hello I'm wanting to understand more about ptrend (a statistical explanation via an internet website if possible) and also to know what package in R would produce a ptrend. Appreciate any help I can get on this as I'm trying to read and understand an epidemiological paper and data and reproduce similar results for my own understanding. Thanks Meredith [[alternative
2010 Feb 05
2
Importing data coming from Splus into R.
Hello there, I spent all day yesterday trying to get a small data set from Splus into R, no luck! Both, Splus and R, are run on a 64-bit RedHat Linux machine, the versions of the softwares are 64-bit and are as what follows: Splus: TIBCO Software Inc. Confidential Information Copyright (c) 1988-2008 TIBCO Software Inc. ALL RIGHTS RESERVED. TIBCO Spotfire S+ Version 8.1.1 for Linux 2.6.9-34.EL,
2004 Jan 23
1
BVLS
Hi Is there an R package that solves linear least squares with upper and lower bounds on the variables. Something like the Parker and Stark algorithm written in Fortran. thanks
2004 Aug 18
1
Do you know if you can map a large minmum spanning tree in R?
Do you know if you can map in R? I have my minimum spanning tree, but as there are 1371 nodes (all over Australia) I'd like to be able to "graph" them as they actually would be on the map. Do you know if this is possible?
2005 Aug 12
1
Help converting a function from S-Plus to R: family$weight
Hi all I am converting an S-Plus function into R. The S-Plus code uses some of the glm families, and family objects. The family objects in S-Plus and R have many different features, for example: In R: > names(Gamma()) [1] "family" "link" "linkfun" "linkinv" "variance" [6] "dev.resids" "aic"
2005 Oct 06
14
www.openpbx.org
Hello, What do you think of this project www.openpbx.org ? Something like ser and openser ! Kinds Regards Harry ___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger T?l?chargez cette version sur http://fr.messenger.yahoo.com
2012 Sep 28
4
Merging multiple columns into one column
Good Evening- I have a dataframe that has 10 columns that has a header and 7306 rows in each column, I want to combine these columns into one. I utilized the stack function but it only returned 3/4 of the data...my code is: where nfcuy_bw is the dataframe with 7305 obs. and 10 variables Once I apply this code I only receive a data frame with 58440 obs. of 2 variables, of which there should be
2004 Jan 21
4
What technology could my phone company be using?
I live in New Brunswick Canada. The phone company is Aliant. When you set up business service here, you can go with either analog or digital lines. This isn't a T1 or ISDN. They are talking individual lines direct to handsets that they provide. They offer the digital option with even very small ( 2 - 4) number of lines. What technology could this be? Is there any way to connect such a