Hi Team,
I was using your psych package for factor analysis and was also comparing
the results with SAS results. I have some suggestions and/or confusions
regarding the fa() function in the package:
- The fa() function *doesn't account for Heywood cases* (communality
greater than 1) and
Hello,
And what about submitting your suggestions directly to the package
author/maintainer?
And please don't post in HTML.
Regards,
Pascal
On Tue, Apr 8, 2014 at 3:13 PM, sagnik chakravarty
sagnik.st...@gmail.com wrote:
Hi Team,
I was using your psych package for factor analysis and was
The standardized mean change using 'change score standardization' is described
in this article:
Gibbons, R. D., Hedeker, D. R., Davis, J. M. (1993). Estimation of effect
size from a series of experiments involving paired comparisons. Journal of
Educational Statistics, 18(3), 271-279.
For a
Prof. Viechtbauer, thanks for the articles. I appreciate your help.
Yours,
John
John Williams
ALB Candidate, Harvard University (Expected May 2014)
johnwilli...@fas.harvard.edu
jawilliam...@gmail.com
--
View this message in context:
The function rpart may well overfit if the value of the CP statistic
is left at its default. Use the functions printcp() and plotcP() to
check how the cross-validation estimate of relative error (xerror)
changes with the number of splits (NB that the CP that leads to a
further split changes
The very first step is to understand the possible nature of proportional hazards. This
is parallel to the usual advice in linear models to graph the data before you start
fitting complicated non-linear models.
zp - cox.zph(CSHR.shore.fly, transform=identity)
plot(zp)# or plot(zp[3]) for
On Mon, 7 Apr 2014, Rich Shepard wrote:
However, when I try to start R as either a user or as root it aborts because
it cannot find /usr/local/bin/R.
When I stepped back from the problem, but shutting down the laptop for the
evening, it occurred to me that the system needed to be rebooted
I have a 3-dimentional data set with dimensions longitude,
latitude, and time. Unfortunately, when I look at the range of
values in the data set, I noticed some very extremely large(positive
and negative) values which are unexpected to be there. So I wanted to
point-out the location (lon, lat and
I tried:
which(3ddata==x) # 3ddata is name of data set, x is the observed extreme
value But this couldn't help me.
You'll need which(3ddata$long==x) if 3ddata is a data frame* with columns long,
lat, time, or something like 3ddata[ ,'long'] if it's a matrix with dimnames or
[,1] if just a
Dear Mamuash Bukana,
is this a data frame with variable names you indicated?
you will need something like which(dataframename$variablename == x)
but if you have more you might use
HTH
kd
Feladó: r-help-boun...@r-project.org
Hi
I know there is a arr.index (or something like that, I'm not near my R right
now) argument to which (). I have used it for 2-dim arrays and never for higher
dimensions. But try it out by setting the argument to TRUE.
Br. Frede
Sendt fra Samsung mobil
Oprindelig meddelelse
Sorry forgot to mention that you probably are better of using = and = instead
of ==
Br. Frede
Sendt fra Samsung mobil
Oprindelig meddelelse
Fra: mamuash bukana
Dato:08/04/2014 15.51 (GMT+01:00)
Til: r-help@r-project.org
Emne: [R] locating a data value in 3-dimensional data
R-helpers:
One of the minor irritations I have is copying paths from Windows
explorer, which look like:
C:\Program Files\R\R-3.0.3
and using them in a setwd() statement, since the \ is, of course,
interpreted as an escape character. I have to, at present, manually
add in the double slashes or
On Tue, Apr 8, 2014 at 4:00 PM, Jonathan Greenberg j...@illinois.eduwrote:
C:\Program Files\R\R-3.0.3
Does R on windows have clipboard support? I can do this on Linux:
readLines(file(clipboard))
[1] C:\\Program Files\\R\\R-3.0.3
- that's from a copy of a path with only single slashes in.
Yes R on Windows have something like that you mentioned. I have only tried it
in conjunction with read.table.
I'm a bit surprised about the \\ on a linux OS. I'm also surprised that in a
file manager on Windows you can paste e.g. C:/users/frtog/Desktop and it can
find its way to the folder.
Hello,
There is support for the clipboard on Windows 7.
Also, note that on Windows your solution leaves a connection open so
maybe the following is better.
# copy the next line
C:\Program Files\R\R-3.0.3
clipb - file(clipboard)
winpath - readLines(clipb)
close(clipb)
And, just to avoid
On Tue, Apr 8, 2014 at 4:30 PM, Frede Aakmann Tøgersen fr...@vestas.comwrote:
I'm a bit surprised about the \\ on a linux OS. I'm also surprised that in
a file manager on Windows you can paste e.g. C:/users/frtog/Desktop and it
can find its way to the folder. Weird.
Well, the clipboard
Don suggested something like this:
h=c(1,2,3,4,5,6,7,8,9)
v=c(9,8,7,6,5,4,3,2,1)
plot(h,v,xaxt='n')
xat=pretty(h)
axis(1,at=xat,labels=1/xat)
But it puts the tick marks at the data-x-locations.
If the tick locations are not automatic or
automatically separate from the data locations, then
I want
Thank you Barry, this explains some of the things going on on the different
platforms. One of my colleague told me some time ago that in C#/.NET they have
this raw string functionality as you call it. However there they use @ and
not r. That could be a nice thing to have in R.
Yours sincerely
THANK you for the help!!
One more question. Being I need to compare 4 different wells, I like to
have them all at the same scale which I can do with the ylim=c(min,max).
But so the low concentrations don't get washed out, I like to plot the y
axis in log format. ie 0.001, 0.010, 0.100.
Many thanks to you all; specially to Frede.
which(3ddata$variablename=x,arr.ind=TRUE) answers my question
perfectly.
Cheers!
Bukana
On Tue, Apr 8, 2014 at 11:33 AM, Frede Aakmann Tøgersen
fr...@vestas.com wrote:
Hi
I know there is a arr.index (or something like that, I'm not near my R
Dear R community,
I'm working on a meta-analysis of prevalence data. The aim is to get
estimates of prevalence at the country level. The main issue is that the
disease is highly correlated with age, and the sample ages of included
studies are highly heterogeneous. Only median age is available for
Hi,
Try:
#Tmin,Tmax,Tmean,Precip
#Tmean -999.9 in all files
#working directory is sample
#created folder final
list.files()
#[1] coordinates.csv final Precip Tmax
#[5] Tmin
Coord - read.csv(list.files(pattern=.csv),header=TRUE,stringsAsFactors=FALSE)
lfile -
I'm trying to conduct a single level logistic analysis (as a beginning step
for a more advanced Multi-level analysis). However, when I try to run it, I
get following error:
Warning messages:
1: In model.response(mf, numeric) :
using type = numeric with a factor response will be ignored
2: In
On Apr 8, 2014, at 7:20 AM, lghansse lise.hanss...@ugent.be wrote:
I'm trying to conduct a single level logistic analysis (as a beginning step
for a more advanced Multi-level analysis). However, when I try to run it, I
get following error:
Warning messages:
1: In model.response(mf,
Is there a package that contains moses extreme reaction test?
Thank's
__
R-help@r-project.org mailing list
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,
On Apr 8, 2014, at 12:37 PM, José Trujillo Carmona truji...@unex.es wrote:
Is there a package that contains moses extreme reaction test?
Thank's
A search using rseek.org indicates that the DescTools package on CRAN contains
a function called
MosesTest() that appears to implement it.
On Apr 8, 2014, at 10:37 AM, José Trujillo Carmona wrote:
Is there a package that contains moses extreme reaction test?
Learn to search.
install.packages(sos)
library(sos)
findFn(moses extreme)
found 5 matches; retrieving 1 page
Downloaded 3 links in 1 packages
--
David Winsemius
What is wrong with
winpath - readLines(clipboard )
?
If you want to show that as a literal in your code, then don't bother assigning
it to a variable, but let it echo to output and copy THAT and put it in your
source code.
There is also file.choose()...
Dear R Helpers,
My regex skills are beginner to intermediate and banging around the web
has not resulted in a solution to the problem below so I hope that one of
you who has mad skills can help me out.
I want to extract the stock ticker--AMT-- out of the string
American Tower Corporation
Dear community,
I have been using ggplot2 for visualisation and I am really impressed by this.
I do however have a problem that returns when plotting various types of
spatial datasets as raster images. This is probably due to me not fully
understanding the package.
When I am plotting images
The following gets the last parenthesized sequence of non-parentheses
sub(.*(\\([^()]+\\))([^()]*)$, \\1,
c(Aetna(AET),
American Tower Corp(REIT)(ATC),
No Parens,
Qwerty Corp (ASD)(ZXC)(123) extra stuff))
[1] (AET) (ATC) No Parens
Very useful.
Very Thanks.
El 08/04/14 19:43, David Winsemius escribió:
On Apr 8, 2014, at 10:37 AM, José Trujillo Carmona wrote:
Is there a package that contains moses extreme reaction test?
Learn to search.
install.packages(sos)
library(sos)
findFn(moses extreme)
found 5 matches;
What's the problem with this:?
package ‘DscTools’ is not available (for R version 3.1.0 beta)
El 08/04/14 19:42, Marc Schwartz escribió:
On Apr 8, 2014, at 12:37 PM, José Trujillo Carmona truji...@unex.es wrote:
Is there a package that contains moses extreme reaction test?
Thank's
A
Hello!
If I have the following:
x - as.yearqtr(2000 + seq(0,7)/4)
x
[1] 2000 Q1 2000 Q2 ...
which is as it should be.
Then if I set up time as
time - xts(1:8,x)
time
2000 Q1 1
2000 Q2 2
2000 Q3 3
.
.
Also fine
Now suppose I want to have an annual xts object. How do I go about setting
Typo: DescTools ?
On 2014-04-08, at 3:13 PM, José Trujillo wrote:
What's the problem with this:?
package ‘DscTools’ is not available (for R version 3.1.0 beta)
El 08/04/14 19:42, Marc Schwartz escribió:
On Apr 8, 2014, at 12:37 PM, José Trujillo Carmona truji...@unex.es wrote:
Is
Hi again,
I am looking some way to download this data:
http://www.cmegroup.com/trading/interest-rates/stir/eurodollar_quotes_openOutcry.html
So far I have tried following code:
library(XML)
data - xmlParse(
http://www.cmegroup.com/trading/interest-rates/stir/eurodollar_quotes_openOutcry.html
)
This is something peculiar about the environment on one particular linux
box, because it doesn't happen on other computers. Whenever I invoke
browser() inside a function, it automatically enters debugging mode,
with line-by-line execution of code:
dum - function() { browser(); x -
Hello,
Try the following.
library(XML)
URL -
http://www.cmegroup.com/trading/interest-rates/stir/eurodollar_quotes_openOutcry.html;
dat - readHTMLTable(readLines(URL), which=1, header=TRUE, na.strings = -)
str(dat)
dat[4:10] - lapply(dat[4:10], function(x) as.numeric(as.character(x)))
On 08/04/2014 3:34 PM, Paul Murtaugh wrote:
This is something peculiar about the environment on one particular linux
box, because it doesn't happen on other computers. Whenever I invoke
browser() inside a function, it automatically enters debugging mode,
with line-by-line execution of code:
On Apr 8, 2014, at 15:15, Erin Hodgess erinm.hodg...@gmail.com wrote:
Hello!
If I have the following:
x - as.yearqtr(2000 + seq(0,7)/4)
x
[1] 2000 Q1 2000 Q2 ...
which is as it should be.
Then if I set up time as
time - xts(1:8,x)
time
2000 Q1 1
2000 Q2 2
2000 Q3 3
.
.
At first pass it would seem that 'integer' would make a perfectly fine year
class. But for some reason it's disallowed:
xts(rnorm(8), 2000L:2007)
Error in xts(rnorm(8), 2000L:2007) :
order.by requires an appropriate time-based object
Which is a bit unexpected, since xts descends from zoo and
Just for the fun of it, I searched for R package moses extreme
reaction test on google. The 8th hit was the package DescTools, but
that included the 3 earlier hits and responses from r-help.
So I guess the point is that Learn to Search may even be a bit over
the top -- is there anyone on the
You could try:
# Use ?regexec and ?regmatches to return a list of grouped matches.
# Use \\( and \\) to match literal parentheses.
# Use ... to match three characters.
# Use $ to match at end of string.
s1 - American Tower Corporation (REIT)Â (AMT)
s2 - Aetna Inc. (AET)
getSym - function(s)
On Apr 8, 2014, at 17:32, John Laing john.la...@gmail.com wrote:
That doesn't feel very eXtensible to me.
xts is quite obviously past tense. ;-)
The list of allowable index classes is found in is.timeBased IIRC and the
exclusion of integers is because there's no obvious way to have them
On 04/09/2014 02:06 AM, Hurr wrote:
Don suggested something like this:
h=c(1,2,3,4,5,6,7,8,9)
v=c(9,8,7,6,5,4,3,2,1)
plot(h,v,xaxt='n')
xat=pretty(h)
axis(1,at=xat,labels=1/xat)
But it puts the tick marks at the data-x-locations.
If the tick locations are not automatic or
automatically separate
I also have this problem, did you find a solution?
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
It appears to be a difference between versions 2.* and 3.* in the way
that a newline ('enter') is handled at the browser prompt. Formerly, it
would continue execution of the function; now it kicks you into
debugging mode. To get the old behavior, you need to enter 'c' at the
browser prompt.
On Apr 8, 2014, at 2:41 PM, Bert Gunter wrote:
Just for the fun of it, I searched for R package moses extreme
reaction test on google. The 8th hit was the package DescTools, but
that included the 3 earlier hits and responses from r-help.
So I guess the point is that Learn to Search may
On 08/04/2014, 6:05 PM, Paul Murtaugh wrote:
It appears to be a difference between versions 2.* and 3.* in the way
that a newline ('enter') is handled at the browser prompt. Formerly, it
would continue execution of the function; now it kicks you into
debugging mode. To get the old behavior, you
Hi, Bill:
Thanks for the reply. Unfortunately, I don't see how that solves
the example I gave of extracting plot(x=0, y=1) from tstFn -
function()plot(0, 1).
As I noted, body(tstFn) returns plot(0, 1) as an language
object of class call. My challenge is to convert that into
On 4/8/2014 3:56 PM, David Winsemius wrote:
On Apr 8, 2014, at 2:41 PM, Bert Gunter wrote:
Just for the fun of it, I searched for R package moses extreme
reaction test on google. The 8th hit was the package DescTools, but
that included the 3 earlier hits and responses from r-help.
So I guess
You might find it helpful to read
http://adv-r.had.co.nz/Expressions.html, and look at pryr::
standardise_call().
Hadley
On Tue, Apr 8, 2014 at 6:52 PM, Spencer Graves
spencer.gra...@structuremonitoring.com wrote:
Hi, Bill:
Thanks for the reply. Unfortunately, I don't see how that
I don't see how that solves
the example I gave of extracting plot(x=0, y=1) from tstFn -
function()plot(0, 1).
Try
match.call(definition=plot, call=body(tstFn))
plot(x = 0, y = 1)
plot() is not a great example, since some of its methods do not have an
argument called 'y' (e.g.,
This still puts tick marks at data points:
h=c(1,2,3,4,5,6,7,8,9)
v=c(9,8,7,6,5,4,3,2,1)
plot(h,v,xaxt='n')
x-c(1.6,2.6,6.6,9.6,12.9)
axis_labels-1/pretty(x)
axis(1,at=pretty(x),labels=axis_labels)
How do I get the axis to approx 13 ?
--
View this message in context:
Hi,
You may try:
library(qdap)
str1 - c(American Tower Corporation (REIT) (AMT), Aetna Inc. (AET))
unlist(lapply(bracketXtract(str1,round),tail,1),use.names=F)
#[1] AMT AET
A.K.
On Tuesday, April 8, 2014 7:48 PM, Sparks, John James jspa...@uic.edu wrote:
Dear R Helpers,
My regex skills are
See ? plot.default. Add the log = y to your call. Remember to set ylim to
positive values since log only takes positive values, e.g. ylim = c(1e-6, 0.1).
Yours sincerely / Med venlig hilsen
Frede Aakmann Tøgersen
Specialist, M.Sc., Ph.D.
Plant Performance Modeling
Technology Service
57 matches
Mail list logo