Hi
there are maybe better solutions but I would use ave with length function for
each column separately to add new column.
See ?ave
Cheers
Petr
> -Original Message-
> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Val
> Sent: Tuesday, October 06, 2015 1:01 AM
> To: r-h
Does anyone knows how to return the prediction probabilities for CSimca
function for rrcovHD package?
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more
I am looking for SEM packages in R that can test multilevel mediation with
multiple simultaneous mediators. It looks like the ‘Mediation’ package will do
this. Are there others?
Thanks,
Mark
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and m
Hi All,
I have a data set ( region, city, town and district). The data looks like
region, city, town, district
1 1 1 1
1 1 1 2
1 1 1 3
1 1 2 1
1 1 2 2
1 2 1 1
I want the counts for region, city and town. Here region 1 has 6
records, city 1 has 5 records and city 2 has 1 re
So once I commented out 12 lines of code in the scatter3d function it
plotted just the planes, as desired. Thanks for the help!
On Sat, Oct 3, 2015 at 12:50 PM, Fox, John wrote:
> Dear Uwe,
>
> > -Original Message-
> > From: Uwe Ligges [mailto:lig...@statistik.tu-dortmund.de]
> > Sent: O
Prof Ripley made an announcement on R-SIG-Mac that the development machine was
recently (as in yesterday) changed to El Capitan.
https://stat.ethz.ch/pipermail/r-sig-mac/2015-October/011632.html
You should subscribe to the correct mailing list.
On Oct 5, 2015, at 7:03 AM, R Martinez wrote:
>
I use it daily (hourly, really) on 10.11 (including the new betas). No issues.
On Mon, Oct 5, 2015 at 10:03 AM, R Martinez wrote:
> Has anyone tried to use R 3.2.2 on a Mac running OS 10.11 El Capitan? Did it
> work? Were any problems installing and running it?
>
> Thanks in advance,
>
> Raul Ma
On 06/10/15 04:43, li li wrote:
Hi all,
Using the "bindata" package, it is possible to gerenerate
correlated binomial random variables both with the same number of
trials, say n. I am wondering whether there is an R function to
calculate the joint probability distribution of the correlated
bi
Hi,I am having a problem with the ReadAffy() in the university R programming
environment. I install affyPLM and invoke library(affyPLM) in the following
way. I have the cel files in the craig subdirectory. Please let me know how to
resolve the problem.Amit
source("http://bioconductor.org/biocLit
Has anyone tried to use R 3.2.2 on a Mac running OS 10.11 El Capitan? Did it
work? Were any problems installing and running it?
Thanks in advance,
Raul Martinez
Sent from my iPad 4
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, s
Hi
Thanks a lot to all of you for your solutions and explanations.
On Sun, Oct 4, 2015 at 10:34 PM, David Winsemius
wrote:
>
> On Oct 4, 2015, at 11:31 AM, FERNANDO MANSITO CABALLERO wrote:
>
> > Dear Madam/Sir,
> >
> > I am trying to understand R and I have come to a stumbling block. i
> >
Dear R enthusiasts,
I would like to announce PortfolioEffectHFT package availability on CRAN:
https://cran.r-project.org/web/packages/PortfolioEffectHFT/
It is an R interface to PortfolioEffect Quant service for backtesting high
frequency trading (HFT) strategies, intraday portfolio analysis and
On Oct 5, 2015, at 1:36 AM, Jutta Wrage wrote:
> Hi!
>
> Guess, I got in trouble somehow now.
> Not sure whether this question is placed well in this list. Do I have to ask
> my question in R-SIG-MAC?
>
> Installed R version: 3.2.1 for OS X up to 10.8
>
> I did update the package list from wi
Either
Dat$c <- ifelse( "Y"==Dat$b, rep( "D", nrow(Dat) ), Dat$a )
Or (more efficiently)
Dat$c <- Dat$a
Dat$c[ "Y"==Dat$b ] <- "D"
Also, beware of creating data frames without using the stringsAsFactors=FALSE
option if you plan to replace levels like this.
-
?ifelse
I changed Dat to a. have character type instead of factor, and b.
actually match what you show in your example instead of already having
D.
Dat <- data.frame(a= c('A','A','C','B','C','C','B'),
b= c('N','N','Y','N','Y','N','N'), stringsAsFactors=FALSE )
Dat$c <- with(Dat, ifelse(b == "Y"
Hello all,
I have a rather easy question. I want to add a column to the database which
will change the values of vector a based on the values to vector b. Any
ideas how?
For example:
Dat <- data.frame(a= c('A','A','C','B','D','D','B'),
b= c('N','N','Y
Hi,
I am pleased to announce the availability of 'maps' v3.0.0
This is a major update, mainly because of a new 'world' map. The new data is
adapted from the public domain GIS project Natural Earth (the 1:50m admin-0
countries map).
This change in data has a number of consequences for users.
Hi all,
Using the "bindata" package, it is possible to gerenerate
correlated binomial random variables both with the same number of
trials, say n. I am wondering whether there is an R function to
calculate the joint probability distribution of the correlated
binomial random variables. Say if X i
Yes..it works. Thanks 😃
-Original Message-
From: "stephen sefick"
Sent: 05-10-2015 09:01 PM
To: "Preetam Pal"
Cc: "r-help@r-project.org"
Subject: Re: [R] Quantile Regression without intercept
I have never used this, but does the formula interface work like lm? Y~X-1?
On Mon,
I have never used this, but does the formula interface work like lm? Y~X-1?
On Mon, Oct 5, 2015 at 10:27 AM, Preetam Pal wrote:
> Hi guys,
>
> Can you instruct me please how to run quantile regression without the
> intercept term? I only know about the rq function under quantreg package,
> but i
as for lm() or any other linear model fitting….
rq( y ~ x - 1, … )
url:www.econ.uiuc.edu/~rogerRoger Koenker
emailrkoen...@uiuc.eduDepartment of Economics
vox: 217-333-4558University of Illinois
fax: 217-244-6678U
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible co
Hi guys,
Can you instruct me please how to run quantile regression without the intercept
term? I only know about the rq function under quantreg package, but it
automatically uses an intercept model. Icant change that, it seems.
I have numeric data on Y variable (Gdp) and 2 X variables (Hpa and
Hi!
Guess, I got in trouble somehow now.
Not sure whether this question is placed well in this list. Do I have to ask my
question in R-SIG-MAC?
Installed R version: 3.2.1 for OS X up to 10.8
I did update the package list from within R application and installed some new
package versions.
Now I
RTFM: help("ca.jo-class")
library(urca)
example(ca.jo)
class(sjf.vecm)
slotNames(sjf.vecm)
slot(sjf.vecm, "cval")
slot(sjf.vecm, "teststat")
slot(sjf.vecm, "V")
slot(sjf.vecm, "Vorg")
Best,
Bernhard
-Ursprüngliche Nachricht-
Von: R-help [mailto:r-help-boun...@r-project.org] Im Auftrag vo
25 matches
Mail list logo