how I can put two additive effects in random of lme ?
Thanks
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Hi,
you can use regular expression with grep.
For example:
exactmatch-function(s,l){return(grep(paste('^',s,'$',sep=''),l))}
t-c('a','ab','abc','c','ca','ab')
exactmatch('ab',t)
[1] 2 6
HTH
Marc
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Petr
Hi,
I compiled several C program files on Borland C++
compiler to get one dll output (as instructed in the
file readme.package). Now when I try to load this
*.dll to R using dyn.load(), then the machine gives
the error message *.dll is not a valid windows
data,. The out put of R is
I am
On Fri, 9 Jul 2004 01:58:27 -0700 (PDT), Utsav Boobna
[EMAIL PROTECTED] wrote:
Hi,
I compiled several C program files on Borland C++
compiler to get one dll output (as instructed in the
file readme.package). Now when I try to load this
*.dll to R using dyn.load(), then the machine gives
the
Hi
I am using Borland C++ compiler 5.5 and R 1.7.1
got the dll using
c:\ bcc32 -u- -6 -O2 -osample.dll -WDE sample.c
Then in R I used
dyn.load(sample.dll)
Error in dyn.load(x, as.logical(local),
as.logical(now)) :
unable to load shared library C:/sample.dll:
LoadLibrary
Hello,
I could not yet create combined graph in R. To avoid misunderstands,
three examples (originally created in Quattro pro) have been attached.
At first, I don't know how to create graph composed of bars and areas in
the same picture as it is shown in the balance graph (h2plc02.gif).
I
[EMAIL PROTECTED] wrote:
Hello,
I could not yet create combined graph in R. To avoid misunderstands,
three examples (originally created in Quattro pro) have been attached.
Only one graph seems to have made it through to the mailing list. You
should avoid posting things with attachments.
My
Hi, I have designed the following function to extract count frequencies
from an array of integers. For example...
# Tipical array
x - cbind(1,1,1,1,1,2,2,2,2,3,3,3,3,4,5,6,7,22)
# Define the frequency function
frequency -
function(x){
max - max(x)
j - c()
for(i in 1:max){
Dan Bolser wrote:
Hi, I have designed the following function to extract count frequencies
from an array of integers. For example...
# Tipical array
x - cbind(1,1,1,1,1,2,2,2,2,3,3,3,3,4,5,6,7,22)
# Define the frequency function
frequency -
function(x){
max - max(x)
j - c()
for(i in
Papy Gaston wrote:
how I can put two additive effects in random of lme ?
It is best to use the version of lme from the lme4 package to do this.
In that version you can use a formula for random like
random = ~ 1 | rows + columns
The most general form of the random specification is as a named list
From: Prof Brian Ripley [EMAIL PROTECTED]
Date: June 17, 2004 12:15:01 PM CEST
To: Meinhard Ploner [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [R] packages data-sets
On Thu, 17 Jun 2004, Meinhard Ploner wrote:
It's possible to create a package with functions and data,
from which the use
Hello all,
In the Grid addon package from Paul Murrell is there a way of finding
the parameter settings for the viewport you are in? I understand in
Lattice there is a function trellis.get.par(), is there something
similar for Grid?
Cheers
Simon Woodhead
Hello RHelpers!
I'm very ashamed but
I'm creating quite a lot of plots in a big loop...each times the program ask me :
Hit Return to see next plot:
How do I avoid that?
Many, many thanks as always
Anne
Anne Piotet
Tel: +41 79 359 83
You wrote:
Hello RHelpers!
I'm very ashamed but
I'm creating quite a lot of plots in a big loop...each times the
program ask me :
Hit Return to see next plot:
How do I avoid that?
In the file from which your batch job is running (or perhaps in your
.Rprofile, or somewhere like that)
On Fri, 9 Jul 2004 03:29:55 -0700 (PDT), Utsav Boobna
[EMAIL PROTECTED] wrote :
Hi
I am using Borland C++ compiler 5.5 and R 1.7.1
got the dll using
c:\ bcc32 -u- -6 -O2 -osample.dll -WDE sample.c
I don't know the bcc32 command line options. Can you examine the
sample.dll file (using e.g.
On Fri, 9 Jul 2004, Uwe Ligges wrote:
Dan Bolser wrote:
Hi, I have designed the following function to extract count frequencies
from an array of integers. For example...
# Tipical array
x - cbind(1,1,1,1,1,2,2,2,2,3,3,3,3,4,5,6,7,22)
# Define the frequency function
frequency -
On Fri, 9 Jul 2004, Uwe Ligges wrote:
Dan Bolser wrote:
Hi, I have designed the following function to extract count frequencies
from an array of integers. For example...
# Tipical array
x - cbind(1,1,1,1,1,2,2,2,2,3,3,3,3,4,5,6,7,22)
# Define the frequency function
frequency -
On Fri, 2004-07-09 at 10:43, Dan Bolser wrote:
On Fri, 9 Jul 2004, Uwe Ligges wrote:
Dan Bolser wrote:
Hi, I have designed the following function to extract count frequencies
from an array of integers. For example...
# Tipical array
x - cbind(1,1,1,1,1,2,2,2,2,3,3,3,3,4,5,6,7,22)
Dear all,
I've got a big problem. I try to analyse my data using R with a mixed model
ANOVA without useful results and success.
My data are as follows:
3 factors (Treatment, Site, Subsite) with 'Subsite' as random factor and
nested into 'Site'.
I want to analyse the effects of the three main
Hello R-Help,
Is anyone aware of an R package which which handles queueing models (M/M/1,
etc)? Basically I was looking for a package which applies Little's law and
other methods to analysis of continuous state Markov processes (to calculate
predicted time spent in queue based on workload).
Hello,
I have search on R website but do not find any solution.
I would like to know if R has some functionalities to produce analytical results
of equation. or more generally if it contains some functions to simplify equation.
For example:
I would like to obtain x1 from:
x1+x2=8 (x1=8-x2)
Hi,
I'm ploting some box-and-whisker plots with bwplot but I'm not getting
any box-and-whiskers ... just dots.
I'm using lattice 0.9-16 with R 1.9.1.
Try
library(lattice)
rnorm(60)-vec1
rep(1:3,20)-vec2
rep(LETTERS[1:2],30)-vec3
bwplot(vec1~vec2|vec3)
Thanks
EJ
Try factor(vec2) in your bwplot() call.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ernesto Jardim
Sent: Friday, July 09, 2004 9:41 AM
To: Mailing List R
Subject: [R] Problem with bwplot
Hi,
I'm ploting some box-and-whisker plots with bwplot but I'm
Do you want this?
bwplot(as.factor(vec2) ~ vec1 | as.factor(vec3))
Ernesto Jardim wrote:
I'm ploting some box-and-whisker plots with bwplot but I'm not getting
any box-and-whiskers ... just dots.
I'm using lattice 0.9-16 with R 1.9.1.
Try
library(lattice)
rnorm(60)-vec1
rep(1:3,20)-vec2
What would be the purpose of a function/software to rewrite x1 in terms
of x2 ? Perhaps you could explain further how it might be of some use.
There is uniroot(), polyroot(), optimize(), nlm(), solve() and many
others that you want to look into.
On Fri, 2004-07-09 at 17:07, Stephane Dray wrote:
Yes,
It works.
Thanks
EJ
PS: It's inconsistent with boxplot, which works without making vec2 a
factor.
On Fri, 2004-07-09 at 17:36, Austin, Matt wrote:
Try factor(vec2) in your bwplot() call.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Is it possible to use R libraries in S?
Peter
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Dear all,
I'd like to use the Rmath library for calling R functions in C code. I have no any
experience in this. I am trying to read the Writing R extensions manual but with no
success. I searched the Web and archives but did not find appropriate example. To be
specific, I am looking for an
On Friday 09 July 2004 12:05, Ernesto Jardim wrote:
Yes,
It works.
Thanks
EJ
PS: It's inconsistent with boxplot, which works without making vec2 a
factor.
Yes, and that's a design decision. In particular, it's controlled by the
horizontal argument in panel.bwplot, which comes into
From: Ernesto Jardim
Yes,
It works.
Thanks
EJ
PS: It's inconsistent with boxplot, which works without making vec2 a
factor.
I think the problem is in the flexibility of bwplot. If `horizontal' is not
set explicitly, it tries to guess by testing whether `y' or `x' is factor.
It
This is not a direct answer to your question, but if all you want to do is
integrate a function numerically, you don't need to be doing it through R.
You should be able to find codes that you can use directly, such as quadpack
or even GSL. You may want to search on GAMS (Guide to Available
The Hmisc package has in its .First.lib function a verbose argument,
which I thought was the way to allow users to suppress certain messages,
by issuing library(Hmisc, verbose=FALSE). But I see that library( )
does not pass verbose to .First.lib. The default for verbose in Hmisc
is TRUE
Stephane Dray dray at biomserv.univ-lyon1.fr writes:
:
: Hello,
: I have search on R website but do not find any solution.
: I would like to know if R has some functionalities to produce analytical
results
: of equation. or more generally if it contains some functions to simplify
equation.
:
:
R:
I got a warning message when running the cor.test function using both
Spearman and Kendall rank correlations saying that the p-value may be
incorrect due to ties in the data. My data has 35 obs and one series has
6 pairs of ties. Does anyone know if this would likely have a great
effect
Is there anyway I can write a script which feed input datasource from stdin
and let R process it (maybe frequency report) then output the report to
stdout?
I can't seem to find much info on documentation or FAQ on this topic.
Thanks!
Soichi Hayashi
The easiest way would probably be to do the hack of creating a temporary
file to hold stdin, then call R to process that file. That would be easy
to do in a shell script.
If this really won't suffice, this older message might lead to something
useful:
Rd] R scripting patches for R-1.8.0
Neil
I think the original poster wanted to read data from stdin, not execute
an entire script from stdin; this works on many UNIX-like systems:
d - read.table(/dev/stdin, header=F);
Otherwise, for code, you can simply pipe (or redirect) to R from the
shell:
% R --vanilla --slave input outfile
Try the book Mixed-effects model in S and S-PLus by Pinheiro and Bates.
They have pretty good examples of code and analysis techniques to tackle
your data.
Francisco
From: Lars Peters [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [R] Mixed model ANOVA with a nested design
Date: Fri, 9 Jul
On 09-Jul-04 [EMAIL PROTECTED] wrote:
I got a warning message when running the cor.test function
using both Spearman and Kendall rank correlations saying that
the p-value may be incorrect due to ties in the data. My data
has 35 obs and one series has 6 pairs of ties. Does anyone
know if this
How about current.viewport()? (str(current.viewport()) to see the data
it contains)
Hadley
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
Thanks! That's what I was wanted to know.
Also, is there a similar way I can do read.table from a pipe?
For example, if there is a command that I am running to generate the
datasource, I want to read that data as it comes..
Thanks...
-Original Message-
From: Aaron J. Mackey
On Jul 9, 2004, at 5:41 PM, Hayashi Soichi - shayas wrote:
Also, is there a similar way I can do read.table from a pipe?
% command | R CMD BATCH --vanilla --slave input.R output
Where input.R is R code that contains a line similar to:
d - read.table(/dev/stdin)
On Fri, 9 Jul 2004, Marc Schwartz wrote:
On Fri, 2004-07-09 at 10:43, Dan Bolser wrote:
On Fri, 9 Jul 2004, Uwe Ligges wrote:
Dan Bolser wrote:
Hi, I have designed the following function to extract count frequencies
from an array of integers. For example...
# Tipical array
x -
EMV package is a package for k nearest neighbours prediction.
Goodluck ^^
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wayne Jones
Sent: Friday, July 09, 2004 12:07 AM
To: [EMAIL PROTECTED]
Subject: [R] k nearest neighbor prediction
Hi there fellow
Dear R users,
I am a mathematics postdoc at UC Berkeley. I have written a package
in a Computational Algebra System named Singular
http://www.singular.uni-kl.de
to compute the Maximum Likelihood of a given probability distribution over
several discrete random variables. This package gives
45 matches
Mail list logo