Re: [R] R logo size in package information tab of Rstudio

2016-03-29 Thread Jeff Newmiller
You are not clarifying yet. If this requires RStudio to reproduce then this question doesn't belong here. I am not yet convinced that RStudio IS required, but every time you mention it the water gets muddier. -- Sent from my phone. Please excuse my brevity. On March 29, 2016 9:07:49 PM PDT,

Re: [R] R logo size in package information tab of Rstudio

2016-03-29 Thread Marc Girondot via R-help
Here are my R session information: > sessionInfo() R version 3.3.0 alpha (2016-03-24 r70373) Platform: x86_64-apple-darwin13.4.0 (64-bit) Running under: OS X 10.11.4 (El Capitan) locale: [1] fr_FR.UTF-8/fr_FR.UTF-8/fr_FR.UTF-8/C/fr_FR.UTF-8/fr_FR.UTF-8 If the help is displayed within the R gui

[R] Filtering based on the occurrence

2016-03-29 Thread Farnoosh Sheikhi via R-help
Hello,  I have a data set similar to below and I wanted to keep the observations after the first occurrence of these department: "B", "D", "F".For example for ID=2, the observation with deps=B and anything after will be kept in the data. For ID=3, observations with deps=D and anything after

[R] Compute the Gini coefficient

2016-03-29 Thread Marine Regis
Hello, I would like to build a Lorenz curve and calculate a Gini coefficient in order to find how much parasites does the top 20% most infected hosts support. Here is my data set: Number of parasites per host: parasites = c(0,1,2,3,4,5,6,7,8,9,10) Number of hosts associated with each number

Re: [R] Accented characters, windows

2016-03-29 Thread Duncan Murdoch
On 29/03/2016 5:39 PM, Jan Kacaba wrote: I have problem with accented characters. My OS is Win 8.1 and I'm using RStudio. I make string : av="ěščřž" When I call "av" I get result bellow. av [1] "ìšèøž" The resulting characters are different. I have similar problem when I write string to a

Re: [R] R logo size in package information tab of Rstudio

2016-03-29 Thread Duncan Murdoch
On 29/03/2016 3:42 PM, Marc Girondot via R-help wrote: Two different sizes of R logo are shown in Rstudio in the Help at the package level. For example, numderiv shows a nice discreet logo located at (in MacosX): /Library/Frameworks/R.framework/Versions/3.3/Resources/doc/html/logo.jpg whereas

[R] Convergence issues when using ns splines (pkg: spline) in Cox model (coxph) even when changing coxph.control

2016-03-29 Thread Jennifer Wu, Miss
Hi, I am currently using R v3.2.3 and on Windows 10 OS 64Bit. I am having convergence issues when I use coxph with a interaction term (glarg*bca_py) and interaction term with the restricted cubic spline (glarg*bca_time_ns). I use survival and spline package to create the Cox model and cubic

[R] Accented characters, windows

2016-03-29 Thread Jan Kacaba
I have problem with accented characters. My OS is Win 8.1 and I'm using RStudio. I make string : av="ěščřž" When I call "av" I get result bellow. > av [1] "ìšèøž" The resulting characters are different. I have similar problem when I write string to a file. In RGUI if I call "av" it prints

Re: [R] How to solve an NLME problem?

2016-03-29 Thread Ben Bolker
David C Blouin lsu.edu> writes: > I have a nonlinear model where I want to include random > coefficients for a sample of random SUBJECTS. The fixed effects part > of the model is Y ~ B + (T - B) / (1 + 10**(X - C)) and I would like > to include random coefficients b for B, t for T, and c for C.

Re: [R] [FORGED] help in maximum likelihood estimation

2016-03-29 Thread Jeff Newmiller
The R software is a product of many individuals contributions... when you implement that function please contribute it. Until then, a little more effort on your part really is needed to convey your problem clearly... the usual standard of clarity is a minimal reproducible example. Discussions

[R] Total Least Squares Regression

2016-03-29 Thread Lorenzo Isella
Dear All, I am looking for an R package to handle total least square regression (TLS). See http://bit.ly/1pSf4Bg I am in a situation in which I have errors in both the dependent variables X (plural because I have several predictors) and the independent variable y. I found several discussion

[R] R logo size in package information tab of Rstudio

2016-03-29 Thread Marc Girondot via R-help
Two different sizes of R logo are shown in Rstudio in the Help at the package level. For example, numderiv shows a nice discreet logo located at (in MacosX): /Library/Frameworks/R.framework/Versions/3.3/Resources/doc/html/logo.jpg whereas packrat shows a huge logo located at:

Re: [R] [FORGED] help in maximum likelihood estimation

2016-03-29 Thread heba eldeeb via R-help
Dear Rolf I wish this function is written as soon as possible to know how anyone spend time to reply as you did Thanks On Tuesday, March 29, 2016 9:07 PM, Heba wrote: Dear Rolf I wish this function is written as soon as possible to know how anyone spend

Re: [R] help in maximum likelihood estimation

2016-03-29 Thread Marc Girondot via R-help
Le 28/03/2016 22:19, heba eldeeb via R-help a écrit : Dear AllI'm trying to find the maximum likelihood estimator of a certain distribution using nlm command but I receive an error as: non-finite value supplied by 'nlm' can't figure out what is wrong in my function Any help? Thank you in

Re: [R] Export the result k-means cluster to CSV file

2016-03-29 Thread S Ellison
> i am confusing about your code , i can not get the the desired result . can > you > more clear for the code? The code I suggested just provided a structured text output of the kmeans object. If you want a cluster-by-cluster output of the original data, you will need to write a function

Re: [R] Can forecasting is possible through R Studio on the basis of past experience of data

2016-03-29 Thread Bert Gunter
You should have first searched the RStudio website, where you would have found: https://www.rstudio.com/online-learning/#R Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his

Re: [R] Can forecasting is possible through R Studio on the basis of past experience of data

2016-03-29 Thread Boris Steipe
R Studio is basically a wrapper for R. To find out more about how to work with R, just use Google. Or, for a more focussed experience, navigate to www.rseek.org B. On Mar 29, 2016, at 11:37 AM, Prasad Kale wrote: > Hi All, > > I am very new to the R. I just

[R] Can forecasting is possible through R Studio on the basis of past experience of data

2016-03-29 Thread Prasad Kale
Hi All, I am very new to the R. I just want to ask whether through R Studio can I able to build forecasting module. Means on the basis of past experience can I able to predict future trend. To start up can you please provide me any useful links or documents so by referring this i will try at my

[R] [R-pkgs] New R package for K-S goodness-of-fit tests

2016-03-29 Thread Novack-Gottshall, Philip M.
Greetings, We wanted to announce a new R package 'KScorrect' that carries out the Lilliefors correction to the Kolmogorov-Smirnoff test for use in (one-sample) goodness-of-fit tests. It's well-established it's inappropriate to use the K-S test when sample statistics are used to estimate

[R] How to solve an NLME problem?

2016-03-29 Thread David C Blouin
I have a nonlinear model where I want to include random coefficients for a sample of random SUBJECTS. The fixed effects part of the model is Y ~ B + (T - B) / (1 + 10**(X - C)) and I would like to include random coefficients b for B, t for T, and c for C. The model is a fairly well-known

Re: [R] converting a class dataframe (chars) to transaction class

2016-03-29 Thread Giorgio Garziano
mydf <- data.frame(d1 = LETTERS[1:10], d2 = letters[11:20]) > str(mydf) 'data.frame': 10 obs. of 2 variables: $ d1: Factor w/ 10 levels "A","B","C","D",..: 1 2 3 4 5 6 7 8 9 10 $ d2: Factor w/ 10 levels "k","l","m","n",..: 1 2 3 4 5 6 7 8 9 10 > library(arules) trans1 <- as(mydf,

Re: [R] How to form groups for this specific problem?

2016-03-29 Thread Adams, Jean
You're welcome, Satish. Yes, questions that are seeking solutions in R code are appropriate for this group. It's helpful if you provide sample data (for example, using dput()) and sample R code that folks can use. And it's helpful if you show the results that you are hoping to achieve (as you

Re: [R-es] Mann-Whitney con datos temporales

2016-03-29 Thread Carlos J. Gil Bellosta
Hola, ¿qué tal? Estoy de acuerdo en todo menos en una cosa: que si las series están autocorrelaccionadas (que lo estarán casi seguro), las diferencias también lo estarán (necesariamente). Porque la primera cosa que se me ocurre (y no me parece descabellada) es que si el efecto de la ubicación es

Re: [R] how can I count data points outside the main plot line?

2016-03-29 Thread Giorgio Garziano
As a "quick solution", I would explore the use of stat_smooth() and then extract fit data from, as herein shown: library(ggplot2) p <- qplot(hp, wt, data=mtcars) + stat_smooth(method="loess") p ggplot_build(p)$data[[2]] xy ymin ymaxse PANEL group colour

Re: [R] Performance Analytics Modigliani Code help

2016-03-29 Thread Jim Lemon
Hi Jessy, I had a look at: http://www.rdocumentation.org/packages/PerformanceAnalytics/functions/Modigliani and it doesn't include a "Value" section, so I don't know what the return value should be. Have you tried running the examples to see what they return? Jim On Sat, Mar 26, 2016 at 12:10

Re: [R] how can I count data points outside the main plot line?

2016-03-29 Thread PIKAL Petr
Hi Did you try residuals and/or influence.measures? Cheers Petr -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of raz Sent: Tuesday, March 29, 2016 10:51 AM To: r-help@r-project.org Subject: [R] how can I count data points outside the main plot line?

[R] how can I count data points outside the main plot line?

2016-03-29 Thread raz
How can I count data points that lay outside of the main plot line? I have a plot in which most data points create a sigmoid line, but some are spread throughout the plot area, these points dont fit the curve. I would like to count them to know the ratio between the main curve and the data points

Re: [R-es] Mann-Whitney con datos temporales

2016-03-29 Thread Carlos J. Gil Bellosta
Hola, ¿qué tal? En el peor de los casos, tendrías que comparar parejas de temperaturas (por hora). Es decir, con paired = T. Aún así, como dices, tendrías el problema de la correlación entre medidas. En este caso, como en casi todos, lo ideal es plantear un modelo similar a temp ~ temp(h) +

Re: [R] Please guide -- UTF-8 locale setting fails on Windows on writing

2016-03-29 Thread Sunny Singha
Milan, Anwer to your queries: -- But how do you read back the contents of the file? You need to specify the encoding when reading it too. Answer: I read back as stated in 'Case 2' -- Are you sure the notepad saved the text as UTF-8? Answer: Yes. Regards, Sunny On Mon, Mar 28, 2016 at 9:58 PM,