Hi,
You cannot start with a "*" in expression(). Try this,
plot(x~y,ylab=expression(~degree~C))
or even, as a short-cut,
plot(x~y,ylab=~degree~C)
HTH,
baptiste
2009/10/2 e-letter :
> Readers,
>
> I have tried to use a plotmath command to add the temperature degree
> sign (i.e. ᵒ C) to the
On Thu, Oct 1, 2009 at 7:26 PM, Martin Renner <
martin.ren...@stonebow.otago.ac.nz> wrote:
> try pdftk. Not quite on the fly but should do the trick. (I saw this on
> this list a little while ago)
>
pdftk compresses the pdf internally - it is still a pdf, can be opened as a
pdf, and is not an ext
Readers,
I have tried to use a plotmath command to add the temperature degree
sign (i.e. ᵒ C) to the axis label of a graph:
> x<-(1:10)
> y<-(200:191)
> plot(x~y,ylab=expression(*degree~C))
Error: syntax error, unexpected '*', expecting ',' in
"plot(x~y,ylab=expression(*"
According to plotmath m
Thanks for that again. That almost works, except that lines are drawn
between non-empty bins (in various degrees of diagonality), so absent
points (important here) don't show clearly. It's not a huge issue, so I
might leave it, unless there is a simple way around this.
cheers
Dan
On Tue, 2009-09-
Hi R users,
I just play with a small data set (from SAS) by using the boot with glm. But
I don't know what I did wrong. Would someone please give me a hint?
> require(boot)
> carc<-read.table(file="C:\\Documents and
> Settings\\admin\\Desktop\\drug.txt",header=T)
> carc
n cc car age
1 500
Thanks!
It worked! There is another problem I want to subset the matrix 'red'
in following manner:
>dim(red)
23688 164
>a=red[1:23688,1:4]
>b=red[1:23688,5:8]
>c=red[1:23688,9:12]
..
..
>z=red[1:23688,161:164]
If there any efficient way to
Thanks Joris and Peter. Sorry for not giving enough details. I have tried
your suggestions and the problem is solved. Thank you. :)
JorisMeys wrote:
>
> The minimum of a character vector is returned according to the unicode
> or ascii code values, but I guess that's not what Chris is looking
>
?subset is probably what you want:
subset(x, x1 == 'A')
On Oct 2, 1:43 pm, Kavitha Venkatesan
wrote:
> Hi,
>
> I have a data frame that looks like this:
>
> >x
>
> x1 x2 x3
> A 1 1.5
> B 2 0.9
> B 3 2.7
> C 7 1.8
> D 7 1.3
>
> I want to "group" by the x1 column and in
try pdftk. Not quite on the fly but should do the trick. (I saw this
on this list a little while ago)
pdfComp <- function (pdfname){
if (0){
x <- tempfile()
system (paste ("mv", pdfname, x))
system (paste ("pdftk", x, "output", pdfname, "compress"))
unlink (x)
}
}
pdf ("te
Hi,
I have a data frame that looks like this:
>x
x1 x2 x3
A 11.5
B 20.9
B 32.7
C 71.8
D 71.3
I want to "group" by the x1 column and in the case of multiple x$x1 values
(e.g., "B")d, return rows that have the smallest values of x2. In the case
of rows with only on
Bill Dunlap
TIBCO Software Inc - Spotfire Division
wdunlap tibco.com
> -Original Message-
> From: r-help-boun...@r-project.org
> [mailto:r-help-boun...@r-project.org] On Behalf Of Peng Yu
> Sent: Thursday, October 01, 2009 7:42 PM
> To: r-h...@stat.math.ethz.ch
> Subject: [R] How to g
Try this:
> x <- c(1, 2, 3, 3, 4, 5)
> ave(x, x, FUN = length) > 1
[1] FALSE FALSE TRUE TRUE FALSE FALSE
On Thu, Oct 1, 2009 at 10:42 PM, Peng Yu wrote:
> Hi,
>
>> x=c(rep(1,3),rep(3,2))
>> x
> [1] 1 1 1 3 3
>> duplicated(x)
> [1] FALSE TRUE TRUE FALSE TRUE
>>
>
> As shown in the above co
Hi,
> x=c(rep(1,3),rep(3,2))
> x
[1] 1 1 1 3 3
> duplicated(x)
[1] FALSE TRUE TRUE FALSE TRUE
>
As shown in the above code, 'duplicated' doesn't return 'F' for the
first '1' and first '3' in 'x'. I am wondering if there is a function
that can return an indicator for any element whether it appe
I am unable to calculate confidence intervals for the slope estimate in a
quasibinomial glm using confint(). Below is the output and the package info
for MASS. Thanks in advance!
R 2.9.2
MASS 7.2-48
> confint(glm.palive.0.str)
Waiting for profiling to be done...
Error: dims [product 37] do not m
Thanks
But it seems like you don't get my problem. Do you mean that there is something
wrong with the code as it seems like what you are doing is suggesting
different ways to write a code.
Will i get to use the variable that have been name previously like if i want to
calculate the standa
assign(levels(data$Species)[1], 1:10)
or you might want to consider the use of a list depending on what you
are trying to do.
On Thu, Oct 1, 2009 at 7:26 PM, jimdare wrote:
>
> Hi,
>
> If I have a dataset called "data" with a factor called "Species" that has
> three levels "Sp1", "Sp2", and "Sp3
On 2/10/2009, at 1:03 PM, Carvalho, Benilton wrote:
I agree with you folks, my assumption is that the user knows what he's
doing.
Almost surely a rash assumption! (I.e. except for a set of
users of probability zero.) :-)
cheers,
Rolf T
I agree with you folks, my assumption is that the user knows what he's
doing.
Sent from my iPhone
On Oct 1, 2009, at 8:33 PM, "Rolf Turner"
wrote:
>
> On 2/10/2009, at 12:05 PM, Bert Gunter wrote:
>
>> However, I would hazard the guess that doing this is a (possibly
>> disastrously) bad idea
>
On 2/10/2009, at 12:05 PM, Bert Gunter wrote:
However, I would hazard the guess that doing this is a (possibly
disastrously) bad idea
I heartily second that hazard!!!
cheers,
Rolf Turner
Bert Gunter
Genentech Nonclinical Biostatistics
---
Hi,
If I have a dataset called "data" with a factor called "Species" that has
three levels "Sp1", "Sp2", and "Sp3". Is there a way to name an object
after a specific level? I have tried the code below and get the error
"error in paste(levels(data$Species)[1]) <- 1:10 could not find function
"
However, I would hazard the guess that doing this is a (possibly
disastrously) bad idea.
Bert Gunter
Genentech Nonclinical Biostatistics
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Carvalho, Benilton
Sent: Thursday, October
red[is.na(red)] <- 0
Sent from my iPhone
On Oct 1, 2009, at 7:22 PM, "Amit Kumar"
wrote:
> Hi! All,
> I am working with a large matrix of dimension 23689 x 162. Some of the
> values of this matrix is missing (NA). And it looks something like
> that:
>
>> dim(red)
> 23689 162
>
>> red
>
On Thu, 1 Oct 2009, Vik wrote:
Thanks Charles, I have been able to change the function and to make it work.
I have also gotten the same results using nlm().
Now the question I have (and that google has not helped on) is which
optimization functions can I use for solving for two distinct variabl
Hi! All,
I am working with a large matrix of dimension 23689 x 162. Some of the
values of this matrix is missing (NA). And it looks something like
that:
>dim(red)
23689 162
>red
[,1] [,2] [,3] [,4] [,5]
[1,]2 NA4 9 6
[2,]5 NA6 NA 1
[3,] NA
yes, halo thank you.
my measure data:
v2 <- c(0, 2, 4, 6, 6.2, 6.4, 6.6, 6.8, 7, 7.2, 7.4, 7.6, 7.8, 8, 10, 12,
14)
ph2 <- c(12.10, 11.94, 11.68, 11.11, 10.91, 10.74, 10.47, 9.71, 7.1, 4.24,
3.3, 3.08, 2.98, 2.86, 2.33, 2.11, 1.98)
with regards
bartjoosen wrote:
>
> Hi,
>
> This should be poss
On Thu, 2009-10-01 at 13:34 +, KABELI MEFANE wrote:
> ## package sampling
>
> stra=strata(sampleframe,c("type","value","rating"),size=c(20,80,200,300,400),
> method="srswor")
> sample.strat<-getdata(sampleframe,stra)
>
> sample.strat
>
Try:
stra<-strata(sampleframe,size=c(20,80,200,300,400
What I am doing is trying to determine where the dates are not
sequential (difference is not one day). Everytime that this occurs,
the expression 'diff(.days) != 1' is TRUE and this is where a new
sequence starts. 'diff' will return a vector one shorter than its
input; I am assuming that the firs
helpers
I have tried doing everything i can but i think my problem may be solved by
even one command or statement. If i have a dataframe with variale name A,B,C
and i subset this dataframe, how do i retain the variable names to use in my
subset.
In short i need to forget about the origin
Zubin,
> Hello, I have some time series applications, where i have a large set of X
> variables (hundreds) and thousands of time data points (sampling every
> minute).
> I like to use the caret package to support the analysis, variable selection
> and model selection. However, reading the documen
The latest version of the Rcompression package (www.omegahat.org/Rcompression)
provides a gzip() function that does this. The example in the help page shows
how.
There is a source version of the package in the Omegahat repository (and on the
package's
Web site), but no binaries at this point.
Thanks Charles, I have been able to change the function and to make it work.
I have also gotten the same results using nlm().
Now the question I have (and that google has not helped on) is which
optimization functions can I use for solving for two distinct variables
instead of only one? Thanks aga
Hi,
I am wondering, does anybody knows if there is any package/function
in R I can use to calculate the
espresso heuristic logic minimizer ?
(http://en.wikipedia.org/wiki/Espresso_heuristic_logic_minimizer)
Also, would you please kindly let me know if there is any open source
computer algebra s
Hi Pat,
I am happy with the book "Mixed Effects Models and Extensions in Ecology
with R"
by Zuur, Ieno, Walker, Saveliev and Smith. In fact I am reading chapter by
chapter,
and the reading is very digestible, as well as the examples are quite easy
to understand
and to be reference for our "real wo
Dear list,
I have the following function,
sugar = function(fun, id = "id"){
ff <- formals(fun)
if( id %in% names(ff))
stop("id is part of args(fun)")
formals(fun) <- c(unlist(ff), alist(id=))
fun
}
which one may use on a function foo,
foo = function(x){
x
}
sugar(foo) # results i
Congratulations!
Could you explain to me the reason you add an initial "TRUE" value in the
cumulatice sum?
jholtman wrote:
>
> Will this work:
>
>> x <- read.table(textConnection(" day user_id
> + 2008/11/012001
> + 2008/11/012002
> + 2008/11/012003
> + 2008/11/0120
Hello, I have some time series applications, where i have a large set of
X variables (hundreds) and thousands of time data points (sampling every
minute).
I like to use the caret package to support the analysis, variable
selection and model selection. However, reading the documentation, it
l
Another interesting visual technique is given by the
qreference() function in pkg:DAAG. I've used this type
of display effectively with non-stats people as well
as in teaching intro courses in stats.
(I would randomize the location of the actual-data panel
and not use a different colour. The quest
Noela,
Package nortest has 5 tests of normality.
A word of caution: the wording of your question suggests that
you believe that, if the test you use does not reject the
normality hypothesis, you then have proof that your data come
from a Normal distribution. That's *NOT* true. Normality will
sti
Please send questions like this to the rcom mailing list.
You can subscribe at rcom.univie.ac.at.
On Sep 28, 2009, at 1:34 PM, sowh...@o2.pl wrote:
Hello,
I have the following problem:
I have excel workbooks connected with R through RExcel package. Data
are being loaded from excel, then th
Ah, great!
Thanks for the refs, I'll look into them.
-steve
On Thu, Oct 1, 2009 at 1:12 PM, baptiste auguie
wrote:
> Hi,
>
> I know of three options that resemble your query,
>
> - the roxygen package
>
> - a ruby script called weeder by Hadley Wikham
>
> - the inlinedocs package on r-forge
>
>
I don't disagree. And to that end one could probably look at the skewness and
kurtosis values as well. A combination of several techniques would probably be
a good idea.
Best regards,
Patrick
-Original Message-
From: Steve Lianoglou [mailto:mailinglist.honey...@gmail.com]
Sent: Thursd
Hi,
I think you can also use a qq-plot to do the same, no? You won't get a
statistic score + p.value, but perhaps you're more of a visual person?
:-)
-steve
On Thu, Oct 1, 2009 at 12:56 PM, Richardson, Patrick
wrote:
> ?shapiro.test
>
>
> -Original Message-
> From: r-help-boun...@r-proj
This is the first time I've encountered R having difficulty with package and
R version compatibility. I cant believe no one has fixed generally so that
your version of R can get the latest package appropriate to that version.
How nice would that be? :)
Anyway, I figured it out for my version (2.8
Hi,
I know of three options that resemble your query,
- the roxygen package
- a ruby script called weeder by Hadley Wikham
- the inlinedocs package on r-forge
I only ever used roxygen though, so i can't speak for the relative
merits of the others.
HTH,
baptiste
2009/10/1 Steve Lianoglou :
On Thu, 1 Oct 2009, Vik wrote:
Hello,
I am trying to figure out how to use optimize() with array variables
as inputs. I have a for loop in the function definition:
SS <- function(int,slo,x,y){
for(i in 1:length(x)) ((int+slo*x[i])-y[i])^2->squares[i]
sum(squares)->>sum_squares
output_txt = c (
> Remi wrote:
>
> > (Failed to allocate a vector of size...)
> > What can I do? And, maybe even more important, how can one explains such
> > a behavior?
If your matrices are not sparse, get more memory. If they are,
help("sparseMatrix",package=Matrix) ?
Hi all,
Trying to do what my subject says.
As I'm trying to be better about making packages out of my code, I'd
like the packages themselves to be better, which means *.Rd-
documenting my code. The thing is, from years of programming other
languages prior to landing in the R pond, I've grow
I write about R every weekday at the Revolutions blog:
http://blog.revolution-computing.com .
In case you missed them, here are some articles from last month of
particular interest to R users.
http://bit.ly/WYAnM shows how to create a URL for a Google Spreadsheet
so you can read the data directly
?shapiro.test
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Noela Sánchez
Sent: Thursday, October 01, 2009 12:47 PM
To: r-help@r-project.org
Subject: [R] Normal distribution
Hi,
I am dealing with how to check in R if some data
Remi wrote:
Hello everyone,
I am working with one big matrix:
w=matrix(0,18000,18000)
on a Linux computer with 16Go of RAM.
I can actually create the matrix, and even access elements:
w[10,10]
0
but if I try to change one element, it fails:
w[10,10]=1
In this case your object is copied an
Hi,
I want to use the .RProfile to set defaults such as text editor. Is
this a file I need to create? Also, where should I put it? I tend to
create .RData files for different projects, putting each in a different
Windows (Vista) folder. Is one .Rprofile file created that any
instance of
Hi,
I am dealing with how to check in R if some data that I have belongs to a
normal distribution or not. I am not interested in obtaining the
theoreticall frequencies. I am only interested in determing if (by means of
a test as Kolmogorov, or whatever), if my data are normal or not.
But I have t
Will this work:
> x <- read.table(textConnection(" day user_id
+ 2008/11/012001
+ 2008/11/012002
+ 2008/11/012003
+ 2008/11/012004
+ 2008/11/012005
+ 2008/11/022001
+ 2008/11/022005
+ 2008/11/032001
+ 2008/11/032003
+ 2008/11/032004
+ 2008/11/03
2009/10/1 Peter Ruckdeschel :
>
> removed <- c("lty",params.fun1)
> ## I assume you do not want to pass on argument "lty"...
> dots.remaining <- cl[-1] ### remove the function name
> dots.remaining <- dots.remaining[! names(dots.remaining)
> %in% removed]
>
> Be
Hello,
I am trying to figure out how to use optimize() with array variables
as inputs. I have a for loop in the function definition:
SS <- function(int,slo,x,y){
for(i in 1:length(x)) ((int+slo*x[i])-y[i])^2->squares[i]
sum(squares)->>sum_squares
output_txt = c ("The sum of squares is", sum_squar
All
I have been looking into the books on performing statistics in R, in
particular I am interested in General Linear Mixed Models, for Randomized
Complete Block Design Experiments
The list I have come away with so far is:
Mixed Effects Models in S and S-plus by Pinheiro (2002)
http://www.amazon
I have a more problem: Because there are few files which can't be read into R
completely, so on the following subsequence programme, I use write.table, which
creates the "NA" files for those incomplete files autimatically.
I don't want those NA files. How can I do the following:
whenever readLi
On Thu, 1 Oct 2009, kayj wrote:
I am having difficulties interpreting a cdplot, I have a binary variable y
that I want to cdplot against a continuous variable x,below is the R command
cdplot(y~x, data=mydata)
you get a plot with a dark shaded area and a light shaded area. what do
these areas m
I am baffled by this as well. I'm having the same issue. Using suse linux,
with 64 bit R2.8.1.
Thanks,
james
Zege, Andrew wrote:
>
> I am unable to install package lme4, after several attempts to do so using
> various repository URLs.
> Just to make sure everything works fine with proxy, co
...if that is possible
My task is to find the longest streak of continuous days a user participated
in a game.
Instead of writing an sql function, I chose to use the R's rle function, to
get the longest streaks and then update my db table with the results.
The (attached) dataframe is somethin
system() invokes the OS command specified by command, in the example you gave
it means that gzip is installed and (assuming Windows OS) it is in your search
path.
I'd like to have a solution that do not use external programs.
Thanks
Daniele
-Original Message-
From: Ista Zahn [mailto:is
Hi Tammy,
On Oct 1, 2009, at 11:04 AM, Tammy Ma wrote:
Hi, R-Users,'
I have written a programe to process the bunch of files in one folder.
But there is a error came out;
How can I know which file returns error when being processed?
I have tested the first 1-10th files, no any problem. But the
Read the troubleshooting section on the home page: http://ryacas.googlecode.com
Note, in particular, that it currently only works with an older
version of the XML package.
> library(Ryacas)
> packageDescription("XML")$Version
[1] "1.96-0"
> x <- Sym("x")
> Integrate(x*x, x)
[1] "Starting Yacas!"
e
I guess I don't understand what your're trying to do. gzip-ing a file
from within R is easy enough:
pdf(file="CompressMe.pdf")
plot(rnorm(100))
dev.off()
system("gzip CompressMe.pdf")
I think you want something more complicated, but I'm not sure what.
-Ista
On Thu, Oct 1, 2009 at 6:41 AM, Danie
Thanks guys, Ryacas is pretty much what I'm looking for!However, I can't
seem to get it to work properly.
For example:
> yacas("Integrate(x) x")
Error in parse(text = text, srcfile = NULL) :
unexpected numeric constant in ""/" ("^" (x ,2 2"
Same thing with expressions such as yacas("x*x")
How
From: metal_lical...@live.com
To: r-help@r-project.org
Subject: Debug
Date: Thu, 1 Oct 2009 15:21:42 +0300
Hi, R-Users,'
I have written a programe to process the bunch of files in one folder.
But there is a error came out;
How can I know which file returns error when being processed?
I
An example would be helpful, but if I understand correctly, can't you do
something like
TDF=t(DF)
TDF=TDF[,rownames(DF)]
Kevin Wright
On Thu, Oct 1, 2009 at 9:04 AM, Dry, Jonathan R <
jonathan@astrazeneca.com> wrote:
> Hi all - I have a data frame and have sorted it by a particular column,
I am having difficulties interpreting a cdplot, I have a binary variable y
that I want to cdplot against a continuous variable x,below is the R command
cdplot(y~x, data=mydata)
you get a plot with a dark shaded area and a light shaded area. what do
these areas mean? and how to interpret the p
On 10/1/2009 5:37 AM, Daniel Dekic wrote:
http://cran.r-project.org/doc/manuals/R-admin.pdf
page 8 and page 13
testInstallPackages("recommended")
-> testInstalledPackages("recommended")
Thanks, will fix.
Duncan Murdoch
__
R-help@r-project.org
Hi Daniel,
I presume you mean coefficients by values. Try ?gamObject and read the
info in the help file. A GAM object (returned by the function gam() )
contains an element coefficients that is easily accessible. That one
contains all estimated coefficients, including those for the smooth
functions
Dear snow users,
is there any way to specify a max time after which makeSOCKcluster() stops
trying to create socket connections and gives up/returns ?
In my current setup (MAC OSX 10.5.8, R version 2.9) I have to force quit R
if the host specified in makeSOCKcluster() either does not exist or does
library(sos)
tm <- findFn('text mining')
tm
This produced 15 matches, which you could also find using
"RSiteSearch('text mining', 'function')". The difference is that
findFn{sos} displays the results in a table sorted to place the package
with the most matches first. In this case, ther
Hi Ashta,
See the "..." in ?abline.
HTH,
Jorge
On Thu, Oct 1, 2009 at 9:57 AM, Ashta <> wrote:
> I am trying to plot a line graph for 3 or more regression lines
>
> abline(m1)
> abline(m2)
> abline(m3)
>
> Can I change the color of each line? if so how?
>
> Thanks in advance
> Ashta
>
>
On Thu, Oct 1, 2009 at 6:57 AM, Ashta wrote:
> I am trying to plot a line graph for 3 or more regression lines
>
> abline(m1)
> abline(m2)
> abline(m3)
>
> Can I change the color of each line? if so how?
>
> Thanks in advance
> Ashta
>
Try passing the 'col' parameter to abline:
abline( m1, col
abline(m1, col="red")
regards,
Stefan
On Thu, Oct 01, 2009 at 09:57:11AM -0400, Ashta wrote:
> I am trying to plot a line graph for 3 or more regression lines
>
> abline(m1)
> abline(m2)
> abline(m3)
>
> Can I change the color of each line? if so how?
>
> Thanks in advance
> Ashta
>
>
Try this:
abline(m1, col = 'blue')
abline(m1, col = 'red')
abline(m1, col = 'green')
On Thu, Oct 1, 2009 at 10:57 AM, Ashta wrote:
> I am trying to plot a line graph for 3 or more regression lines
>
> abline(m1)
> abline(m2)
> abline(m3)
>
> Can I change the color of each line? if so how?
>
> Th
Actually that is stated in paper abstract:
http://www.krebsregister.saarland.de/improve/periodR_en.html
Andris
2009/10/1 "Jens Oehlschlägel" :
> Hi,
> Does anyone know where the following package is available:
>
> Holleczek B, Gondos A, Brenner H.
> PeriodR - an R package to calculate long term
Please read the last line to every message to r-help. There is no
reproducible code in your post.
Anyways, it works for me:
> class(call("round", 1.5))
[1] "call"
> as.character(call("round", 1.5))
[1] "round" "1.5"
> format(call("round", 1.5))
[1] "round(1.5)"
On Thu, Oct 1, 2009 at 7:58 AM
Hi Jens,
Take a look at http://www.krebsregister.saarland.de/improve/periodR_en.html
HTH,
Jorge
2009/10/1 "Jens Oehlschlägel" <>
> Hi,
> Does anyone know where the following package is available:
>
> Holleczek B, Gondos A, Brenner H.
> PeriodR - an R package to calculate long term survival esti
>From the help page for readLines:
" If the final line is incomplete (no final EOL marker) the
behaviour depends on whether the connection is blocking or not.
For a non-blocking text-mode connection the incomplete line is
pushed back, silently. For all other connections the line wi
Let us walk through my problem step by step:
1.
print(xyplot(yield ~ variety | site,groups=year,data=barley))
2.
print(xyplot(as.formula("yield ~ variety |
site"),groups=year,data=barley))
The above two statements work, the next one does not work
3.
print(xyplot(as.formula("yield ~ variety |
I am trying to plot a line graph for 3 or more regression lines
abline(m1)
abline(m2)
abline(m3)
Can I change the color of each line? if so how?
Thanks in advance
Ashta
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
Hi all - I have a data frame and have sorted it by a particular column, with
rownames set to a different variable. I wish to transpose this data frame,
naming columns by the rowname variable but maintaining the sorted order through
to the order of columns in my transposed table, however use of
Dear R-users,
I use "readLines" to read data, but when processing the large data set, there
are few files which can not be readed in:
48: In readLines(name_c[i]) ... :
incomplete final line found on 'C:/Documents and Settings/lma/My
Documents/habitdata/244052900243997/calllog/calllog_log-20
hassan paylakhi wrote:
> hi
> I am going to crazy.I want to use beadarray package in R, but I cant.
> when I want install it, I encounter to this message "Loading required
> package: hwriter
> Loading required package: sma
> Error in library(pkg, character.only = TRUE, logical.return = TRUE, lib.l
Hi,
I need to get a character vector from an object of class call. But
using as.character() returns something based on the internal structure
of the object, and not, as I would like, some akin to the output of
show() on a call object.
Any idea on how to obtain the same output returned by show?
T
Hi,
Does anyone know where the following package is available:
Holleczek B, Gondos A, Brenner H.
PeriodR - an R package to calculate long term survival estimates using period
analysis.
Methods of Information in Medicine 2009; 48: 123-128.
Thanks
Jens Oehlschlägel
--
GRATIS für alle GMX-Mitglie
http://cran.r-project.org/doc/manuals/R-admin.pdf
page 8 and page 13
testInstallPackages("recommended")
-> testInstalledPackages("recommended")
same problem in .html
--
CTM Clinical Trials Management GmbH
Mariahilferstraße 47/III/3/5
1060 Vienna, Austria
Phone: +43 (0) 1 / 585 80 63
Fax: +4
Dear All!
I have a few question about proper syntax for fuzzy rules in sets
package (there is only little help about it):
1) how to use negation (NOT) operator there is only OR (||) in example
it is NOT, !!, !. I also assume that AND is &&
2) where it can be set. For example:
area %is NO
Try this:
y <- function(a)
substitute(a * x, list(a = a))
On Thu, Oct 1, 2009 at 10:46 AM, ZeMajik wrote:
> Hey,
> I'm trying to find how to perform operations with a variable treated as a
> symbol.
> For, an extremely simple, example I want to integrate a*x with respect to x
> and I wan
Dear Baptiste,
> I know I have seen this discussed before but I haven't been successful
> in searching for "ellipsis", "dots", "..." in the archives. I would
> like to filter "..." arguments according to their name, and dispatch
> them to two sub-functions, say fun1 and fun2. I looked at lm() but
Hi Zemajik,
Try this:
> y <- function(a) paste(a, '*x', sep="")
> y(2)
[1] "2*x"
Also, take a look at the Ryacas package.
HTH,
Jorge
On Thu, Oct 1, 2009 at 9:46 AM, ZeMajik <> wrote:
> Hey,
> I'm trying to find how to perform operations with a variable treated as a
> symbol.
> For, an extreme
Hey,
I'm trying to find how to perform operations with a variable treated as a
symbol.
For, an extremely simple, example I want to integrate a*x with respect to x
and I want to find the indefinite integral of this, (a*x^2/2), or the
definite integral with some interval for x.
Another example of su
Dear All,
Here is what I am trying to achieve: I would like to plot some data in 3D.
Usually, one has a matrix of the kind
y_1(x_1) , y_1(x_2).y_1(x_i)
y_2(x_1) , y_2(x_2).y_2(x_i)
...
y_n(x_1) , y_n(x_2)..y_n(x_i)
where e.g. y_2(x_1) is the v
Thanks
i was not aware of str, i have a very large code since i am new to r.
I forgot to mention that the package is sampling. Actually i have this
simulated code:
n <- c(100,400,1000,1500,2000)
x <- c(2,3,3,3,5)
y <- c(7,7,9,10,10)
s <- function(mn, mx, n) {sample(mn:mx, n, replace=TRUE)}
r
I can't determine what is going on in you example, but my approach would be
to read the text file into a text editor that will display hidden characters
(tab, etc.) so you can see the pattern. It could be that there is an extra
tab in some locations. You could then use the editor's replace functi
On Oct 1, 2009, at 4:33 AM, hassan paylakhi wrote:
hi
I am going to crazy.I want to use beadarray package in R, but I cant.
when I want install it, I encounter to this message "Loading required
package: hwriter
Loading required package: sma
Error in library(pkg, character.only = TRUE, logical.r
On Oct 1, 2009, at 12:18 AM, cls59 wrote
PDXRugger wrote:
Considering your instructions:
#Define words to find
to.find <- c( 'the', 'is', 'are' ,'dr')
#Read in the file...
file.text <- readLines( 'data/letter.txt' )
#Count number of occurnces of deined word in text
line.matches <- unlist( la
On Oct 1, 2009, at 2:44 AM, Sukhbir Rattan wrote:
Hi
I have Centos Operating System.
I m installing R on it. For this I have to create roll of R.
So, how to create the roll of R, regarding this what to be
downloaded and
from where?
Plz help.
By
Sukhbir Singh Rattan.
If by "roll", you
Hello evyrone,
I would be grateful if you could help me in (I hope) simple problem.
I fit a gam model (from mgcv package) with several smooth functions .
I don't know how to extract values of just one smooth function. Can you
please help me in this?
Kind regards,
Daniel Rabczenko
__
1 - 100 of 126 matches
Mail list logo