Displaying 20 results from an estimated 10000 matches similar to: "How to keep a coefficient fixed when using rq {quantreg}?"
2011 Sep 27
1
Is there a "latex" summary function in the quantreg package for just 1 tau?
Hello dear R help members,
I wish to get a nice LaTeX table for a rq object.
Trying to use the functions I found so far wouldn't work. I can
start opening the functions up, but I am wondering if I had missed some
function which is the one I should be using.
Here is an example session for a bunch of possible errors:
(Thanks)
data(stackloss)
y <- stack.loss
x <- stack.x
rq_object
2010 Jan 25
2
Quantile loess smother?
Hello all,
I wish to fit a loess smother to a plot of Y`X, but in predicting the 95%
quantile.
Something that will be a combination of what rq (package quantreg} does,
with loess.
Is there a function/method for doing this?
Thanks,
Tal
----------------Contact
Details:-------------------------------------------------------
Contact me: Tal.Galili@gmail.com | 972-52-7275845
Read me:
2011 Oct 06
1
anova.rq {quantreg) - Why do different level of nesting changes the P values?!
Hello dear R help members.
I am trying to understand the anova.rq, and I am finding something which I
can not explain (is it a bug?!):
The example is for when we have 3 nested models. I run the anova once on
the two models, and again on the three models. I expect that the p.value
for the comparison of model 1 and model 2 would remain the same, whether or
not I add a third model to be compared
2010 Nov 09
3
Is there a way to have 'comment' keep a list?
Hello all,
I recently discovered the "comment" command.
I see it can only hold a vector of characters.
Is there a way (or an alternative), to make it possible to have it keep a
list?
(for example, to keep different pieces of information like date of creation,
information of each variable and so on)
The closest solution I can think of is using 'names' on the vector, like
this:
2009 Nov 18
2
Importing tRNA data into R ?
Hello dear R help group,
I would like to download the tRNA data on:
http://gtrnadb.ucsc.edu/download.html
And then import it into R.
Can anyone direct me as to how to do so?
Thanks,
Tal
----------------------------------------------
My contact information:
Tal Galili
E-mail: Tal.Galili@gmail.com
Phone number: 972-52-7275845
FaceBook: Tal Galili
My Blogs:
http://www.talgalili.com (Web and
2010 May 03
1
Comparing the correlations coefficient of two (very) dependent samples
Hello all,
I believe this can be done using bootstrap, but I am wondering if there is
some other way that might be used to tackle this.
#Let's say I have two pairs of samples:
set.seed(100)
s1 <- rnorm(100)
s2 <- s1 + rnorm(100)
x1 <- s1[1:99]
y1 <- s2[1:99]
x2 <- x1
y2 <- s2[2:100]
#And both yield the following two correlations:
cor(x1,y1) # 0.7568969 (cor1)
cor(x2,y2)
2010 Jan 07
1
Quantreg - 'could not find function"rq"'
Hi all,
I'm having some troubles with the Quantreg package. I am using R
version 2.10.0, and have downloaded the most recent version of Quantreg
(4.44) and SparseM (0.83 - required package). However, when I try to
run an analysis (e.g. fit1<-rq(y~x, tau=0.5)) I get an error message
saying that the function "rq" could not be found. I get the same
message when I try to search
2009 Nov 20
6
How to: highlight R syntax on webpages ?
My question if in the Subject, but if to extend: I am specifically curious
about WordPress blogs. But any solution will give me a lead.
Thanks,
Tal
----------------------------------------------
Contact me: Tal.Galili@gmail.com | 972-52-7275845
Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
www.r-statistics.com/ (English)
[[alternative HTML version deleted]]
2010 May 22
2
Capturing R console output into a file (sink+savehistory ??)
After reading more, I understand I didn't formulate my last question
correctly, so please allow me to rephrase:
What I am looking for is a way to save the R console session output.
That is, a command that would combine the results of using:
?sink # And
?savehistory
My motivation for this is that doing it will allow someone who is a blind
user of R to be able to easily export his results to
2010 Jan 01
4
How to use read.table with Hebrew column names ?
Hello dear R help group,
I am trying to read a .txt file, with Hebrew column names, while keeping the
column names looking well in R - but without success.
I uploaded an example file to:
http://www.talgalili.com/files/aa.txt
And am trying the command:
read.table("http://www.talgalili.com/files/aa.txt", header = T, sep = "\t")
This returns me with:
X.....ª X...ª......
2010 Dec 07
1
Encoding problem - I fails to read Hebrew text from online
Hello all,
# I am trying to read the text in this URL:
u <-
http://google.com/complete/search?output=toolbar&q=%d7%a9%d7%9c%d7%95%d7%9d
# By using this command:
readLines(u)
And no matter what variation I tried, I keep getting this output:
[1] "<?xml version=\"1.0\"?><toplevel><CompleteSuggestion><suggestion
2010 Nov 25
3
Is there an implementation for "URL Encoding" (/format) in R?
Hello all,
I would like some R function that can translate a string to a "URL encoding"
(see here: http://www.w3schools.com/tags/ref_urlencode.asp)
Is it implemented? (I wasn't able to find any reference to it)
Thanks,
Tal
----------------Contact
Details:-------------------------------------------------------
Contact me: Tal.Galili@gmail.com | 972-52-7275845
Read me:
2011 Apr 18
2
Windows 7, update.packages problem: "unable to move temporary installation"?
Hello all,
I am using R 2.13.0 with windows 7, after giving my user full privileges to
the R folder (as described
here<http://www.r-statistics.com/2011/04/how-to-upgrade-r-on-windows-7/>
).
This allows me to install new packages just fine.
However, when using update.packages(), to update existing packages, I keep
getting the following error (for example, when updating the MASS package):
2010 Jan 21
2
"stack imbalance in ..." when loading a workspace
Hi all,
I just failed in loading a saved wordspace (13MB of size), and received
these errors:
Warning: stack imbalance in 'missing', 52 then 51
Warning: stack imbalance in 'if', 50 then 53
Warning: stack imbalance in 'as.environment', 57 then 59
Warning: stack imbalance in 'ls', 54 then 53
Warning: stack imbalance in '.Internal', 54 then 53
Warning: stack
2011 Dec 29
3
Is it possible to "right align" text in R graphics?
Hello all,
The following line of code includes a right-to-left language text, yet the
R graphics engine displays it from left to right. One problem this causes
is when there are parenthesis in the test, here is a basic example?
plot(1:10, main = "שלום (טקסט)")
Is there a way to make sure the text is displayed from right to left?
Many thanks for any suggestions,
Tal
2009 Oct 14
2
Scatter plot using icons (from a gif) instaed of points - is it possible ?
Hello dear R-help group.
I wish to plot a scatter plot using icons (or images) instead of points.
Is it possible? and how so?
Thanks,
Tal
----------------------------------------------
My contact information:
Tal Galili
E-mail: Tal.Galili@gmail.com
Phone number: 972-52-7275845
FaceBook: Tal Galili
My Blogs:
http://www.talgalili.com (Web and general, Hebrew)
http://www.biostatistics.co.il
2012 Feb 03
2
Is the link to the R wiki down?
I am getting a 404 page for this:
http://wiki.r-project.org/
I was not sure who to write this to - so I am writing it here.
Best,
Tal
----------------Contact
Details:-------------------------------------------------------
Contact me: Tal.Galili@gmail.com | 972-52-7275845
Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
www.r-statistics.com (English)
2010 Apr 26
1
Why am I getting different results from cor VS ccf ?
Hi all,
I am getting different results from ccf and cor,
Here is a simple example:
set.seed(100)
N <- 100
x1 <- sample(N)
x2 <- x1 + rnorm(N,0,5)
ccf(x1,x2)$acf[ccf(x1,x2)$lag == -1]
cor(x1[-N], x2[-1])
Results:
> ccf(x1,x2)$acf[ccf(x1,x2)$lag == -1]
[1] -0.128027
> cor(x1[-N], x2[-1])
[1] -0.1301427
Thanks,
Tal
----------------Contact
2010 Nov 20
1
Where can I find a working libeay32.dll file for RCurl ?
Hi all,
I was trying to run the latest version of RCurl on windows 7 with R 2.12 and
got a "missing libeay32.dll" error.
I now downloaded such a file from here:
http://code.google.com/p/aion-inside/source/browse/trunk/out/libeay32.dll?spec=svn10&r=10
And placed it in the system32 folder.
Now I get the following error:
"The procedure entry point EVP_md2 could not be located in
2012 Jan 30
1
Getting htmlParse to work with Hebrew? (on windows)
Hello dear R-help mailing list.
I wish to be able to have htmlParse work well with Hebrew, but it keeps to
scramble the Hebrew text in pages I feed into it.
For example:
# why can't I parse the Hebrew correctly?
library(RCurl)
library(XML)
u = "http://humus101.com/?p=2737"
a = getURL(u)
a # Here - the hebrew is fine.
a2 <- htmlParse(a)
a2 # Here it is a mess...
None of