Yes, I am.
Thank you,
Kurinji
On Mar 22, 2012, at 10:27 PM, R. Michael Weylandt
michael.weyla...@gmail.com wrote:
Use 64bit R?
Michael
On Thu, Mar 22, 2012 at 5:22 PM, Kurinji Pandiyan
kurinji.pandi...@gmail.com wrote:
Hello,
I have a 32 GB RAM Mac Pro with a 2*2.4 GHz quad core
Here it is:
R version 2.14.2 (2012-02-29)
Platform: i386-apple-darwin9.8.0/i386 (32-bit)
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1]
How do you run a regression in R?
By invoking appropriate function for regression.
??reggression
Regards
Petr
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
Dear Sir/Madam,
I'm getting a problem with a R-code which converts a data frame to a matrix.
It first generate a (m^(n-m) * m) matrix A and then regenerate another
matrix B having less dimension than A which satisfy some condition. Now I
wish to assign each row of B to a vector as individual.
On Fri, Mar 23, 2012 at 12:35:57AM +0100, Gildas Mazo wrote:
Dear R users,
Let f be a function over d variables x1,..,xd. I want to compute the
k^th-order derivative with respect to x1,..,xk (k=d). I have a by hand
solution (see below) using an iterating code using D. However, I expect d
More information (reproducible code) is needed to address your specific
situation, but in general, you change the value of a variable in R and take
care of the formatting in LaTeX.
You may want to look at the Hmisc package's Latex() function. I have not tried
it, xtable serves me well, but
On Thu, Mar 22, 2012 at 04:17:20PM -0700, casperyc wrote:
Hi all,
myint=function(mu,sigma){
integrate(function(x) dnorm(x,mu,sigma)/(1+exp(-x)),-Inf,Inf)$value
}
mymu=seq(-3,3,length(1000))
mysigma=seq(0,1,length(500))[-1]
k=1
v=c()
for (j in 1:length(mymu)) {
for (i in
Hi
I'm running QDA on some data and calculating the discriminant function.
qda.res - qda(type ~ npreg + glu + bp + skin + bmi + ped + age)
ind_yes - c(1:N)[type == Yes]
ind_no - c(1:N)[type == No]
cov_yes - cov(table[ind_yes, 1:7] )
cov_no - cov(table[ind_no, 1:7] )
covar-list(cov_no,
i have one for loop,in which i am dealing with time series arima function,
while iterating at some stage there is a error, like
Error in arima(x, c(p, 0, q)) : non-stationary AR part from CSS
i want to know at which step this error occurred print that iterating
number
e.g.
x-c(1:10)
for (i in
?try
Sent from my iPad
On Mar 23, 2012, at 3:32, sagarnikam123 sagarnikam...@gmail.com wrote:
i have one for loop,in which i am dealing with time series arima function,
while iterating at some stage there is a error, like
Error in arima(x, c(p, 0, q)) : non-stationary AR part from CSS
On Thu, Mar 22, 2012 at 11:42:53AM -0700, aly wrote:
Hi,
I want to randomly pick 2 fish born the same day but I need those
individuals to be from different families. My table includes 1787 fish
distributed in 948 families. An example of a subset of fish born in one
specific day would look
I would like to eliminate the outer box around a lattice wireframe graph, but
the usual recommended solution, which is to assign a color of 'transparent' to
the axis.line parameter,
eliminates ticks if the 'arrows=F' command is used, as shown in the following
example:
test =
In addition, if you need to dig down why the error occurs:
?traceback
?recover
HTH Claudia
Am 23.03.2012 10:29, schrieb Jim Holtman:
?try
Sent from my iPad
On Mar 23, 2012, at 3:32, sagarnikam123 sagarnikam...@gmail.com wrote:
i have one for loop,in which i am dealing with time
Good morning,
Good morning,
I'm trying to read the file into an array, with the following code.
A- as.matrix(read.csv(~/Desktop/Results/Cfile.csv, header = FALSE,
sep=,))
The content of the file
,1,2,3,4
1, 484,43,67,54
2,54,35,67,34
3,69,76,78,55
4,67,86,44,34
What I needed is that
On Fri, Mar 23, 2012 at 10:56:11AM +0100, Petr Savicky wrote:
On Thu, Mar 22, 2012 at 11:42:53AM -0700, aly wrote:
[...]
I want to randomly select two rows but they have to be from different fam.
The fist part (random selection), I got it by doing:
ran - sample(nrow (fish), size=2); ran
cloudRmpi is means for doing parallel processing in R, using MPI on a
cloud-based network. It currently supports the use of Amazon's EC2
cloud computer service. cloudRmpi provides a mechanism to launch and
manage a cloud-based network and to access an R session on the network's
master MPI
first problem: the blank space in first position in the first line. Try
removing it, so that the file looks like this:
1,2,3,4
1,484,43,67,54
2,54,35,67,34
3,69,76,78,55
4,67,86,44,34
Second: your colnames and rownames are numeric; R recognizes it but puts an
X (but it recognizes the rownames
Dear all,
I want to have a box plot for 7 datasets I have. The different here is that
each of these 7 data sets has two status . The on and off.
So I give a small example below with 2 data sets only
List of 2
$ :List of 2
..$ : num [1:3502, 1] 0 0 0 0 0 0 0 0 0 0 ... # On Status
..$ : num
Hi all,
I have a specific question about comparing phylogenies.
Is there any function available to calculate quartets distance between a
pair of trees? My apologies if it exists and I overlooked it.
cheers
__
R-help@r-project.org mailing list
Hi
See in text.
Dear Sir/Madam,
I'm getting a problem with a R-code which converts a data frame to a
matrix.
It first generate a (m^(n-m) * m) matrix A and then regenerate another
matrix B having less dimension than A which satisfy some condition. Now
I
wish to assign each row of B
On Mar 23, 2012, at 2:53 AM, ritwi...@isical.ac.in wrote:
Dear Sir/Madam,
I'm getting a problem with a R-code which converts a data frame to a
matrix.
It first generate a (m^(n-m) * m) matrix A and then regenerate another
matrix B having less dimension than A which satisfy some condition.
Take a look at
example(boxplot)
and
example(bxp)
I think the last one for boxplot (with the guinea pig teeth!) will
work for you and I believe you can manipulate the linetype the same
way they do color there. Though looking at your data, it seems
problematic that your values are so
Hi Michael,
Added a little more to my code (see below). It now automatically sets the name
of the file. It also does a better job of spacing the text for pattern and
patient x line at the top of the graph.
I really like the way this looks now. I just need to figure out how to loop
through the
I just tried it on R. 2.14.1 and R 2.15.0 RC (r58802) and both worked
with XML 3.9-4 on both 32 and 64-bit R on my Mac OS X 10.6.8 with the
same locale setting so I can only guess it's one of three things:
i) The website is generating different content for you than for Milan
and me [wild guess]
Inline.
On Fri, Mar 23, 2012 at 9:40 AM, Paul Miller pjmiller...@yahoo.com wrote:
Hi Michael,
Added a little more to my code (see below). It now automatically sets the
name of the file. It also does a better job of spacing the text for pattern
and patient x line at the top of the graph.
Hi
Added a little more to my code (see below). It now automatically sets
the
name of the file. It also does a better job of spacing the text for
pattern and patient x line at the top of the graph.
I really like the way this looks now. I just need to figure out how to
loop through the
Dear Alex,
Have a look at the ggplot2 package
n - 3502
junk - list(list(matrix(rnorm(n), ncol = 1), matrix(rnorm(n, sd = 2), ncol =
1)), list(matrix(rnorm(n, mean = 1), ncol = 1), matrix(rnorm(n, mean = 1, sd =
2), ncol = 1)), list(matrix(rnorm(n, mean = 1), ncol = 1), matrix(rnorm(n, mean
=
Hi Michael and Petr,
You both seem to have hit on the idea of splitting the TestData in order to do
by group processing. Trouble is that ggplot2 doesn't seem to like lists very
much.
When I run the code:
TempData - split(TestData, TestData$key_line)
TempData
for(temp in TempData){
Dear Petr Savicky,
this helped indeed. Thank you very much.
Gildas
- Mail original -
De: Petr Savicky savi...@cs.cas.cz
À: r-help@r-project.org
Envoyé: Vendredi 23 Mars 2012 09:39:37
Objet: Re: [R] Computing High Order Derivatives (Numerically)
On Fri, Mar 23, 2012 at 12:35:57AM
You didn't do what I said.
Once you make the list of data.frame()s TempData, each single
element is a data.frame and that is what you need to pass to ggplot --
in the loop construct I set up, the individual data frame is called
temp so you need to have ggplot(temp).
As I said before,
## Do
Hi
Hi Michael and Petr,
You both seem to have hit on the idea of splitting the TestData in order
to do by group processing. Trouble is that ggplot2 doesn't seem to like
lists very much.
When I run the code:
TempData - split(TestData, TestData$key_line)
TempData
for(temp in
Hello,
Is there an R function that given a linear regression solution for a data set
will answer in the most efficient way whether a new data point shifts the
solution or not? or whether the new solution would differ by less than some
error.
I need this in the context of an iterative method
See 'box.3d' in trellis.par.get() :
wireframe(z ~ x*y, data = test,
scales=list(arrows=F),
par.settings = list(box.3d = list(col=NA)))
Note you can have some finer control:
wireframe(z ~ x*y, data = test,
scales=list(arrows=F),
par.settings = list(box.3d = list(col=c(1,2,NA,NA,3,NA,4,5,6)))
Thank you for your comments Michael, but :
i) The website is generating different content for you than for Milan
and me [wild guess]
It'd be highly surprising. If this is the case, I don't know what I
can do to fix it.
ii) Something in the OS 10.5 - 10.6 difference [process of
No idea at this point; perhaps get in touch with the maintainer (email
given by maintainer(XML)) and see if he has any insights.
Sorry I can't get this one for you: without being able to reproduce it
(the odd error message with the euro sign) myself, I'm pretty stumped.
If you do get to a
2012/3/23
Back again today at trying to learn R.
These are the results of a run I made.
I understand very little of this.
sapply() helps me get the array returned from a method.
Strings and doubles returned from a method don't seem to need sapply().
I want to learn how to fetch the constant
Hi,
It seems that you have an unbalanced anova case which can be
complicated in interpretation. This question has been addressed in the
list you can search of previous mails. Basically, for unbalanced data
(or unorthorgonal), estimates of SS of a factor depends on other
factors. Type I SS (which
Dear all,
I have a bivariate dataset from a preliminary study. I want to do two things:
(1) estimate the probability density of this bivariate distribution using some
nonparametric method (kernel, spline etc); (2) sample a big dataset from this
bivariate distribution for a simulation study.
Is
R can do all of that and more.
But you'll need to put some work in reading about how to use R, about
the statistical methods involved, and about how to use them to best
effect. You might want, for instance, generalized additive models. Or
not. If your question isn't more fully-formed than this,
On Mar 22, 2012, at 5:06 PM, Stuart Luppescu wrote:
Hello, This one is very perplexing. I have teacher observation data,
with factors teacher ID, observer ID, component, grade and subject.
When
I do this,
aov(data=ratings.prin.22, rating ~ obsid.f + tid.f + subject.f +
grade.f + comp.f)
Dear useRs,
it may be of interest to some of you that Computational Statistics Data
Analysis (CSDA) is having a special issue on statistical algorithms that
are accompanied by corresponding R packages. For details see the call
below.
Best regards,
Z
Sarah,
Thanks for the response. I actually have several years of working experience
with R and statistics, although may not be as good as you. that’s why I am here
;) I dug deeper into R documentations and previous R-help posts, and couldn’t
found anything particular help. Again, I want to do
Hi Michael and Petr,
Apologize for my failure to grasp what you were saying. My code is up and
running now.
Noticed what might be a shortcoming of my ggplot code. I have some instances
where a drug starts and stops and then starts and stops again. It looks like my
graphs show just a single
On Mar 23, 2012, at 1:53 PM, heyi xiao wrote:
Sarah,
Thanks for the response. I actually have several years of working
experience with R and statistics, although may not be as good as
you. that’s why I am here ;) I dug deeper into R documentations and
previous R-help posts, and couldn’t
The ggplot book is quite good, but be forewarned, there have been some
structural changes of late and some of the book code won't work quite
as is anymore: this document describes them (the changes, not the old
code) in some detail if you start hitting those sorts of things:
On Mar 23, 2012, at 2:15 PM, Paul Miller wrote:
Hi Michael and Petr,
Apologize for my failure to grasp what you were saying. My code is
up and running now.
Noticed what might be a shortcoming of my ggplot code. I have some
instances where a drug starts and stops and then starts and
Hello List!
I stumbled across an efficiency problem - calculation that would be
probably done very fast as a matrix operation I must perform as a
for-loop.
My intention was to do a conditional operation in matrix depending on
the information in first column (summing as many data points from
Hello,
I am beginner user of R. I am trying to use GeneNet package. I started by the
example on this link:
http://strimmerlab.org/software/genenet/download/arabidopsis-net.R
However I am getting an error at this line:system(fdp -T svg -o arthdyn.svg
arthdyn.dot) # SVG format
sh: fdp: command
x
[1] 7 8 9 10 11 12
convert such that
7.
8.
9.
10.000
11.000
12.000
total size of 5 digits for each value
--
View this message in context:
http://r.789695.n4.nabble.com/how-to-convert-digits-to-specified-decimal-vectors-tp4498588p4498588.html
Sent from the R help mailing list
Hello,
I am beginner user of R. I am trying to use GeneNet package. I started by the
example on this link:
http://strimmerlab.org/software/genenet/download/arabidopsis-net.R
However I am getting an error at this line:system(fdp -T svg -o arthdyn.svg
arthdyn.dot) # SVG format
sh: fdp:
Hi,
does anybody know if the following behavior of julian() is intentional?
julian(2, 1, 2012) - julian(2 - 1e-15, 1, 2012)
[1] 1
julian(2, 1, 2012) - julian(2, 1 - 1e-15, 2012)
[1] 0
julian(2, 1, 2012) - julian(2, 1, 2012 - 1e-15)
[1] 0
In other words, julian() is subject to
When I type library() to see what is installed the following list in RED
comes up.
Packages in library '/home/jason/R/i686-pc-linux-gnu-library/2.13':
abind Combine multi-dimensional arrays
aplpack Another Plot PACKage: stem.leaf, bagplot,
Dear all,
I am trying to use ssanova of the gss package but met some error that I
cannot figure out the answer for.
Here is the code I am using to explain the problem.
library(gss)
set.seed(5732)
x=(1:100)/100
y=1+3*sin(2*pi*x)+2*(x0.7)+rnorm(x)
x1=rnorm(100)
x2=rnorm(100)
part.fit=ssanova(y~x,
Hello, I am relatively new to using R.
The text file contains the date and price . I want to read and manipulate
the data in R. However, when I use read.table, it treats all of the data as
factors and I do not know how to treat the data as numbers:
Using your posed data, the variable price was numeric:
data.precios -
read.table(http://r.789695.n4.nabble.com/file/n4498828/p_diarios.txt;,
header=T)
str(data.precios)
'data.frame': 1996 obs. of 2 variables:
$ time : int 37988 37991 37993 37994 37995 37998 37999 38000 38001 38002
...
$
Nope. I tried -- too. I tried many other variations too. Any suggestions?
RRcmd build --binary thinc
Rcmd build --binary thinc
Warning: unknown option '--binary'
* checking for file 'thinc/DESCRIPTION' ... OK
* preparing 'thinc':
* checking DESCRIPTION meta-information ... OK
* cleaning src
*
Dear All,
Let's suppose there's a case when you want to make a prediction using range of
variables. Some variables are represented as set of words (tokens). For example
there is a training set:
x1,x2,..,x7, y
where y - to be predicted (despite of the model to be used for prediction), and
let's
Hi:
I am trying to cluster the rows of a text file with kmeans:
I load the data as follows
file1 - read.csv(somefile.csv)
and the file can be viewed having the following line of words
file1
1 word1 word3 word4 word1
2 word1 word4 word3 word1
3 word4 word2 word4 word3
4 word4 word2
Michael...
It WORKS!!!
Finally, the most elegant way was yours:
/aux.table - sapply(.)
write.table(aux.table, file=hexbin.table.ascii, sep=\t)/
Thanks!
hope be useful to R-users!
--
View this message in context:
1. Not reproducible for me (gives an ERROR).
2. Please try to make examples minimal, as the psoting guide suggests.
3. Please follow my advice and provide A correct formula describing the
model with separate variables with the data.frame passed to the data
argument of the lda() function.
That
Hello,
I have been using the function 'svycoxph' in the Dr. Lumley's survey package
(version 3.26) to compute coefficient estimates for Cox regression.
I have noticed the p-values output are based on normal distribution (like in
coxph); however in svyglm (and in other software, such as Stata or
1. Why do you ask here rather than the author of thr webpage?
2. Reading the comments suggests you are lacking a graphviz installation
that includes the fdp command.
Uwe Ligges
On 23.03.2012 13:09, Heba S wrote:
Hello,
I am beginner user of R. I am trying to use GeneNet
Hi ReXperts,
I have a file 'XFile' that I wish to append to the end of file1, file2,
file3, file4, and file 5. Can't figure out how to set up the loop. Please
help.
Thank you,
--
Luisin Galindo, PhD
Director, Departamento de Medicina Matematica
Centro de Estudios Avansados en
Simulacion,
On 23.03.2012 13:47, jason wrote:
When I type library() to see what is installed the following list in RED
comes up.
Packages in library '/home/jason/R/i686-pc-linux-gnu-library/2.13':
abind Combine multi-dimensional arrays
aplpack Another Plot PACKage:
On 23.03.2012 15:45, Andreas Eckner wrote:
Hi,
does anybody know if the following behavior of julian() is intentional?
julian(2, 1, 2012) - julian(2 - 1e-15, 1, 2012)
[1] 1
julian(2, 1, 2012) - julian(2, 1 - 1e-15, 2012)
[1] 0
julian(2, 1, 2012) - julian(2, 1, 2012 - 1e-15)
[1] 0
In
On 23-03-2012, at 17:29, Lukasz Kielpinski wrote:
Hello List!
I stumbled across an efficiency problem - calculation that would be
probably done very fast as a matrix operation I must perform as a
for-loop.
My intention was to do a conditional operation in matrix depending on
the
On 23.03.2012 18:43, Stephen Eick wrote:
Nope. I tried -- too. I tried many other variations too. Any suggestions?
RRcmd build --binary thinc
Rcmd build --binary thinc
Warning: unknown option '--binary'
* checking for file 'thinc/DESCRIPTION' ... OK
* preparing 'thinc':
* checking
On 23.03.2012 15:31, chuck.01 wrote:
Using your posed data, the variable price was numeric:
data.precios-
read.table(http://r.789695.n4.nabble.com/file/n4498828/p_diarios.txt;,
header=T)
str(data.precios)
'data.frame': 1996 obs. of 2 variables:
$ time : int 37988 37991 37993 37994
On Mar 23, 2012, at 1:43 PM, Stephen Eick wrote:
Nope. I tried -- too. I tried many other variations too. Any
suggestions?
RRcmd build --binary thinc
Rcmd build --binary thinc
Warning: unknown option '--binary'
* checking for file 'thinc/DESCRIPTION' ... OK
* preparing 'thinc':
*
format
sprintf
Michael
On Fri, Mar 23, 2012 at 8:16 AM, sagarnikam123 sagarnikam...@gmail.com wrote:
x
[1] 7 8 9 10 11 12
convert such that
7.
8.
9.
10.000
11.000
12.000
total size of 5 digits for each value
--
View this message in context:
On Mar 23, 2012, at 9:38 AM, sandro wrote:
Hello, I am relatively new to using R.
The text file contains the date and price . I want to read and
manipulate
the data in R. However, when I use read.table, it treats all of the
data as
factors and I do not know how to treat the data as
On 23-03-2012, at 18:43, Stephen Eick wrote:
.
I don't understand your comment about you explicitly asked not to
send HTML, as you always were... Is this in regards to using gmail??
No.
It means please configure your mail client to send mail in plain text.
Please do not send in html
Le vendredi 23 mars 2012 à 08:10 +0100, Julien Velcin a écrit :
Here it is:
R version 2.14.2 (2012-02-29)
Platform: i386-apple-darwin9.8.0/i386 (32-bit)
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
I guess the OS uses a French locale? Maybe the discrepancy
On Mar 23, 2012, at 2:19 PM, Luisin Galindo, PhD wrote:
Hi ReXperts,
I have a file 'XFile'
In your R workspace or not? Will assume this is an R dataframe.
With the same number of columns as the files to be updated? Will
assume that the number of columns is the same and that you also want
On Mar 23, 2012, at 8:47 AM, jason wrote:
When I type library() to see what is installed the following list in
RED
comes up.
Packages in library '/home/jason/R/i686-pc-linux-gnu-library/2.13':
This suggests you are using an old copy of R. Many time the current
repository will only be
Hello,
I am struggling to produce an MDS plot using the randomForest package
with a moderately large data set. My data set has one categorical
response variables, 7 predictor variables and just under 19000
observations. That means my proximity matrix is approximately 133000
by 133000 which is
You could put this data into a 3 dimensional array and then use the
apply function to apply a function (such as mean) over which ever
variables you choose.
Or you could put the data into a data frame in long format where you
have your 3 variable indices in 3 columns, then the data in a 4th
David,
Thanks a lot for the specific suggestions. That’s very helpful. My question 1
is fully answered now. I guess I am not clear enough for my question 2. I would
like to generate a random sample using the estimated probability density (as a
result of my question 1) as the reference
I don't know xtable but you could try escaping the backslashes in your
strings.
cat(\\begin{table}[ht]) etc.
Regards!
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
ilai/keren:
Thanks for your response. It's not the 3d bounding box that I wish to
eliminate, but the box that surrounds the whole figure and is drawn
automatically (I call this the outer box, in contrast to the inner, 3d bounding
box). The ticks attached to the bounding box are connected, in
dear Researchers,
i am looking for a function to plot a barplot for each mean value and the
related standard deviation, and i can close my week. This is an example of
my data set.
really Thanks in advance for any help or suggestions
Gianni
My.mean -
Hello,
I think there's no function in R to print error bars.
I once found one in a blog which I'm using.
errorbar - function(x, y, upper, lower=upper, length=0.02, vert=TRUE, ...){
if(!doPlot) return()
if(length(x) != length(y) | length(y) !=length(lower) | length(lower)
!= length(upper))
Dear R experts---has someone written a wrapper for the source function
that opens a sink file in the same name as the .R file and closes it at the
end (including when there is an error that aborts)? the first part is
easy, but I am not sure how to not patch myself an empty sink() after any R
The discussion here is likely to be helpful:
https://stat.ethz.ch/pipermail/r-help/2011-February/269185.html
as is:
http://www.rseek.org/?cx=010923144343702598753%3Aboaz1reyxd4q=barplot+error+barssa=Search+functions%2C+lists%2C+and+morecof=FORID%3A11siteurl=www.rseek.org%2Fref=
Beyond that, it
Taking a look at your script: there are a some potential optimizations
you can do:
# Fine
poi - as.character(top.GSM396290) #5000 characters
x.data - h1[,c(1,7:9)] # 485577 obs of 4 variables
# Pre-allocate the space
x - vector(list, 485577) # x - list()
# Do the a stuff once outside the loop
You can use xtable() or latex() and then edit the columns names in the
generated .tex file. That is a much better plan than reinventing either of
those functions.
On Thu, Mar 22, 2012 at 3:46 AM, Manish Gupta mandecent.gu...@gmail.comwrote:
Hi,
I am working on table suing R and Latex. I am
On Mar 23, 2012, at 3:55 PM, heyi xiao wrote:
David,
Thanks a lot for the specific suggestions. That’s very helpful. My
question 1 is fully answered now. I guess I am not clear enough for
my question 2. I would like to generate a random sample using the
estimated probability density (as
On Mar 23, 2012, at 21:32 , Sarah Goslee wrote:
The discussion here is likely to be helpful:
https://stat.ethz.ch/pipermail/r-help/2011-February/269185.html
as is:
I just got around to taking a look at this, but below is a fix. It
seems like yahoo finance redesigned the page and rather than reparsing
all their HTML, I'll use Duncan TL's XML package to make life happier.
(I loathe HTML parsing)
This isn't thoroughly tested and it'll break if yahoo
Hi
I have not been following the thread and please excuse the length
and width of this - this is a large example of what you can do using
xtable and a data.frame
the data.frame is copied to xx in the chunck Table6H and reworked in
the table itself resulting in a good presentation in a
Sorry about that: two small mistakes and I imagine there are a few
more I've missed. This should actually work:
###
library(XML)
readYahooOptions - function(Symbols, Exp, ...){
parse.expiry - function(x) {
if(is.null(x))
return(NULL)
On Fri, Mar 23, 2012 at 2:07 PM, Bigelow, Seth W -FS sbige...@fs.fed.us wrote:
ilai/keren:
Thanks for your response. It's not the 3d bounding box that I wish to
eliminate, but the box that surrounds the whole figure and is drawn
automatically (I call this the outer box, in contrast to the
Wow, that worked liked a charm. I will include the entire working example of
how to remove the outer box without losing the ticks:
test = data.frame(expand.grid(c(1:10), c(1:10)))
z = test[,1] + test[,2]
test = cbind(test, z)
names(test) = c(x, y, z)
require(lattice)
wireframe(z ~ x*y, data =
Hi all,
myint=function(mu,sigma){
integrate(function(x) dnorm(x,mu,sigma)/(1+exp(-x)),-Inf,Inf)$value
}
x=seq(0,50,length=3000)
x=x[-1]
plot(x,myint(4,x)) # not working yet
I think I have to 'Vectorize' it somehow?
What's a scalar function? and a primitive function?
Thanks.
casper
Hi,
I used
GDALinfo(MOD13Q1.A2001049.h13v11.005.2007002215512.250m_16_days_EVI.tif) and
got the results:
rows10
columns 11
bands 1
origin.x150701.4
origin.y7744897
res.x 250
res.y 250
ysign -1
oblique.x 0
oblique.y 0
driver GTiff
To whomever it may concern,
I'm a young Industrial Engineer working on Senior Design at Georgia Tech
and have found the StructTS method to be excellent for the training set for my
forecasting project. There's only one problem: I don't actually understand what
a Structural Time Series
Hi all,
I know how to use pdf() and dev.off() to produce and save a graph.
However, when I put them in a function say
myplot(x=1:20){
pdf(xplot.pdf)
plot(x)
dev.off()
}
the function work. But is there a way show the graph in R as well as saving
it to the workspace?
Thanks.
casper
Hello,
I hope that you can bare with me. I am new to models, but I think I have a
pretty godd understanding of how to run them now, including how to use AICc
and Anova. The issue is that I have many factors that I wish to compare so
doing each one at a time would take forever.
I came across the
As.numeric(as.character(factor.level.to.convert))
On Mar 23, 2012 11:40 AM, sandro sonav...@gmail.com wrote:
Hello, I am relatively new to using R.
The text file contains the date and price . I want to read and manipulate
the data in R. However, when I use read.table, it treats all of the
Hello
I'm raising money for Breast Cancer Care and I'd really appreciate your support.
It's easy to donate online with a credit or debit card - just go to my
JustGiving page:
http://www.justgiving.com/Veronica-John
JustGiving sends your donation straight to Breast Cancer Care and
1 - 100 of 111 matches
Mail list logo