similar to: R-help Digest, Vol 128, Issue 5

Displaying 20 results from an estimated 300 matches similar to: "R-help Digest, Vol 128, Issue 5"

2004 May 11
2
Fitting data from a spectrophotometer.
Dear R-list, It is not uncommon for laboratory equipment (e.g. spectrophotometers) to have a linear response in a certain interval and then go into saturation. I wonder if there is an R-function that models this; for instance by estimating the breakpoint and fitting a line below the breakpoint and a constant above. Best regards Thomas Poulsen -- Thomas Poulsen Research Scientist. PhD,
2013 Oct 27
1
R-help Digest, Vol 128, Issue 29
Re: Heteroscedasticity and mgcv. (Collin Lynch) The GAMLSS package can model heterogeneity in the scale parameter (e.g. standard deviastion) [and also heterogeity in skewness and kurtosis parameters].of the response variable distribution. For parametric models a generalized likelihood ratio test can be used to test whether the heterogeity is needed. Alternatively a generalized Akaike
2013 Feb 14
0
Install package "ROpenOffice"
Has anyone had trouble installing the package "ROpenOffice" from omegahat: http://www.omegahat.org/ROpenOffice/ I downloaded the .tar.gz file to my local hard drive and tried to install it with the following code, but got an error message: > install.packages("/Users/earlbrown/Desktop/ROpenOffice_0.4-0.tar.gz", repos = NULL, type = "source") Installing package(s)
2010 May 04
1
strange behavior of RODBC and/or ssconvert
Dear All, I have the following problem when reading files (a lot of them) in the spreadsheetML format into R. The spreadsheetML format is an xml format to allow easy import of multisheet data in Excel. As far as I can see, a direct import into R (using the XML package) is not feasible. I use the software ssconvert (included in Gnumeric) and call it from R. It converts the spreadsheetML into xls
2005 Jan 17
1
Excel files-suggested manual addition
Hi, I had some excel files that I needed to read into R, there were alot so I didn't want to do them by hand in gnumeric. I tried all the recommendations in the data import/export manuals, including RODBC, and for some reason they all failed on these files. Then I stumbled on ssconvert, a script that wraps all gnumerics converters, see
2010 Jul 23
0
ROpenOffice (which requires Rcompression)
Hello, for my data preparation and administration (data, labels, etc.) I use OpenOffice.org ODS spreadsheet files with several sheets in one file. However, I find it inconvenient to export every single sheet to a csv file whenever I apply changes to the labelling or so, and I haven't found a plugin or an application which does this batch in OOorg. Is there new development on a direct import
2004 May 28
3
Converting data frame to array?
Dear List, Please bear with a poor newbee, who might be doing everything backwards (I was brought up in pure math). I want to make a simple multi-linear regression on a set of data. I did some expreiments, and if X is a 4 by 2 array and Y is a 4 by 1 array, I can do a linear regression by lm(y~x). Now I have a tab-delimited text file with 10 rows of 300 measurements and an other file with
2011 Jun 06
1
RCurl and kerberos
Dear list, I would like to call a Kerberos-authenticated web-service from within R. Curl can do it: $ curl --negotiate -u : "http://my.web.service/" so I would expect that RCurl also has the capability, but I have not been able to find the correct options to set. listCurlOptions() does not return anything with negotiate, and searching the source of RCurl, the only thing I found was
2011 Jul 10
3
OpenOffice ods spreadsheets in R?
I would like to open OpenOffice (LibreOffice) .ods files in R. I've tried the ROpenOffice package from omegahat, but unfortunately, the read.ods() function attempts to use the values of the first column in a worksheet as row names, and thus does not allow duplicates in there (which, even more unfortunately, occur in my files). Also, the function does not allow to forward any other
2011 Sep 12
2
1 not equal to 1, and rep command
Hi I need to use rep() to get a vector out, but I have spotted something very strange. See the reproducible example below. N <- 79 seg <- 5 segN <- N / seg # = 15.8 d1 <- seg - ( segN - floor(segN) ) * seg d1 # = 1 rep(2, d1) # = numeric(0), strange - why doesn't it print one "2"? rep(2, 1) # 2, ok rep(2, d1 / 1,1) # 2, this
2013 Apr 16
0
Hosting Omegahat package on CRAN?
Hi list! For a package providing a GUI intended in particular at R newcomers (RcmdrPlugin.temis[1]), I would like to use the Rstem package [2] by Duncan Temple Lang, which is hosted on Omegahat only. This means the package cannot be installed automatically as a dependency, which I can work around by installing the package from my code when the user needs it. But Omegahat does not provide binaries
2012 Nov 07
9
Executing SAS Codes in R
Is there a way of executing SAS codes in R environment?   Peter Maclean Department of Economics UDSM [[alternative HTML version deleted]]
2009 Mar 28
0
R: Fortran 90 etc.
I have tried to compile the working Fortran-90 routines (see attachment) to interface them with R. The compiler automatically caled by R CMD command line prints a bunch of error messages (as follows). I think I'm better off translating the Fortran implementation into R ... which is what I hoped I could avoid. Maura host705:Desktop mauede$ R CMD SHLIB ford.f90 gfortran -arch i386
2011 Jul 17
1
FOMULATING TIME SERIES DATA FROM DATA FRAME
I am estimating Value at Risk using PerfomanceAnalytics package. The?variables are stored in a data frame. I formated the data variables using zoo() and as.xtx() but it is not working. The working example is below. ##########################################################? reguire(zoo) require(PerformanceAnalytics) reguire(xts) ? year<- c(1991-12-30, 1992-12-30, 1993-12-30, 1994-12-30) R1
2011 Nov 16
1
HELP DATA CLIPPING AND DATA OVERLAY ON A MAP
I have csv data that extend beyond the area I want for an existing map. I want using the boundaries of the polygon shape file as a cookie cutter so that I can overlay the csv data on map without including anything outside the map boundaries and create a dbf file or shapefile of the clipped data .  The reproducible example: ############################################### library(RColorBrewer)
2013 Feb 22
3
Help xyplot
Hi Mackay and anybody (a) Is it possible to select randomly (let say five grids) and plot? (b) Is it possible to plot five nearest grid in one figure? The original question and improved codes: #I am ploting gridded time series data. I would like the actual lat #and lon value appear on the graph-if possible inside the graph as #numbers. If there is also more elegant ways to plot the graphs I
2013 Mar 28
2
Can R read open office.org Calc files
Hi, Can R read open office.org Calc files Thanks -- Shane [[alternative HTML version deleted]]
2004 Apr 02
3
Doing SQL GROUP BY in R
I want a list of the number of times some factor levels appear together, similar to the following SQL statement: SELECT A, B, COUNT(C) FROM TBL GROUP BY A, B How do I do that with a data.frame in R? Thanks, Jesper Frickmann Statistician, Quality Control Novozymes North America Inc. 77 Perry Chapel Church Road Franklinton, NC 27525 USA Tel. +1 919 494 3266 [[alternative HTML version deleted]]
2003 Nov 21
1
output files in a different directory
Yes it is. Example from my program: workdir <- "S:\\Stat\\C03202\\R-output\\" ... sink(file=paste(workdir, assayname, "-1.txt", sep="")) ... win.metafile(filename = paste(workdir, assayname, "-2%02d.wmf", sep="")) You get the idea! Kind regards, Jesper Frickmann Statistician, Quality Control Novozymes North America Inc. Tel. +1 919 494
2011 Jul 11
3
fitdistr() Error
I am trying to estimate a gamma function using real data and I am getting the following error messages. When I set a lower limit; the error message is "L-BFGS-B needs finite values of fn" ? For other method the error message is: Error in optim(x = c(0.105286666666667, 0.3472275, 2.057625, 0.329675,? : ? non-finite finite-difference value [1] The codes works fine for simulated data