This should never have been on R-packages.
I (as moderator) apologize the glitch in moderation.
This is *not* CC'ed to that list, as it really really is only
for *announcements* of new or vastly changed packages available
from CRAN.
Apropos: Please, package authors, keep those low volume: A
good
On Tue, May 18, 2010 at 4:03 AM, Daisy Englert Duursma
daisy.duur...@gmail.com wrote:
Hello,
I am a bit over my head on this issue. My colleagues and I are running
R off of our server. We all have admin rights and prior to yesterday
we all had our own libraries. Our main system administrator
What I am trying to do is use GUI function, traitr, and to call for a pdb
file and save it and then display it. I want to call for it by taking it
from the user and then displaying it on the screen. I am having problems
with that. The line pdb - read.pdb(ProteinCode) where proteincode should
be
Hi, r-users
I happen to a problem in allocation of vector of size. When I run my R
script, an error appears:
Error: cannot allocate vector of size 450 Mb
Could anyone happen to the same problem? Thank you for your help.
Lee
[[alternative HTML version deleted]]
Thanks all of you.
-Message d'origine-
De : Arne Henningsen [mailto:arne.henning...@googlemail.com]
Envoyé : mardi 18 mai 2010 06:00
À : RATIARISON Eric
Cc : r-help@r-project.org; Ott-Siim Toomet; Achim Zeileis
Objet : Re: [R] Robust SE Heteroskedasticity-consistent estimation
On 17
David Winsemius dwinsem...@comcast.net
on Mon, 17 May 2010 17:44:00 -0400 writes:
On May 17, 2010, at 5:01 PM, Adam November wrote:
I believe I'm working with the newest version of R
(2.11.0) and I've tried a few of the most recent
versions... No luck yet.
Luck
Thanks for the help! :)
Regards,
Padma Tan
Genome Institute of Singapore
60 Biopolis Street, Genome
#02-01 Singapore 138672
DID : 6478 8671
Fax : 6478 9058
email: ta...@gis.a-star.edu.sg
Hi,
I'd like to select one row in a data frame per subset which is maximal for a
particular value. I'm pretty close to the solution in the sense that I can
easily select the maximal values per subset using aggregate, but I can't
really figure out how to select the rows in the original data frame
Hi,
Maybe it's just me but I don't understand what you're trying to do.
Isn't maxValues what you need?
Providing a reproducible example with your data (using the function
dput), the desired output, and the code you've tried would really help!
Ivan
Le 5/18/2010 10:58, Tim Van den Bulcke a
take a look at the by, ave, aggregate and apply functions, perhaps one suits
your needs
Bart
--
View this message in context:
http://r.789695.n4.nabble.com/Create-counter-variable-for-subsets-without-a-loop-tp2220663p2220925.html
Sent from the R help mailing list archive at Nabble.com.
On 05/17/2010 10:46 PM, someone wrote:
I'm an R noob and have a (maybe) stupid question...
I have a table where I have the weekdays and a number for each weekday of
entries:
Thats what the table looks like...
Now I want to have an pie3D plot of this, but obviously the order of the
weekdays are
Dear folks, I have created a plot on RGL device :
x = 1:6
y = seq(-12, 5, by=1)
z = matrix(0, length(y), length(x))
z[13,3] = 1; z[13,4] = 1.011765
surface3d(x, y, t(z), col=rainbow(1000))
grid3d(c(x-, y-, z))
Now I want to draw 2 lines along x=3 x=4, over the surface (with different
Megh Dal wrote:
Dear folks, I have created a plot on RGL device :
x = 1:6
y = seq(-12, 5, by=1)
z = matrix(0, length(y), length(x))
z[13,3] = 1; z[13,4] = 1.011765
surface3d(x, y, t(z), col=rainbow(1000))
grid3d(c(x-, y-, z))
Now I want to draw 2 lines along x=3 x=4, over the surface (with
On 05/18/2010 06:54 AM, Amitoj S. Chopra wrote:
I am working on a script with R to calculate pKa values. I want to be able
then to graph pKa values to Energy, basically two variables which will give
me titration curves. It is basically a graph with two variables and help
with just graphing it
Hi Amitoj,
Also look at the AquaEnv and titan packages.
Jim
__
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, minimal,
On 18/05/2010 6:46 AM, Megh Dal wrote:
Thanks Duncan for your reply. This could definitely be an answer of my query
however I wanted something else. What I want is to draw 2 lines over the
surface which pass through x=3,4
That's even more ambiguous than your original request, so I won't
On Wed, May 12, 2010 at 2:44 AM, PALMIER Patrick - CETE NP/INFRA/TRF
patrick.palm...@developpement-durable.gouv.fr wrote:
Hello,
I have a probem with dbWriteTable method of package RPostrgreSQL
The table is well added in the database but R doesn't succeed in
inserting rows
But If I send
Hi:
Here are a couple of ways using the doBy and plyr packages:
library(doBy)
library(plyr)
# doBy:
subsetBy(~ wool + tension, subset = breaks == max(breaks), data =
warpbreaks)
breaks wool tension
A|H 43A H
A|L 70A L
A|M 36A M
B|H 28B
Here are four solutions:
data - cbind(state.region,as.data.frame(state.x77))[,1:2]
# ave
data2 - data[order(data$state.region, -data$Population), ]
data2$rank - ave(data2$Population, data2$state.region, FUN = seq_len))
# by
f - function(x) cbind(x[order(-x$Population), ], rank = 1:nrow(x))
Hi R Forum
I am a newbie to R and I have been amazed by what
I can get my team to accomplish just by
implementing Scripting routines of R in all my
team's areas of interest..
Recently i have been trying to adopt R scripting
routine for some analysis with longitudanal data..
I am presenting my R
Oliver,
Apologies for the confusion, there was a server upgrade in the computer centre
here which gave us some grief. The list should be fine now.
Best regards
Antony
Antony Unwin
Professor of Computer-Oriented Statistics and Data Analysis,
Mathematics Institute,
University of Augsburg,
-- Forwarded message --
From: PALMIER Patrick - CETE NP/INFRA/TRF
patrick.palm...@developpement-durable.gouv.fr
Date: Tue, May 18, 2010 at 8:05 AM
Subject: Re: [R-sig-DB] Package RPostgreSQL : Problem with dbWriteTable
To: Davis, Sean (NIH/NCI) [E] sdav...@mail.nih.gov
Hello,
Amitoj S. Chopra amitojc at gmail.com writes:
What I am trying to do is use GUI function, traitr, and to call for a pdb
file and save it and then display it. I want to call for it by taking it
from the user and then displaying it on the screen. I am having problems
with that. The line pdb
Dear all,
I got a couple of warnings using panel.levelplot.raster,
In panel.levelplot.raster(..., interpolate = TRUE) :
'y' values are not equispaced; output will be wrong
although I was quite sure my data were equally spaced (indeed, I
created them with seq()). A closer look at the source
Hi Vijayan,
You are really asking for this list to serve as your statistical
consultant, which is not its purpose. If you have a specific problem
(and if you know how to ask for help -- see the posting guide) this
list is a tremendous resource. But it is not a replacement for a
statistician.
I guess you may be looking for the Remez algorithm. AFAIK there is no
implementation in one of the R packages. You can find FORTRAN code in the
Collected Algorithms of the ACM (no. 604) which probably could be called
from R.
There appears to exist a discrete, equi-distant(?) version as function
Thank you Alexander
2010/5/17 Alexander Shenkin ashen...@ufl.edu
You could also put the call to system.time inside the function itself:
f = function(x) {
system.time({
... #function's code
ret_val = ...
}); flush.console();
return ret_val;
}
i s'pose you'd miss
Thanks Duncan for your reply. This could definitely be an answer of my query
however I wanted something else. What I want is to draw 2 lines over the
surface which pass through x=3,4
Any better idea?
Thanks,
--- On Tue, 5/18/10, Duncan Murdoch murdoch.dun...@gmail.com wrote:
From: Duncan
On Tue, May 18, 2010 at 6:32 PM, baptiste auguie
baptiste.aug...@googlemail.com wrote:
Dear all,
I got a couple of warnings using panel.levelplot.raster,
In panel.levelplot.raster(..., interpolate = TRUE) :
'y' values are not equispaced; output will be wrong
although I was quite sure my
I'm trying to use the inflated binomial distribution of zeros (since 75% of
the values are zeros) in a randomized block experiment with four
quantitative treatments (0, 0.5, 1, 1.5), but I'm finding it difficult,
since the examples available in VGAM packages like for example, leave us
unsure of
hello,
i have a doubt with this function, i need get the returns values because i
have to save in a variables,something like this:
Invernadero-ts(x2)
test-auto.arima(x2)
x2.pred.ar31-predict(arima(x2,order=c(p,d,q)),n.ahead=10)$pred
can i get p,d and q from auto.arima?this is my question.
Hi to all,
I am just looking for more efficient ways ;-)
is there a better way instead a loop to decrease x if greater y
test - c(1,3,5,7,9)
decrease if greater 1 to
test2 - c(1,2,4,6,8)
Kind regards
Knut
__
R-help@r-project.org mailing list
On Tuesday 18 May 2010, Knut Krueger wrote:
Hi to all,
I am just looking for more efficient ways ;-)
is there a better way instead a loop to decrease x if greater y
test - c(1,3,5,7,9)
decrease if greater 1 to
test2 - c(1,2,4,6,8)
Does this help?
test - c(1, 3, 5, 7, 9)
test[test
On 18/05/2010 7:34 AM, Knut Krueger wrote:
Hi to all,
I am just looking for more efficient ways ;-)
is there a better way instead a loop to decrease x if greater y
test - c(1,3,5,7,9)
decrease if greater 1 to
test2 - c(1,2,4,6,8)
test2 - ifelse( test 1, test-1, test)
Duncan Murdoch
On Tue, May 18, 2010 at 4:52 AM, Vijayan Padmanabhan
v.padmanab...@itc.in wrote:
snip
This does not answer your statistical question, but I did include some
ideas to simplify your script.
##For ALL Product Comparison across All Time
Points.
options(contrasts=c('contr.treatment','contr.poly'))
Try this also:
pmax(test - 1, 1)
On Tue, May 18, 2010 at 8:34 AM, Knut Krueger r...@krueger-family.de wrote:
Hi to all,
I am just looking for more efficient ways ;-)
is there a better way instead a loop to decrease x if greater y
test - c(1,3,5,7,9)
decrease if greater 1 to
test2 -
On 18 May 2010 15:30, Deepayan Sarkar deepayan.sar...@r-project.org wrote:
Maybe a better test would be
isTRUE(all.equal(diff(range(diff(ux))), 0))
I'll try that out for the next release.
Sounds good (and works for me), thanks.
baptiste
__
On 05/17/2010 03:51 PM, Monte Shaffer wrote:
for(i in 1:L-1)
{
dataStr = gsub(' ','',paste(fData.,i));
dataVar = eval(dataStr);
## GOAL is to grab data frame 'fData.1' and do stuff with it, then in next
loop grab data frame 'fData.2' and do stuff with it
}
As Dan Davison said, the more
Dears,
a way to define x and y positions in plots in relative numbers (e.g in
fractions between 0 and 1 referring to relative positions inside the plot
region) would really help me. One example I would need this to would be to add
text via text() to a plot always at a defined spot, e.g the
Dears,
a way to define x and y positions in plots in relative numbers (e.g in
fractions between 0 and 1 referring to relative positions inside the plot
region) would really help me. One example I would need this to would be to add
text via text() to a plot always at a defined spot, e.g the
par(usr) #gives the extreme plotting coordinates
?par
HTH,
Josh
On Tue, May 18, 2010 at 7:32 AM, Jannis bt_jan...@yahoo.de wrote:
Dears,
a way to define x and y positions in plots in relative numbers (e.g in
fractions between 0 and 1 referring to relative positions inside the plot
Hi,
For 2., I don't know if it's possible to retrieve the axis limits, but
you can surely specify them in your call to plot (with arguments xlim
and ylim).
That's a cheap solution and others probably have better ones.
Ivan
Le 5/18/2010 16:23, Jannis a écrit :
Dears,
a way to define x and
Dears,
a way to define x and y positions in plots in relative numbers (e.g in
fractions between 0 and 1 referring to relative positions inside the plot
region) would really help me. One example I would need this to would be to add
text via text() to a plot always at a defined spot, e.g the
Thanks for the replies! If anybody encounters a similar problem, the function
that now does what I wanted is attached below.
Best
Jannis
trnsf.coords = function(array_x,array_y)
# This function transfers relative coordinates between 0 and 1 for two arrays
with x
# and y values into the
Thank you this was helpful
Chris Anderson
Data Analyst
Medical Affairs
wk: 925-677-4870
cell: 707-315-8486
Fax:925-677-4670
-Original Message-
From: foolish.andr...@gmail.com [mailto:foolish.andr...@gmail.com] On Behalf Of
Felix Andrews
Sent: Monday, May 17, 2010 5:55 PM
To: Anderson,
Sorry, I made two mistakes. The first was matching the female with the male.
The second was 2 variables should be selected randomly every time.
Followed is a revised copy:
## Import data.
moms - read.delim(females.txt, sep = , stringsAsFactors = FALSE, header
= TRUE)
dads -
Hi,
I am sure there is an easy way to do it, but I can't find it.
I have a data frame that has 15 columns and 7000 rows.
The only values inside the data.frame are aa, ab, bb as you can see an
example bellow.
1 2 3
1 aa ab ab
2 ab ab ab
3 aa aa aa
4 bb bb bb
What I would like to do, is to
Henrique Dallazuanna schrieb:
Try this also:
pmax(test - 1, 1)
O
test - c(1,3,5,7,9,11,12,13,14)
test
test - pmax(test - 1, 1)
test
This works for 1
what about if I would dec 11: to 14 to close the gap between 9 and 10 ?
I did not find the answer with the help file
Thank you Knut
dear all,
we am trying to improve the performance of my R code, with the implentation
of some function with custom C code.
we found difficult to import and export/import data structure such us
matrices or data.frame into the external C functions.
we already tried the solution from Writing R
Hi, all.
I have R installed in my computer. I guess I did something in my previous
session, and now every time I start R, I find the following message:
Fatal error: unable to restore saved data in .RData
I uninstalled R and installed it again and I'm still getting this message.
Can anyone
Hi,
On Tue, May 18, 2010 at 10:50 AM, John Lande john.land...@gmail.com wrote:
dear all,
we am trying to improve the performance of my R code, with the implentation
of some function with custom C code.
we found difficult to import and export/import data structure such us
matrices or
Hello,
I have a large data frame (47:2186), where i want to label every 12th row.
This command works,
Day -rep(97:278, each = 12)
However i need 97 to only labeled 11 rows and then from 98:278 can be
labeled every 12 times.
Thanks!
__
On 18/05/2010 10:51 AM, gbre...@ssc.wisc.edu wrote:
Hi, all.
I have R installed in my computer. I guess I did something in my previous
session, and now every time I start R, I find the following message:
Fatal error: unable to restore saved data in .RData
I uninstalled R and installed it
Hi,
On Tue, May 18, 2010 at 10:51 AM, gbre...@ssc.wisc.edu wrote:
Hi, all.
I have R installed in my computer. I guess I did something in my previous
session, and now every time I start R, I find the following message:
Fatal error: unable to restore saved data in .RData
I uninstalled R
Hi,
Others will have fancier solutions, but is the way I would do it:
dat - read.table(textConnection(1 2 3
1 aa ab ab
2 ab ab ab
3 aa aa aa
4 bb bb bb), header=TRUE)
closeAllConnections()
countAB - function(x) {
aa - length(which(x == aa))
ab - length(which(x == ab))
bb - length(which(x
Hello
I have a data array with soil variables (caperf), in which the variable clay
is factor (as I see entering str(caperf)) . I need to do a regression model, so
I need to have arcilla (=clay) as a numeric variable. For that I have entered
as.numeric(as.character(arcilla))
and even entering
Dear R-experts,
I am installing new libraries using
install.packages(ggplot2,dependencies=T).
But I perceive that many dependencies are already installed. As I am using
a low-band internet, how can avoid reinstall installed libraries?
cheers
milton
[[alternative HTML version deleted]]
-Original Message-
From: r-help-boun...@r-project.org
[mailto:r-help-boun...@r-project.org] On Behalf Of M.Ribeiro
Sent: Tuesday, May 18, 2010 7:13 AM
To: r-help@r-project.org
Subject: [R] Counting Frequencies in Data Frame
Hi,
I am sure there is an easy way to do it, but I
sorry I had a mistake sending my question without a subject. I do resend again.
Please excuse me.
Hello
I have a data array with soil variables (caperf), in which the variable
clay is factor (as I see entering str(caperf)) . I need to do a regression
model, so I need to have arcilla
Hi,
On Tue, May 18, 2010 at 11:36 AM, milton ruser milton.ru...@gmail.com wrote:
Dear R-experts,
I am installing new libraries using
install.packages(ggplot2,dependencies=T).
But I perceive that many dependencies are already installed. As I am using
a low-band internet, how can avoid
Try
arcilla-as.numeric(as.character(clay))
best
milton
On Tue, May 18, 2010 at 12:36 PM, Arantzazu Blanco Bernardeau
aramu...@hotmail.com wrote:
sorry I had a mistake sending my question without a subject. I do resend
again. Please excuse me.
Hello
I have a data array with soil
{ I've modified the subject; I can't stand it hitting square into
my face ... }
mr == milton ruser milton.ru...@gmail.com
on Tue, 18 May 2010 12:36:23 -0300 writes:
mr Dear R-experts,
mr I am installing new libraries using
mr install.packages(ggplot2,dependencies=T).
mr
On 17.05.2010 18:46, Kevin E. Thorpe wrote:
Hello.
In this post:
http://finzi.psych.upenn.edu/Rhelp10/2010-March/233815.html
Uwe Ligges suggests using BRugs rather than R2WinBUGS under windows. He
also notes that it is not in the main CRAN repository, but it is in
extras which is a default
Hi,
I think that providing the output from str(data array or whatever you
have) would help.
Because, for now, we don't have much idea of what you really have.
Moreover, some sample data is always welcomed (using the function dput
for example)
Ivan
Le 5/18/2010 17:36, Arantzazu Blanco
On Mon, 17 May 2010, Vinh Nguyen wrote:
Dear R-help,
Let me know if I should email r-devel instead of this list. This
message is addressed to Professor Lumley or anyone familiar with the
survey package.
Does svycoxph() implement the method outlined in Binder 1992 as
referenced in the help
Hi,
Sorry, I'm not really getting what going on here ... perhaps having
more domain knowledge would help me make better sense of our question.
In particular:
On Tue, May 18, 2010 at 11:35 AM, Arantzazu Blanco Bernardeau
aramu...@hotmail.com wrote:
Hello
I have a data array with soil
Hello
so, here you have the output of the data frame. The data frame comes from a csv
file.
I could take Gr_2 instead of arcilla, because it is the same value... but
curiously, it is a factor as well.
str(caperf)
'data.frame': 556 obs. of 38 variables:
$ Hoja : int 818 818 818
On 18-May-10 15:49:37, Martin Maechler wrote:
{ I've modified the subject; I can't stand it hitting square into
my face ... }
mr == milton ruser milton.ru...@gmail.com
on Tue, 18 May 2010 12:36:23 -0300 writes:
mr Dear R-experts,
mr I am installing new libraries using
mr
If I perceive the issue:
Day - c(rep(97, each = 11), rep(98:278, each = 12))
-
A R learner.
--
View this message in context:
http://r.789695.n4.nabble.com/Repeating-Name-for-Rows-tp2221457p2221492.html
Sent from the R help mailing list archive at Nabble.com.
Hello
Well, the problem is, that arcilla is the percentage of clay in the soil
sample. So, for linear model, I need to work with that number or value. Now, R
thinks that arcilla (arcilla means clay in spanish), is a factor, and gives me
the value as a factor, so the output of the linear model
Dear all,
Just one last question. There seems to be no problem in writing
z = system.time(y - f(x))
or
z - system.time(y - f(x))
Then z contains the named vector of the elapsed times, and y the value of
the function f(x).
Am I right ?
Thank you very much,
Gustave
2010/5/17 Alexander
Hi Martin,
thanks for your reply, and very thanks for your kind tips about package
and library
So, I was trying to understand *why* we load packages using library().
I suggest that developers killl the problem on its root, deleting library
function :-)
Good to know already installed packages will
Hi again,
If you used the function read.table() to read from a csv file into a
data.frame, it is weird that numeric data are converted into factors.
I would check in the original data that you don't have a typo somewhere.
I don't know all the possibilities, but a special character can
One last thing:
before you take my advice on how to recode your nominal/categorical
clay variable for your regression model, take some time to see how
other people talk about this and do some searching on phrases like
regression model with nominal variables (that's just the one I
used).
You'll
Does anybody know how to read in a unsigned 4 byte number from a binary file?
According to the help for readBin, the signed argument only applies to
size=1 or 2. But if you declare any size larger it assumes it is signed?
Thanks
--
View this message in context:
Arantzazu,
Your problem is that the data were probably imported
from Excel where you had at least one cell containing #N/A.
You need to replace those cases in your dataframe with NA.
Then you should be able to do as.numeric(as.character(arcilla)).
-Peter Ehlers
On 2010-05-18 10:07, Arantzazu
Ivan Allaman ivanalaman at yahoo.com.br writes:
I'm trying to use the inflated binomial distribution of zeros (since 75% of
the values are zeros) in a randomized block experiment with four
quantitative treatments (0, 0.5, 1, 1.5), but I'm finding it difficult,
since the examples available
note: whole function is below- I am sure I am doing something silly.
when I use it like USGS(input=precipitation) it is choking on the
precip.1 - subset(DF, precipitation!=NA)
b - ddply(precip.1$precipitation, .(precip.1$gauge_name), cumsum)
DF.precip - precip.1
DF.precip$precipitation -
Hello everybody
the problem has been solved. It was my mistake not to be ensured that any N/A
had dissapeared. I do apologize for the inconveniences caused ;)
friendly greeting sfrom Spain!
Arantzazu Blanco Bernardeau
Dpto de Química Agrícola, Geología y Edafología
Universidad de
Dear all,
I am trying to read an SPSS file into a data frame in R using method
read.spss(),
sample - read.spss(file.name,to.data.frame=TRUE)
But dates in the data.frame 'sample' are coming as integers and not in the
actual date format given in the SPSS file.
Appreciate if anyone can help
On 2010-05-18 10:05, (Ted Harding) wrote:
On 18-May-10 15:49:37, Martin Maechler wrote:
{ I've modified the subject; I can't stand it hitting square into
my face ... }
mr == milton rusermilton.ru...@gmail.com
on Tue, 18 May 2010 12:36:23 -0300 writes:
mr Dear R-experts,
mr
On Tue, May 18, 2010 at 8:50 AM, Thomas Lumley tlum...@u.washington.edu wrote:
I
don't believe so since svycoxph() calls coxph() of the survival
package and weights are applied once in the estimating equation. If
the weights are implemented in the ratio, could you point me to where
in
On 5/18/2010 12:38 PM, Praveen Surendran wrote:
Dear all,
I am trying to read an SPSS file into a data frame in R using method
read.spss(),
sample - read.spss(file.name,to.data.frame=TRUE)
But dates in the data.frame 'sample' are coming as integers and not in the
actual date
I don't think you can do this
precipitation!=NA)
have a look at ?is.na
--- On Tue, 5/18/10, stephen sefick ssef...@gmail.com wrote:
From: stephen sefick ssef...@gmail.com
Subject: [R] Function that is giving me a headache- any help appreciated
(automatic read )
To: r-help@r-project.org
On 18-May-10 16:42:40, Peter Ehlers wrote:
On 2010-05-18 10:05, (Ted Harding) wrote:
On 18-May-10 15:49:37, Martin Maechler wrote:
{ I've modified the subject; I can't stand it hitting square into
my face ... }
mr == milton rusermilton.ru...@gmail.com
on Tue, 18 May 2010 12:36:23
Dear R users,
I am using the Sweave package and I am doing some MCMC. I have a loop
function for my MCMC. Every 100 iterations, I want the number of iterations
already done to appear on my screen (but not on the final document). Is that
possible ?
Usually I can rely on
if (i%%100==0) cat(i,
On Mon, May 17, 2010 at 7:42 PM, Vinh Nguyen vqngu...@uci.edu wrote:
Dear R-help,
I would like to compute the variance for the proportion of treatment
effect by a surrogate in a survival model (Lin, Fleming, and De
Gruttola 1997 in Statistics in Medicine). The paper mentioned that
the
-Original Message-
From: r-help-boun...@r-project.org
[mailto:r-help-boun...@r-project.org] On Behalf Of tetonedge
Sent: Tuesday, May 18, 2010 9:14 AM
To: r-help@r-project.org
Subject: [R] unsigned 4 byte number
Does anybody know how to read in a unsigned 4 byte number
from a
Hi Jimmy,
You can use message() instead of cat():
if (i%%100==0) message(i)
Best,
Ista
On Tuesday 18 May 2010 1:10:51 pm Jimmy Söderly wrote:
Dear R users,
I am using the Sweave package and I am doing some MCMC. I have a loop
function for my MCMC. Every 100 iterations, I want the number of
Under UNIX I usually write something like
system(paste(echo ',...,', sep=sep))
where I replace the '...' with whatever I need to show.
This would need some adjustments for non-scalars, though.
Benno
Am 18.Mai.2010 um 19:10 schrieb Jimmy Söderly:
Dear R users,
I am using the
The glassolist function says that if rholist is set to NULL, then 10
values in a (hopefully reasonable) range are used. I'm trying to figure out
how these 10 values are chosen, I can't find this in any documentation.
Thanks for your help!
--
View this message in context:
On May 18, 2010, at 12:07 PM, Arantzazu Blanco Bernardeau wrote:
Hello
Well, the problem is, that arcilla is the percentage of clay in the
soil sample. So, for linear model, I need to work with that number
or value. Now, R thinks that arcilla (arcilla means clay in
spanish), is a
Hi Ben!
First I thank you for your attention. Unfortunately, the ANOVA does not work
with vglm. In
another email, Rafael warned me that actually a lot of zeros does not
necessarily imply a distribution of zeros binomail inflated. So how could I
test if my variable is or not a binomial zero
John Lande john.land...@gmail.com writes:
dear all,
we am trying to improve the performance of my R code, with the implentation
of some function with custom C code.
we found difficult to import and export/import data structure such us
matrices or data.frame into the external C functions.
Dear R Help,
I am trying to fit a nonlinear model for a mean function $\mu(Data_i,
\beta)$ for a fixed covariance matrix where $\beta$ and $\mu$ are low-
dimensional. More specifically, for fixed variance-covariance matrices
$\Sigma_{z=0}$ and $\Sigma_{z=1}$ (according to a binary covariate
On 05/18/2010 11:52 AM, Chuck Cleland wrote:
On 5/18/2010 12:38 PM, Praveen Surendran wrote:
Dear all,
I am trying to read an SPSS file into a data frame in R using method
read.spss(),
sample- read.spss(file.name,to.data.frame=TRUE)
But dates in the data.frame 'sample' are coming as
On Tue, 18 May 2010, Vinh Nguyen wrote:
Binder's estimating equations are the usual way of applying weights to a Cox
model, so nothing special is done apart from calling coxph(). To quote the
author of the survival package, Terry Therneau, Other formulae change in
the obvious way, eg, the
Hi,
I'm new to 'R' and need some help on the Load command. Any responses
will be highly appreciated. Thanks in advance!
As per manuals, the Load command expects a binary file input that is
saved using a save command. However it is required that we need to
call the 'R' program from
Java
I tried doing that and this is what I go:
dlg - aDialog(items=list(
ProtienCode=stringItem()
),
OK_handler=function(.) { # . is reference to dlg object
values - .$to_R()
f - function(ProtienCode)
pdb - read.pdb(.$get_ProteinCode())
#cat(ProteinCode is,ProtienCode,\n)
do.call(f, values)
}
)
Thank you Adrian,
its working fine.
Knut
__
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, minimal, self-contained,
1 - 100 of 140 matches
Mail list logo