On Fri, 11 Jul 2014 14:17:23 +0800
Katherine Gobin wrote:
> Dear R Forum,
>
> I am looking for some write-up or paper on Use of R for Analytics or
> why R should be preferred over others for Analytics purpose. Tried
> google but got some info about some commercial vendors using R for
> analytics
On Jul 10, 2014, at 1:07 PM, Federico Razzoli wrote:
>> Just to check, are you loading the package using
>>
>> library(RMySQL)
>>
>> before trying to use it?
>>
>> If so, is it giving you any errors?
>
> Hi,
> It was my first attempt, but since it didn't work I tried the other
> suggested met
Dear R Forum,
I am looking for some write-up or paper on Use of R for Analytics or why R
should be preferred over others for Analytics purpose. Tried google but got
some info about some commercial vendors using R for analytics. I am looking for
some paper where no commercial flavor is given, I
Hi Jean,
I'd looked at the help for 'prp' but couldn't find the argument for
changing box colours. Am I missing something?
On Thu, Jul 10, 2014 at 8:01 PM, Adams, Jean wrote:
> The function fancyRpartPlot() is actually in the rattle package, and it is
> a wrapper for the prp() function in the
I have been trying to build RStudio (Desktop) from the source code in
'rstudio-rstudio-v0.98.952-0-g47edc6d.tar.gz' on a machine running Ubuntu
14.04 with an ARMv7 processor.
I have successfully installed all the dependencies, except for Pandoc (I
think).
I configured the build environment in acc
I'm trying to get RStudio (Desktop) up and running on a Samsung XE303C12
running Ubuntu 14.04. This machine has a duel-core ARM processor inside.
This is the process I have followed so far.
- Installed R using the Ubuntu Software Centre.
- Downloaded RStudio source code in the form of
'rstudio-
I'm trying to get RStudio (Desktop) up and running on a Samsung XE303C12.
It has a duel-core ARM processor.
- Installed R using Ubuntu Software Centre.
- Downloaded source code in the form of
'rstudio-rstudio-v0.98.952-0-g47edc6d.tar.gz' from
rstudio.com/products/rstudio/download and unpacked i
Dear Katharina,
There's no specific method for linearHypothesis() for objects produced by
plm(), but as you say, the default method seems to work. For example, following
example(plm):
-- snip ---
> linearHypothesis(zz, names(coef(zz)), test="F")
Linear hypothesis test
Hypothes
Hi
I have not used quantmod before so I got the
stock.name <- getSymbols(stock.code, from = "2010-01-01",
to = Sys.Date(), src =
"yahoo", auto.assign=FALSE)
chartSeries(stock.name, theme = theme.white,
# subset = 'last 12 months
Hi All,
Thanks for all comments/suggestions.
I would like to clarify a few things for some of your questions/doubts.
1) Matt Peeples' K-Clusters R scripts has covered some of pre-requisite steps
for the K-Clusters algorithm.
I would recommend for those who has not done K-Clusters to read it.
I confirm that the original problem doesn't happen in R 3.1.1. in
Windows (XP, this time). That is,
source("http://psych.ut.ee/~R/test-utf8.txt";)
.. no longer crashes R but gives a sensible (i.e., understandable,
after this discussion) error.
... and adding encoding="UTF-8-BOM" reads in the file
> Just to check, are you loading the package using
>
> library(RMySQL)
>
> before trying to use it?
>
> If so, is it giving you any errors?
Hi,
It was my first attempt, but since it didn't work I tried the other
suggested method. By the way, here is what I get:
> install.packages("RMySQL")
Insta
Hi,
On Thu, Jul 10, 2014 at 3:34 PM, Federico Razzoli wrote:
> Hello. I am trying to install RMySQL. My Os is Debian and I have MariaDB
> installed from the tar package (not deb). After downloading RMySQL, I ran
> the following commands, and I see DONE. Hoewever, I don't think that the
> package
Hello. I am trying to install RMySQL. My Os is Debian and I have MariaDB
installed from the tar package (not deb). After downloading RMySQL, I ran
the following commands, and I see DONE. Hoewever, I don't think that the
package is installed, because the dbConnect() function cannot be found.
Probabl
Hi Chris,
Thanks for pointing out the use of "View page source". Very helpful to know.
Do you happen to know anything about how to perform the analysis itself? I
haven't been able to find anything confirming that the approach described in my
original email (below) is correct.
Thanks,
Paul
I'm trying to determine the number of factors to extract for a factor
analysis, but am having trouble with the nS/nScree function. I did this
successfully earlier today but with the wrong matrix/dataframe, and for some
reason it won't work with the corrected one even though I've entered the
same c
You can make make a factor with a common set of levels out of each slice of
the matrix so all the tables are the same size:
f <- function (charMatrix, levels = unique(sort(as.vector(charMatrix
{
apply(charMatrix, 1, function(x) table(factor(x, levels = levels)))
}
used as
> m <- cbind(c("A
On Jul 10, 2014, at 12:03 PM, Jonathan Greenberg wrote:
> R-helpers:
>
> I'm trying to determine the frequency of characters for a matrix
> applied to a single dimension, and generate a matrix as an output.
> I've come up with a solution, but it appears inelegant -- I was
> wondering if there i
R-helpers:
I'm trying to determine the frequency of characters for a matrix
applied to a single dimension, and generate a matrix as an output.
I've come up with a solution, but it appears inelegant -- I was
wondering if there is an easier way to accomplish this task:
# Create a matrix of "factors
Hi Dr. Therneau,
Thanks for your response. This is very helpful.
My historical control value is 16 weeks. I've been having some trouble though
determining how this value was obtained. Are you able to indicate how people
normally go about determining a value for the historical control? Or do you
Here is one way to use rle() to solve the problem:
shortRunsOfOnesToNAs <- function(x, n) {
r <- rle(x)
r$values[r$values==1 & r$lengths < n] <- NA
rep(r$values, r$lengths)
}
E.g.,
input <- c(0,0,1,1,1,0,0,0,0,1,1,1,1,1,1,1,1)
result <- shortRunsOfOnesToNAs(input, 5)
de
Hello John, Michael and David,
I will review Vegan Package. I am very thankful with your help.
Best,
Judith
On Thu, Jul 10, 2014 at 9:04 AM, David L Carlson wrote:
> In particular, look at the vegan Vignette, "Introduction to Ordination in
> vegan", particularly section 4 on constrained ordin
This question was spawned by another thread entitled "R on Windows
crashes when source'ing UTF-8 file".
The solution to that problem was to use the _proper_ encoding=
parameter of the source() function. But where are they documented? Or
how do I find them in R itself? I ask because the proper enco
On 10/07/2014 9:53 AM, Kenn Konstabel wrote:
Wow. Thanks a lot!
source("http://psych.ut.ee/~nek/R/test-utf8.txt";, encoding="UTF-8-BOM")
# works correctly on my Windows 7 machine
# (and without encoding argument it still crashes R)
Kenn
On Thu, Jul 10, 2014 at 4:33 PM, John McKown
wrote:
> On
The function fancyRpartPlot() is actually in the rattle package, and it is
a wrapper for the prp() function in the rpart.plot package. If you look at
the help for prp(), you should be able to see how to change the color.
library(rpart.plot)
?prp
Jean
On Thu, Jul 10, 2014 at 12:34 AM, Abhinaba
Hi
Works for me after I commented uknown function cal.wyd
> version
_
platform i386-w64-mingw32
arch i386
os mingw32
system i386, mingw32
status Under development (unstable)
major 3
minor 1.0
year 2013
month
In particular, look at the vegan Vignette, "Introduction to Ordination in
vegan", particularly section 4 on constrained ordination which describes three
approaches that seem relevant to your problem.
http://cran.r-project.org/web/packages/vegan/vignettes/intro-vegan.pdf
David Carlson
-Orig
Wow. Thanks a lot!
source("http://psych.ut.ee/~nek/R/test-utf8.txt";, encoding="UTF-8-BOM")
# works correctly on my Windows 7 machine
# (and without encoding argument it still crashes R)
Kenn
On Thu, Jul 10, 2014 at 4:33 PM, John McKown
wrote:
> On Thu, Jul 10, 2014 at 7:18 AM, Kenn Konstabel
You are asking for a one sample test. Using your own data:
connection <- textConnection("
GD2 1 8 12 GD2 3 -12 10 GD2 6 -52 7
GD2 7 28 10 GD2 8 44 6 GD2 10 14 8
GD2 12 3 8 GD2 14 -52 9 GD2 15 35 11
GD2 18 6 13 GD2 20 12 7 GD2 23 -7 13
GD2 24 -52 9 GD2 26 -52 12
Have you got any further with this? I have the same problem...
On Wednesday, 4 June 2014 22:17:20 UTC+2, Will Leahy wrote:
>
> I'm trying to simplify a group of adjacent polygons without gaps and line
> overlaps forming between them. Ideally I'd like results similar to what
> mapshaper produce
Dear sir,
I am a beginner in R and I am having problem in installing raccumulo
package.On trying to install it on RStudio from cran repository it gives
error:
*Warning in install.packages :**
** package 'raccumulo' is not available (for R version 3.1.0)**
*On installing it from github followin
Hi everybody,
I have a small problem in a function, about removing short sequences of
identical numeric values.
For the example, we can consider this data, containing only some "0" and
"1":
test <- data.frame(x=c(0,0,1,1,1,0,0,0,0,1,1,1,1,1,1,1,1))
The aim of my purpose here is simply to remove
Correction
The warnings section in ?png indicate that Helvetica is the default font.
Now I need to verify if this is true for my plot and find out where this
font is located on my system
On Thu, Jul 10, 2014 at 8:54 AM, Sébastien Bihorel wrote:
> Hi David,
>
> Thank you for your response.
>
>
Hi David,
Thank you for your response.
I use png devices to create my plots. Looking at ?pdfFonts and ?Type1Font,
I believe these fonts only apply to pdf devices. Additionally, ?grid::gpar
and ?png are not specific about default font options.
Any suggestions?
Sebastien
On Thu, Jul 10, 2014 a
Dear all,
I found an unexpected behaviour when trying to `source` an utf-8 file
on windows 7:
source("http://psych.ut.ee/~nek/R/test-utf8.txt";)
# Rgui.exe reacts:
# R for windows GUI has stopped working. A problem caused the program
to stop working correctly.
# Windows will close the program an
On Wed, 9 Jul 2014 04:47:39 PM Janet Choate wrote:
> Hi R community,
> i created a function (mkdate) as follows:
>
> mkdate = function(x) {
> x$date = as.Date(paste(x$year, x$month, x$day, sep="-"))
> x$wy = ifelse(x$month >=10, x$year+1, x$year)
> x$yd = as.integer(format(as.Date(x$date), format=
Hi, Lars.
I don't understand well your question. why don't you simply type
pred_leuk
Call: survfit(formula = leuk.cox, newdata = leuk_new)
records n.max n.start events median 0.95LCL 0.95UCL
1 4242 42 30 1 1 23
2 4242 42 30 7
Hi All,
Apologies for the simple question, but I could not find a straightforward
answer based on my limited knowledge of survival analysis.
Iâm trying to obtain the predicted median survival time for each subject on
a new dataset from a fitted coxph{survival} or cph{rms} object. Would the
quan
Dear Community,
unfortunately I can´t give you an reproducable example, because I really do
not understand why this messages pops up.
I estimate an Fixed Effects Modell, controlling for HAC, because F-statistic
changes, I want to compute it, for the other model-specifications it works,
But for t
The build system rolled up R-3.1.1.tar.gz (codename "Sock it to Me") this
morning.
The list below details the changes in this release.
You can get the source code from
http://cran.r-project.org/src/base/R-3/R-3.1.1.tar.gz
or wait for it to be mirrored at a CRAN site nearer to you.
Binaries fo
Maria
The variables
Araceae,Begoniaceae,Bromeliaceae,Clusiaceae,Cyclanthaceae,Ericaceae,Gesneriaceae,
Melastomataceae,Orchidaceae,Piperaceae,Pteridophyta
are frequencies (abundances?) of which most are 0 and this is not
appropriate
as multivariate normal data.
There is probably a version of c
41 matches
Mail list logo