[R] Leaflet maps. Nudging co-incident markers

2018-01-19 Thread Gavin Rudge (Institute of Applied Health Research)
I have a dataset showing points, with a category for each point and its location. I simply want to display my points, in a way that users can toggle the points on and off by category. Where I have two objects in the same category I'd like to display them nudged to appear as two distinct, but

[R] Compiling R2.15.1 on ubuntu with x86-64 architecture and shared library

2012-09-17 Thread Conklin, Mike (GfK Custom Research NA)
how to recompile with -fPIC Any help would be appreciated. Mike W. Michael Conklin Executive Vice President | GfK Marketing Science | Consumer Experiences North America GfK Custom Research, LLC | 8401 Golden Valley Road | Minneapolis, MN, 55427 T +1 763 417 4545 | M +1 612 567 8287 www.gfk.comhttp

Re: [R] Cannot write a dataframe to xls or csv Windows 7

2012-09-14 Thread research email
Thank you so much, Yes I need to look up how to make a reproducible example, William I will try your advice, I believe this will be my salvation here, once I get my computer. Pancho On Sep 13, 2012, at 23:59, William Dunlap wdun...@tibco.com wrote: -Original Message- From:

[R] Tendonitis and R users

2012-09-04 Thread research email
Hello This request asks something beyond the technicalities of the R language, I would like to ask you wonderful people if you have ever suffered as programmers ( or de facto programmers like myself though I am a 'research assistant') from tendonitis and how you coped with it, i have golfer's

[R] Exporting data to spss

2012-08-22 Thread research email
I have a dataframe of 80+ columns and over 700 rows. I use write.foreigin(data,C:/filename.dat,codefile.sps) and it does write out the .dat file and the code file. Problem is that when I open the codefile in SPSS 20, I can an error message saying there are too many variables and something about

[R] analysing a three level reponse

2011-06-22 Thread Matt Ellis (Research)
Hello, I am struggling to figure out how to analyse a dataset I have inherited (please note this was conducted some time ago, so the data is as it is, and I know it isn't perfect!). A brief description of the experiment follows: Pots of grass were grown in 1l pots of standad potting medium for 1

Re: [R] Odp: Help me with prediction in linear model

2010-07-24 Thread Research student
Thanks Murphy and pikal, I need another help,for fitting first fourier transformation ,i used following thing .Please advise on this beer_monthl has 400+ records EXample: head(beer_monthly) beer 1 93.2 2 96.0 3 95.2 4 77.1 5 70.9 6 64.8 time-seq(1956,1995.2,length=length(beer_monthly))

Re: [R] help me with holt-winter model

2010-07-22 Thread Research student
Please help me with this i need to submit my thesis . Thanks In advance -- View this message in context: http://r.789695.n4.nabble.com/help-me-with-holt-winter-model-tp2295552p2298464.html Sent from the R help mailing list archive at Nabble.com.

[R] Please advise acf and pacf in order to determine order of Arima

2010-07-22 Thread Research student
I have data as below.Please let me know how the ACF and Pacf used to determine the order od arima model. Is there any rules need to be followed to determine order.Please advise turkey.price.ts Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec 2001 1.58 1.75 1.63 1.45 1.56 2.07

[R] KALMAN

2010-07-21 Thread Research
Hello, I am looking for some very simple, step by step, hands on application/examples/notes etc. on setting up a multivariate time series Kalman filter model in R. Any help/pointers much appreciated. Best regards, Costas __ R-help@r-project.org

[R] List of zoo multivariate series

2010-06-30 Thread Research
Hi, I have a list which is basically a database of zoo multivariate objects: x.Date - as.Date(2003-02-01) + c(1:100) - 1 x - zoo(rnorm(100), x.Date) z - zoo(rnorm(100), x.Date) y - zoo(rnorm(100), x.Date) k - zoo(rnorm(100), x.Date) a-merge(x,z) b-merge(y,k)

[R] merge.zoo and fill

2010-06-30 Thread Research
Hello again, I merge different zoo time series with prices at different dates. This returns a multivariate zoo object with NA's at various points i.e., 2010-02-28 NA NA NA NA 850.2 2444.4 NA NA NA NA NA NA NA 2010-03-01 61.1 55.3

[R] Duplicate dates in zoo objects

2010-06-22 Thread Research
Hello, I have a zoo time series read from an excel file which has some dates the same, such as the following example: 02/10/1995 4925.5 30/10/1995 4915.9 23/01/1996 4963.5 23/01/1996 5009.2 04/03/1996 5031.9 # here 04/03/1996 5006.5 # here 03/04/1996 5069.2

Re: [R] Time problems (POSIXct)

2010-05-25 Thread Research
Thanks Gabor, I suppose that in the example below, you can convet Date to POSIXct as well, can't you? Best, Costas On 20/05/2010 18:08, Gabor Grothendieck wrote: The warning message does tell you exactly what was wrong. You are trying to merge zoo objects that have two different index

[R] Time problems (POSIXct)

2010-05-20 Thread Research
Hello, I have a zoo time series object (say a) with the following time stamp/format [1] 1950-01-03 GMT 1950-01-04 GMT 1950-01-05 GMT 1950-01-06 GMT [5] 1950-01-09 GMT 1950-01-10 GMT and another (say b) with [1] 1950-01-05 1950-01-06 1950-01-09 1950-01-10 1950-01-11 [6] 1950-01-12 I

[R] Histogram Bin

2010-05-14 Thread Research
Hello, Is there a function that returns the number of the bin (or quantile, or percentile etc. etc.) that a value of a variable may belong to? Tor example: breaks-hist(variable, 18, plot=FALSE) If the following breaks are 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 the boundaries

[R] mvpart : Printing response values at terminal nodes

2010-04-26 Thread S, Manjunath (GE, Research)
I have created a multivariate regression tree using mvpart, with 3-4 responses. Though the plot shows bargraphs for each response, I would like to have the VALUES of the responses printed or indicated (via a scale or something) alongside the bargraph. Is this possible ?? Thanks, Manjunath

Re: [R] N'th of month working day problem

2010-04-12 Thread Research
Dear Gabor, Thanks for your reply. however: tail(DJd) ^DJI.Close 2010-04-01 10927.07 2010-04-05 10973.55 2010-04-06 10969.99 2010-04-07 10897.52 2010-04-08 10927.07 *2010-04-09 10997.35* tail(ag) 2009-11-30 10344.84 2009-12-31 10428.05 2010-01-31 10067.33 2010-02-28

[R] Exchanging zoo object dates

2010-04-08 Thread Research
Hi, I have two zoo objects (time series of same frequency) say A and B. I need to exchange A's dates for B's. Is there and easy way? I managed to do it by converting A to a vector and pasting it on a zoo vector (all ones) with B's dates but I wonder if there is an easier way by some zoo

[R] Playwith with Linux Mint

2010-03-19 Thread Research
Hi, I am having problems installing playwith on a Linux Mint ver. 8 (Helena) computer running R-2.10.1. src/base/R-2/R-2.10.1.tar.gz Anybody facing similar problems? Is it a GTK issue? I can not install the cairo related packages/libraries as well. Any pointers very welcome. Thanks +

[R] List of zoo dataframes

2010-03-03 Thread Research
Hello, I have various datasets of zoo time series (merged into single frames via the merge command) such as datevar0var1var2var3 08/07/1996 652.54 0.2239220.5158190.502638 08/08/1996 662.59 0.9978410.0003830.999806 06/09/1996

[R] ZOO object colnames refering to Dates

2010-02-11 Thread Research
Hello, I have large zoo objects (about 100 or more time series merged next to eachother). Example: X05.Oct.99 X05.Nov.99 X05.Dec.99 X05.Jan.00 X05.Feb.00 X05.Mar.00 X05.Apr.00 X05.May.00 X05.Jun.00 [1,] 5649.3 5679.4 5679.4 5679.4 5679.4 5679.4 5679.4

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

2010-02-01 Thread Research
: There is an example of using zoo together with the playwith package at the end of the examples section of help(xyplot.zoo) which may address this. On Thu, Jan 28, 2010 at 7:10 AM, Research risk2...@ath.forthnet.gr wrote: Dear all, I am looking at the R-help entry below: http

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

2010-02-01 Thread Research
Many thanks Liviu! Liviu Andronic wrote: On 2/1/10, Research risk2...@ath.forthnet.gr wrote: do_something_else = function(playstate) ###Export here mean value of sequence playState$env$i### Would this do the trick? playwith(xyplot(dat[,c(1,i)]), parameters = list(i = 1:100

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

2010-01-28 Thread Research
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 forth and compare them to the 1st column at any time.

[R] piecewise regression using nlme function

2010-01-07 Thread Carlson, Erik A (GE, Research)
Is a 95% CI on a breakpoint fixed effect legitimate when the nonlinear equation is continuous but not differentiable at the breakpoint? I used the nlme to generate a non-linear mixed-effects piecewise model with initial slope zero prior to an unknown breakpoint. It did give a 95% CI for the

[R] End of Month date capture

2009-11-11 Thread Research
Dear R-users, I have the following zoo object: x1x2 x3 x4 x5 x6 1998-08-31 -0.0704375904 NA NA NA NA NA 1998-09-01 0.0379028122 NA NA NA NA

[R] AMRAtoMA

2009-11-10 Thread Pietrzykowski, Matthew (GE, Research)
Hello R Users! I have a question about the output of ARMAtoMA when used to calculate the variance of a model. I have a mixed model of the form ARMA(1,1). The actual model takes the form: X(t) = 0.75X(t-12) + a(t) - 0.4a(t-1) Given that gamma(0) takes the form [(1 + theta^2 -

[R] A beginner's question about ggplot

2009-05-01 Thread MUHC-Research
Dear R-users, I would have another question about the ggplot() function in the ggplot2 package. All the examples I've read so far in the documentation make use of a single neatly formatted data.frame. However, sometimes, one may be interested in plotting on the same grid information or objects

[R] Overlaying graphs from different datasets with ggplot

2009-04-30 Thread MUHC-Research
Dear R-users, I recently began using the ggplot2 package and I am still in the process of getting used to it. My goal would be to plot on the same grid a number of curves derived from two distinct datasets. The first dataset (called molten.data) looks like this : Column names : Perc, Week,

Re: [R] lme between-group and within-group covariance

2009-04-03 Thread MUHC-Research
for the Psi matrix (same notation), that is, a correlation structure for the random effects. If lme() doesn't allow for this, is there any other function that I could use? MUHC-Research wrote: Dear R users, I would be interested in using the lme() function to fit a linear mixed model

[R] lme between-group and within-group covariance

2009-04-01 Thread MUHC-Research
Dear R users, I would be interested in using the lme() function to fit a linear mixed model to a longitudinal dataset. I know this function allows for the specification of a within-group covariance structure. However, does it allow for the explicit specification of a between-group covariance

[R] Reflecting correct color and density values in a barplot legend

2008-08-08 Thread Pietrzykowski, Matthew (GE, Research)
Hello- I am trying to build a barplot with a fairly large number or categories (65). I figured out how to plot the bars with solid colors and then with density lines to differentiate the 65 items with the following code: barplot(data,col = seq(2:11)) barplot(data,col = black, density =

[R] Simulated annealing method with restarts

2008-05-09 Thread Gordon, Bernard (Research)
/instruments mentioned. Morgan Stanley may deal as principal in or own or act as market maker to securities/instruments mentioned or may advise the issuers. This may refer to a research analyst/research report. For additional information, research reports and important disclosures, contact me or see

[R] peak finding

2008-03-24 Thread Research Scholar
Hi all Is there a function that can find the start and end position of peaks in a set of numbers. eg. x=c(14,15,12,11,12,13,14,15,16,15,14,13,12,11,14,12) y=somefunction(x) y 4 14 Thanks John [[alternative HTML version deleted]] __

Re: [R] peak finding

2008-03-24 Thread Research Scholar
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Research Scholar Sent: Tuesday, 25 March 2008 12:54 PM To: r-help@r-project.org Subject: [R] peak finding Hi all Is there a function that can find the start and end position of peaks in a set of numbers. eg. x - c

[R] Replacing text

2008-03-11 Thread Suran, Luciana @ Torto Wheaton Research
Sorry, another newbie question :-( I loaded a data set with 10 rows and 30 columns. The first column is characters for names of car manufacturers: Jeep Nissan Toyota1 Toyota2 Etc. How can I replace Toyota2 with Scion? Thanks again [[alternative HTML

[R] combining/deleting rows

2008-03-10 Thread Suran, Luciana @ Torto Wheaton Research
| Economist CBRE Torto Wheaton Research | Research 200 High Street, 3rd Floor | Boston, MA 02110 T 617 912 5204 | F 617 912 5240 [EMAIL PROTECTED] | www.tortowheatonresearch.com Please consider the environment before printing this email. This email may contain information

[R] linear discriminant analysis / search

2008-03-06 Thread Research Scholar
Dear R help list, I have a training dataset that looks like Table1. I have an unknown dataset that looks like Table2. I want to have a program that should search the training dataset and identify that the unknown sample belongs to which category (type1, type2 or type3) and also if the unknown

[R] linear discriminant analysis

2008-03-06 Thread Research Scholar
Dear R help list, I have a training dataset that looks like Table1. I have an unknown dataset that looks like Table2. I want to have a program that should search the training dataset and identify that the unknown sample belongs to which category (type1, type2 or type3) and also if the unknown

Re: [R] Object Oriented programming in R

2008-03-06 Thread Research Scholar
You can try this good resource http://www1.maths.lth.se/help/R/R.oo/ RS On Thu, Mar 6, 2008 at 9:30 PM, Davood Tofighi [EMAIL PROTECTED] wrote: Dear all, I was wondering if there a guide/tutorial to the object oriented programming in R for the beginners. Thanks, -- Davood Tofighi

[R] forming a linear discriminant function from the output of lda()

2008-01-18 Thread Pietrzykowski, Matthew (GE, Research)
Hello all- I am a relatively new user of R and am working through a graduate course in Statistics that uses Minitab, SAS and some Matlab. I like using R but am having some trouble lining up the output from lda() to that of the other programs' results. The dataset below is a modified set of