Displaying 20 results from an estimated 2000 matches similar to: "compatibility S-plus R: stepwise fonction"
2003 Aug 06
2
(no subject)
Hi everybody,
Hope your are not all on holyday because I've got a problem that is going to
drive me crazy...
I would like to remove some rows from a dataframe. The rows correspond to
some
specific indexes which I can get by looking at the name in the first column
of my dataset. But I manage to get only the opposite of what I really want
(function #1)
#Function#1:
2002 Sep 24
2
Iterative data.frame
Hi,
I would like to create data.frame and increment their name to finally merge
them.
Does anybody has a solution ?
Something like that ?
n<-6
for (i in 1:n) {
m[i]<-data.frame(name,value)
m<-merge(m[i]:m[n])
}
Nolwenn
********************************************
Nolwenn Le Meur
INSERM U533
Facult? de m?decine
1, rue Gaston Veil
44035 Nantes Cedex 1
France
Tel:
2002 Jun 17
2
layout() and postscript()
HI,
I would like to know if it's possible to create a postscript file with
multiple graphs . I'm creating some graphs by the means of a loop and I want
to save each graph in the same file (splitting making the device by the
number of graphs).
Do I have to use the par(matrix()) option, the layout() function or the
split.screen() one ?
Thanks
Nolwenn
2002 Oct 16
0
CGI and RSPerl
Hi,
Does anybody try to write CGI script using RSPerl package ?
I am interested in RWeb but that doesn't really do what I want.
In fact I would like the user to load the file to analyze; then a R program
will treat the data ,display resulting graphs and save results in text
files.
I have test the following script by John Barnett without success.
#!/usr/lib/R/bin/R.bin --source
2003 Jun 05
1
Logical vectors
Hi everybody,
just a quick question that drives me crazy:
Is it possible to "join" 2 logical vectors ?
i.e.
x<-4
ind <- 1:19200
pin <- c(0, rep(400, 48) * (1:48))
ind1<-((pin[j] + 1) <= ind) & (ind <= pin[j + 2])
ind2<-((pin[j+x] + 1) <= ind) & (ind <= pin[j+x + 2])
ind2 and ind1 give the right TRUE index
#but I would like something like that
2003 Nov 28
1
mark axis
Maybe a stupid question:
In a plot, which parameter(s) ables to visualize the axis like in a
coplot
where the axis is also visible in the plot background ?
Thanks
Nolwenn
********************************************
Nolwenn Le Meur
INSERM U533
Facult? de m?decine
1, rue Gaston Veil
44035 Nantes Cedex 1
France
Tel: (+33)-2-40-41-29-86 (office)
(+33)-2-40-41-28-44 (secretary)
2004 Apr 09
1
generating 00Index.html
Hi,
I've started to create the documentation of my package.
I've generate a pdf and the different html files from .Rd files.
However I don't know how to automatically generate the 00Index.html. Do I
have to write one in latex style and convert it or can I use the CONTENTS,
INDEX, or Rd files.
Thanks
Nolwenn
********************************************
Nolwenn Le Meur
INSERM U533
2002 Aug 23
2
axis() plot() - step
Hi,
Stupid question I guess but I can't figure out how to have a span of 0.5
instead of 1 in my graph.
Actually, I want to create a plot with x(-2,2) and y(-2,2) and an step of
0.5 along the axis.
Does somebody can help me ? Is it in par(), axis() or plot() that I have to
add something ?
Thanks
Nolwenn
*------------------------------------------*
Nolwenn Le Meur
INSERM U533
Facult? de
2002 May 30
3
savePlot without displaying it
Hi,
I would like to save a plot without opening the device window (no display).
Is it possible ? How can I do it ?
Thanks
Nolwenn
*------------------------------------------*
Nolwenn Le Meur
INSERM U533
Facult? de M?decine
1, rue Gaston Veil
44035 Nantes cedex 1
t?l: +33(0)2-40-41-29-86
fax: +33(0)2-40-41-29-50
e-mail: nolwenn.lemeur at nantes.inserm.fr
2002 Dec 19
1
lattice and display
Hi,
I have just started using lattice and it looks great. But I already have 3
questions about xyplot display.
----------------------------------------------------------------------------
---------------------------------
1.I would like to create two differeny xyplot with different color to
identify my different groups but I have trouble applying colors.
Here are the scripts
2004 Jul 21
2
fonction Getvar
Hia ....
i try to use the fonction Getvar of asterisk to get a variable myDNIS
that i have define. i use it as follow
Action: Getvar
Channel: SIP...
Variable: myDNIS
but asterisk don't know it .i have the response as follow
Response: Error
Message: Invalid/unknown command
does everybody meet this problem . i try all possible combination and
nothing
help please ..!! :-(
thanks in advance
2009 Jan 24
1
fonction PLATEAU???
Hello,
I am working on extracting data from sound recording (fee bee song of the black-capped chickadee). I obtained a two column matrix with x=time(s) and y=frequency(khz). The part of the recording that is interesting me is when the frequency is stable. Does somebody ever used a fonction that extract only constant data among a huge list of data (sample= 180000)?
Thanks
Thibault Grava
2011 May 16
1
Inverse autocorrelation fonction
I've been looking for an IACF() procedure in R for a long time (it's a very
convenient function to check for overdifferencing time series), and
eventually decided to write my own function. Here's what I came up with :
3 web-pages helped me estimate it :
http://www.xycoon.com/inverse_autocorrelations.htm
2009 Oct 22
1
What happen for Negative binomial link in Lmer fonction?
Dear R users,
I'm performing some GLMMs analysis with a negative binomial link.
I already performed such analysis some months ago with the lmer() function but when I tried it today I encountered this problem:
Erreur dans famType(glmFit$family) : unknown GLM family: 'Negative Binomial'
Does anyone know if the negative binomial family has been removed from this function?
I really
2009 Oct 26
1
What happen for negative binomail link in lmer() fonction?
Dear R users,
I’m performing some GLMMs analysis with a negative binomial link.
I already performed such analysis some months ago with the lmer() function
but when I tried it today I encountered this problem:
*Erreur dans famType(glmFit$family) : unknown GLM family: ‘Negative
Binomial’*
Does anyone know if the negative binomial family has been removed from this
function?
I really appreciate any
2009 May 07
1
I updated/reinstalled ggplot2 and the trouble started...
Hi Ian,
Per your suggestion, I reinstalled R 2.9.0, then
I reinstalled ggplot2 on top. The problem persists.
Here's the what happens after the installation:
> qplot (carat, price, data = diamonds, alpha = I(1/10))
Warning message:
In grid.Call.graphics("L_points", x$x, x$y, x$pch, x$size) :
semi-transparency is not supported on this device: reported only once per
2010 Apr 02
1
Plots don't update with xlab, etc. What am I doing wrong.
Hi,
I've been struggling with this problem the last few days and finally
discovered it's happening at a very fundamental level. Going through
Stephen Turner's tutorial on ggplot2, I entered these base graphics
commands:
> with(diamonds, plot(carat,price))
> with(diamonds, plot(carat,price), xlab="Weight in Carats",
ylab="Price in USD",
2009 Mar 02
3
ways to put multiple graphs on single page (using ggplot2)
Hi, Here are three plots:
library(ggplot2)
data(diamonds)
randind <- sample(nrow(diamonds),1000,replace=FALSE)
dsmall <- diamonds[randind,]
qplot(carat, data=dsmall, geom="histogram",binwidth=1)
qplot(carat, data=dsmall, geom="histogram",binwidth=.1)
qplot(carat, data=dsmall, geom="histogram",binwidth=.01)
What are ways to put these three plots on a single
2011 Jun 01
1
Plotting from functions
I can plot to png's fine when i run this directly from the top-level
script/console:
png('diamonds.png');qplot(carat,price,data=diamonds);dev.off()
But for some reason it's not working when that's in a function:
(function(){png('diamonds.png');qplot(carat,price,data=diamonds);dev.off()})()
I suspect this is because the qplot's return value must be
2011 Sep 30
2
ggplot2 - extracting values of smooth
Suppose that I'm working on Hadley's diamond dataset and I want to
review the relationship between price, colour and carat.
I might run the following:
library(ggplot2)
#plot scatter and add some hex binning
q<-qplot(carat,price,data=diamonds, geom=c("hex"),
main="Variability of Diamond Prices by Carat and Colour")
#facet to get one scatter for