> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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, reproducible code.
--
ntent and paste the content on a virgin sheet.
If you need this code because it is homework, you should first try
yourself and propose some code that produces error or unwanted results.
We are not here to do your homework.
Sincerely
Marc
--
without context: why
p.values are dependent ? Do they come from the same dataset ? Or are
they linked by an external source ? For both these situations, combining
dependent p.values seems strange for me.
When you will ask question in stackexchange, be more precise.
Sincerely,
Marc Girondot
;symbol' d'indice incorrect
I don't see if this difference is noted is the list of changes:
http://cran.r-project.org/doc/manuals/r-devel/NEWS.html
If it is not a bug but a feature, what is the new way to get the list
element name within a lapply or mclappy functio
Dear list-members,
Since I update gdata library to 2.16.1 version this morning, I have an
error on the two macs I use (details on system and R versions at the end).
When I load the package, I have this error:
> library("gdata",
lib.loc="/Library/Frameworks/R.framework/Versions/3.2/Resources/
Dear members,
I have submitted to CRAN a new version of a package yesterday after
checking it "as cran" with the lastest 3.2.1 R version and no error was
reported.
The command I used was: R CMD check 'xxx/HelpersMG' --as-cran
However, I received reports from CRAN maintainers that I should add
" and you need to install a
> more recent one.
>
> Henrik
>
> On Jun 29, 2015 1:49 AM, "Marc Girondot" <mailto:marc_...@yahoo.fr>> wrote:
>
> Dear members,
>
> I have submitted to CRAN a new version of a package yesterday
> after
Le 22/02/2015 19:28, CHIRIBOGA Xavier a écrit :
Dear all,
I attempted to transform my data using "asin" but a WARNING message appears:
dat1$Abu.tr<-asin(sqrt(dat1$Abundance/100))
Warning message:
In asin(sqrt(dat1$Abundance/100)) : NaNs produced
What does it mean? Is it a problem? How ca
Le 22/02/2015 19:28, CHIRIBOGA Xavier a écrit :
Dear all,
I attempted to transform my data using "asin" but a WARNING message appears:
dat1$Abu.tr<-asin(sqrt(dat1$Abundance/100))
Warning message:
In asin(sqrt(dat1$Abundance/100)) : NaNs produced
What does it mean? Is it a problem? How ca
quot;, subtext) # return 1980
subtext <- "bla 2010 bla"
sub(pattern.year, "\\1\\2", subtext) # return 2010
subtext <- "bla 1010 bla"
sub(pattern.year, "\\1\\2", subtext) # return bla 1010 bla
subtext <- "bla 3010 bla"
sub(pattern.year, "
Dear list members,
My question concerns the use of system() in R version 3.1.1 patched and
MacosX 10.9.4.
I want capture the result of a system command without displaying error
message. I give exemple.
In terminal, if I do this command:
find $HOME -type f -name 'PuertoSanJose.csv'
I get the
27;", stderr = FALSE, stdout=TRUE),
envir=globalenv()), silent=TRUE)
> pathfile
[1] ""
> try({pathfile <<- system2(command="find", args="$HOME -type f -name
'PuertoSanJose.csv'", stderr = FALSE, stdout=TRUE)}, silent=TRUE)
> pathfi
Le 01/10/2014 13:11, കുഞ്ഞായി kunjaai a écrit :
Dear all,
I am trying to open a netcdf file with size 1.2 MB contains more than
3000 variables using 'netcdf' package.
I am facing problem that it taking more than 10 minute to open this small
nc file.
Is any way to make it fast ?
Have yo
======
downloaded 741 Kb
It works well.
It seems at .tgz is not available in CRAN mirror. It is normal ?
Is it a way to force .tar.gz to be used ?
Thanks
Marc Girondot
__
R-help@r-project.org mailing
Is it what you want?
> st <- "0.123-"
> gsub("(.+)(-)", "\\2\\1", st)
[1] "-0.123"
> st <- "0.123"
> gsub("(.+)(-)", "\\2\\1", st)
[1] "0.123"
Sincerely
Marc
Le 20/10/2014 09:03, PIKAL Petr a écrit :
Dear all.
Before I start fishing in (for me) murky regular expression waters I try to ask
co
Look at here for an example using an encoding in knitr:
http://max2.ese.u-psud.fr/epc/conservation/Girondot/Publications/Blog_r/Entrees/2014/9/4_symbol_in_knitr.html
Sincerely
Marc
Le 22/10/2014 02:45, moon...@posteo.org a écrit :
Of course I manage and write my tex-files in unicode (utf-8) (r
Dear member list,
In many experimental sciences, there is a lower detection limit (LDL)
when a dosage of a product is done. Then some samples are evaluated to
be below this limit.
I search for the best way to indicate in a data.frame that some values
are such LDL. Ideally, an equivalent of NA
essai*.txt")
read Function used to read file. Ex: read.delim or read.xls from gdata
package
... Parameters send to the read function
Sincerely,
Marc Girondot
2. What function to use to coerce character string into numeric?
As a help to others, I figured out to use setwd("C:/&
Le 13/11/2014 01:26, MacQueen, Don a écrit :
Along the lines of what Bert Gunter said, the ideal way to represent I agree that LDL is a special case of what could be named ODL (Out of
detection limit).
To answer to Bert Gunter, indeed if LDL (or ODL) values are changed into
NA, the results will
Bonjour, (don't worry, after I will write in English [at least I will
try ;) ])
I try to understand better mixed models and then I have generated data
and I try to understand how the fixed and the random effects are used in
predict(). I understand when the random effect is of the form (1 | rf]
Try this:
# install package HelpersMG from CRAN including dependencies
install.packages("HelpersMG")
# Update to the lastest version
install.packages("http://www.ese.u-psud.fr/epc/conservation/CRAN/HelpersMG.tar.gz";,
repos=NULL, type="source")
# Use the function read_folder()
library("Helpers
Hi Eike,
I didn't know how to do, so it was a nice exercise. Here is a solution
using plot(). I have made a function plot.break(); the name of
parameters of the function are self-explained (I think), but tell me if
you need more explanation.
You can add any parameters of the plot() function.
egend), "panel")
# And draw both
g <- ggplotGrob(p)
g <- gtable_add_rows(x = g, heights = unit(2, "cm"), pos = 0)
g <- gtable_add_grob(g, gl, t = 2, l=4, b=1, r=4)
grid.newpage()
grid.draw(g)
Le 24/10/2016 à 13:08, Marc Girondot via R-help a écrit :
Hello everybody
_
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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, reproducible code.
code for Australia, after the same code for France with the display
problem.
Thanks a lot for any advice on the reason for the discrepancy.
Marc Girondot
### For Australia
library(mapdata)
outline <- map("worldHires", regions="Australia", exact=TRUE,
plot=
r
x <- 1:100
plot_errbar(x=1:100, rnorm(100, 1, 2),
xlab="axe x", ylab="axe y", bty="n", xlim=c(1,100),
x.minus=x-2, x.plus=x+2)
Sincerely
Marc Girondot
Le 12/08/13 15:41, Hedera a écrit :
> Hello,
>
>
.
You should read the posting guidelines.
http://www.r-project.org/posting-guide.html
Give a reproducible example to show what you try to do and why it does
not work.
Sincerely
Marc Girondot
--
__
Marc Girondot, Pr
Laboratoire Ecologie
3.43’
* checking CRAN incoming feasibility ... OK
Maintainer: ‘Marc Girondot ’
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for executable files ... OK
* checkin
Le 02/01/13 16:03, Uwe Ligges a écrit :
On 02.01.2013 11:58, Marc Girondot wrote:
I use R 2.15.2 on MacosX 10.8.2
I have a problem checking for a package that I want to submit in CRAN.
When I check like that, no problem or warning are detected.
system("R CMD check '[path]/pheno
Le 02/01/13 17:38, Uwe Ligges a écrit :
On 02.01.2013 17:28, Marc Girondot wrote:
Le 02/01/13 16:03, Uwe Ligges a écrit :
On 02.01.2013 11:58, Marc Girondot wrote:
I use R 2.15.2 on MacosX 10.8.2
I have a problem checking for a package that I want to submit in CRAN.
When I check like
ks fine with the spaces if the check is done without the
--as-cran option. Confusing !
Thanks a lot for your help,
Marc
--
______
Marc Girondot, Pr
Laboratoire Ecologie, Systématique et Evolution
Equipe de Conservation des Populations et des Co
not what I expected. Plot with date object seems to use a special way
to generate ticks.
Thanks a lot
Marc
--
__
Marc Girondot, Pr
Laboratoire Ecologie, Systématique et Evolution
Equipe de Conservation des Populations et des Communautés
C_TIME", locale="")
[1] "fr_FR.UTF-8"
Thanks a lot
Marc
(I post the solution on the list as I have had some difficulties to find
the good format for locale parameter. It could help others)
Le 15/01/13 07:41, Pascal Oettli a écrit :
Hello,
?Sys.setlocale
HTH,
Pasc
ol/10, bty="n")
plot(x, y, col=nbcol[128-zcol], pch=".", cex=10, bty="n")
Sincerly
Marc
--
__
Marc Girondot, Pr
Laboratoire Ecologie, Systématique et Evolution
Equipe de Conservation des Populations et des Com
elp
> will be greatly appreciated!
>
>
Look at the package fields:
?colorbar.plot
Marc
--
__
Marc Girondot, Pr
Laboratoire Ecologie, Systématique et Evolution
Equipe de Conservation des Populations et des Communautés
CNRS, AgroParisTech et
myColorRamp(c(topo.colors(10)),z)
> scatterplot3d(x,y,z, pch=16,color=cols, grid=FALSE, box=FALSE)
> zr<- range(c(z))
> image.plot(legend.only=TRUE,col=cols, zlim=zr)
>
> I wanted to have a color ramp legend based on z on the side of the plot.
>
> I'll great
ing-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
__
Marc Girondot, Pr
Laboratoire Ecologie, Systématique et Evolution
Equipe de Conservation des Populations et des Communautés
CNRS, AgroParisTech et Univers
nth)201103`\""
> cat(x)
"`Year_Month)201103`"
> cat(gsub("`", "", x))
"Year_Month)201103"
Sincerely
Marc
--
__
Marc Girondot, Pr
Laboratoire Ecologie, Systématique et Evolution
Equipe de Co
information. For example:
https://a-little-book-of-r-for-bioinformatics.readthedocs.org/en/latest/src/chapter1.html
Sincerely
Marc Girondot
--
__
Marc Girondot, Pr
Laboratoire Ecologie, Systématique et Evolution
Equipe de Conservation des
is a bivariate from a matrix object:
fungal <- matrix(c(12, 54, 65, 76, .2, .6, .1, .7), nrow=4)
plot(fungal, xlab="Abondance", ylab="Frequency", bty="n", xlim=c(0,80))
(I don't understand the difference between relative abondance and
0.083
MOTU16 0.0590.167
MOTU17 0.0340.083
MOTU18 0.0490.083
MOTU19 0.0840.333
MOTU20 0.0150.083
MOTU21 0.0590.083
MOTU22 0.0320.167
MOTU23 0.1420.250
MOTU24 0.0310.083
MOTU25 0.0340.083
MOTU29 0.0100.083
MOTU3
help!
thanks,
Z
--
______
Marc Girondot, Pr
Laboratoire Ecologie, Systématique et Evolution
Equipe de Conservation des Populations et des Communautés
CNRS, AgroParisTech et Université Paris-Sud 11 , UMR 8079
Bâtiment 362
91405 Orsay Cedex, France
Tel: 33 1 (0)1.69.15.72.3
//www.bing.com";),
stringsAsFactors = FALSE)
cat("Choose an option:\n", paste(1:2, links[,1],"\n"))
f<-scan(nmax=1, quiet=TRUE)
browseURL(links[f,2])
Sincerely
Marc
--
__
Marc Girondot, Pr
;String">http://www.google.com
Sincerely
Marc
--
______
Marc Girondot, Pr
Laboratoire Ecologie, Systématique et Evolution
Equipe de Conservation des Populations et des Communautés
CNRS, AgroParisTech et Université Paris-Sud 1
ngth=100),
result2$par[3], result2$par[4]), col="blue")
Sincerely
Marc Girondot
--
__
Marc Girondot, Pr
Laboratoire Ecologie, Systématique et Evolution
Equipe de Conservation des Populations et des Communautés
CNRS,
Take a look at this package:
http://www.rstudio.com/shiny/
Sincerely
Marc Girondot
Le 19/03/13 00:55, John linux-user a écrit :
> Dear all,
>
> I am wondering if what would be the simple way to develop a simple web
> application that runs R. That is, the web application allows any
lt;- density(myd)$y
d1x <- density(myd1)$x
d1y <- density(myd1)$y
polygon(d0x, d0y, col="red", border=FALSE)
polygon(d1x, d1y, col=rgb(0, 1, 0, 0.5), border=FALSE)
--
__
Marc Girondot, Pr
Laboratoire Ecologie, Systématique
d with
the as.numeric.
Perhaps with
n<-as.numeric(df[a,b])
)] are reversed
Marc
--
__
Marc Girondot, Pr
Laboratoire Ecologie, Systématique et Evolution
Equipe de Conservation des Populations et des Communautés
CNRS, AgroParisTech et Unive
Le 30/03/13 09:08, 水静流深 a écrit :
how can i draw the graph in R?
Can you ask a more precise question and show that you have tried to do
something before asking such a general question: How the world has been
created...
Sincerely
Marc Girondot
-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, reproducible code.
library("fCopulae")
?rmvst
Sincerely
Mar
?
And thanks a lot for all the programmers and maintainers for this great
software.
Sincerely,
Marc Girondot
--
__
Marc Girondot, Pr
Laboratoire Ecologie, Systématique et Evolution
Equipe de Conservation des Populations et des Communautés
"n", las=1)
axis(1, at=seq(from=as.Date("2000-01-01"), to=as.Date("2006-12-31"),
by="1 month"), label=FALSE)
axis(1, at=seq(from=as.Date("2000-01-01"), to=as.Date("2006-12-31"),
by="1 year"), lwd.ticks=2, label=c(2000:200
axt="n", las=1)
axis(1, at=seq(from=as.Date("2000-01-01"), to=as.Date("2006-12-31"),
by="1 month"), label=FALSE)
axis(1, at=seq(from=as.Date("2000-01-01"), to=as.Date("2006-12-31"),
by="1 year"), lwd.ticks=2, label=FALSE, lwd=
erely
Marc Girondot
--
__
Marc Girondot, Pr
Laboratoire Ecologie, Systématique et Evolution
Equipe de Conservation des Populations et des Communautés
CNRS, AgroParisTech et Université Paris-Sud 11 , UMR 8079
Bâtiment 362
91405 Orsay Cedex, F
I make an example for the use of this package here:
http://max2.ese.u-psud.fr/epc/conservation/Girondot/Publications/Blog_r/Entrees/2013/2/26_Using_package_RNetCDF_with_SST.html
Sincerely
Marc Girondot
Le 12/04/13 17:39, Enhao Du a écrit :
Hi, I'm new to R. I have some daily soil moisture
;- Sys.time()
k <- k+1
}
}
plot(1:999, diff(tm), bty="n", type="l", ylim=c(0, 0.05))
--
__
Marc Girondot, Pr
Laboratoire Ecologie, Systématique et Evolution
Equipe de Conservation des Populations et des Communautés
C
I have a problem with the RNetCDF package in MacOSX 10.8.3, R3.0.0.
If you have a solution, it would be great !
Thanks a lot.
Marc Girondot
> install.packages("RNetCDF")
essai de l'URL
'http://cran.at.r-project.org/bin/macosx/contrib/3.0/RNetCDF_1.6.1-2.tgz'
Cont
: .onLoad a échoué dans loadNamespace() pour 'RNetCDF', détails :
appel : NULL
erreur : I/O error (udunits)
Erreur : le chargement du package ou de l'espace de noms a échoué pour
‘RNetCDF’
Anybody have some info about what's happened ?
In MacOS
fect
(one for sin and one for cos). How can I combine these two p-values to
get a global effect of periodic effect ?
- If I want to setup interaction between periodic effect of "days" and
"covariate", how I can do as "days" appears in two effects (sin and cos) ?
Sincerely
Marc Girondot
--
__
Marc Girondot, Pr
Laboratoire Ecologie, Systématique et Evolution
Equipe de Conservation des Populations et des Communautés
CNRS, AgroParisTech et Université Paris-Sud 11 , UMR 8079
Bâtiment 362
91405 Orsay
ust at the time of package load (the package is not still in
CRAN; it is a work in progress with several testers).
Thanks a lot for your advice,
Marc
--
__
Marc Girondot, Pr
Laboratoire Ecologie, Systématique et Evolution
Equipe de Conser
install.packages("ncdf4", type="source")
ERROR: configuration failed for package ‘ncdf4’
* removing
‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ncdf4’
Warning in install.packages :
installation of package ‘ncdf4’ had non-zero exit status
Sincerely,
Mar
Le 06/04/2014 16:47, David W. Pierce a écrit :
Hi Marc,
those packages are just interfaces to the netcdf library that must
already exist on your machine. Try installing the netcdf library
first, and then installing the R package.
You will need the development version of the netcdf library in
and is better in my point of view. It will
prevent unwanted side effect in code.
Thanks a lot
Marc Girondot
__
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
Le 08/04/2014 04:20, David Doyle a écrit :
Hello folks,
When I use the lines function below it connects all my points but then
draws a line back to the start point. Any suggestions on what is going on??
mydata <-read.csv("http://doylesdartden.com/R/test_data.csv";, sep=",")
attach(mydata)
pl
Dear honorable list-members,
I know how to fit a truncated lognormal distribution (or Gaussian)
(example here:
http://max2.ese.u-psud.fr/epc/conservation/Girondot/Publications/Blog_r/Entrees/2012/5/24_Adjust_a_truncated_lognormal_distribution.html
) but I would like to use it in the context of
Dear list-members,
Can someone explains me why the last command gives an error. Thanks a lot:
> outer(0:1, 0:1, FUN=function(x, y) {x+y})
[,1] [,2]
[1,]01
[2,]12
> outer(0:1, 0:1, FUN=function(x, y) {x})
[,1] [,2]
[1,]00
[2,]11
> outer(0:1, 0:1, FUN=funct
You can try this:
http://max2.ese.u-psud.fr/epc/conservation/Girondot/Publications/Blog_r/Entrees/2013/6/4_GLM_with_periodic_(annual)_transformation_of_factor.html
Sincerely,
Marc
Le 13/05/2014 05:42, Ortiz-Bobea, Ariel a écrit :
Hello,
I'm trying to fit a sine curve over successive temperatu
I get
no answer still.
If anyone has solution, it would be great. Thanks.
Sincerely,
Marc Girondot
I make a very simplified version of the problem I have:
First, a version that works perfectly. It fits simply a Gaussian
distribution from a set of data:
# generate data from Gaussian
When two POSIXlt objects are combine with c(), they lost their tzone
attribute, even if they are the same.
I don't know if it is a feature, but I don't like it !
Marc
> es <- strptime("2010-02-03 10:20:30", format="%Y-%m-%d %H:%M:%S",
tz="UTC")
> es
[1] "2010-02-03 10:20:30 UTC"
> attributes(
, errbar.lwd = par("lwd"), errbar.lty = par("lty"),
errbar.col = par("fg"), errbar.y.polygon = FALSE,
errbar.y.polygon.list = list(NULL), add = FALSE)
It permits to plot errbar both on x and y.
Sincerely,
Marc Girondot
Le 19/07/2014 02:27, Ahmed Attia a écrit :
same with as.numeric:
as.numeric.essai <- function(x, ...) {return(x*2)}
as.numeric(d)
It does not work:
[1] 10
Is it possible ?
Thanks a lot
Marc Girondot
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read
I just discover the deriv function but I have a minor problem at the end
when using its result:
For example:
dx2x <- deriv(~ A*x^2, "x") ; dx2x
# it works fine:
# expression({
# .value <- A * x^2
# .grad <- array(0, c(length(.value), 1L), list(NULL, c("x")))
# .grad[, "x"] <- A * (2 * x)
# attr
Le 16/11/12 11:49, Meli Massimiliano a écrit :
Hello All,
i would fit my data with a function like this :
y = a0 + a1 * exp(-x/a2) + a3 * exp(-x/a4) + a5 * exp(-x/a6) + a7 *
exp(-x/a8) + a9 * exp(-x/a10)
plus i have to impose that
a1 + a3 + a5 + a7 + a9 = 1
a1 , a3 , a5 , a7 , a9 >= 0
The
.
Furthermore, there is a package "tree". Look inside and the example code
to know if it does what you want. After ask for specific questions.
Sincerely
Marc Girondot
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-h
)], a[2:l])}
If someone have another solution, I will be most happy !
Sincerely
Marc Girondot
--
______
Marc Girondot, Pr
Laboratoire Ecologie, Systématique et Evolution
Equipe de Conservation des Populations et des Communautés
CNRS, AgroPar
rely
Marc
--
__
Marc Girondot, Pr
Laboratoire Ecologie, Systématique et Evolution
Equipe de Conservation des Populations et des Communautés
CNRS, AgroParisTech et Université Paris-Sud 11 , UMR 8079
Bâtiment 362
91405 Orsay Cedex, France
Tel: 33 1 (0)1.69.15.72.30 Fa
command.
Sincerely
Marc Girondot
__
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, reproducible
are approximately 19.10^6 pages
with "linear model r" !
I will make a little publicity for the one I did: The mess of linear
regression.
http://129.175.106.17/epc/conservation/Girondot/Publications/Blog_r/Entrees/2014/1/3_The_mess_of_linear_regressions.html
Sincerely,
Mar
m=c(1,100),
errbar.x=2, errbar.y=rnorm(100, 1, 0.1))
Marc Girondot
Le 18/02/2014 16:57, Alzahrani, Ahmad K A a écrit :
Hi All,
Can anyone show me how to add a error bar to my graphs. I am currently using
this code
g<-ggplot(means,aes(x=variable,y=value))
g<-g+geom_bar(stat="iden
Dear list member,
I would like to include shiny code within a package. My idea was to
include a folder 'shiny' for example and to put in this folder the files
server.R and ui.R required for shiny as well as the css file and a
style.R file that call this css file.
Is it possible ?
When I call t
n the files of the folder (directory for
windows users)
Sincerely,
Marc Girondot
Le 20/03/2014 06:15, ajaykumar a écrit :
Hi I want to import around 75 files. Each file has a name and a time and is
comma separated.
For example some of my file names are
Asheville_Dec.txt
Asheville_Jan
(I posted this question in
http://stackoverflow.com/questions/22781965/interpreting-effect-of-ordered-categorical-predictor
without answer... I try here)
Thanks a lot
Marc
My question is very similar to this one
(https://stat.ethz.ch/pipermail/r-help/2012-March/305357.html) but I
fail to und
e fields.
Of course I read ‘Creating R packages’ of the ‘Writing R Extensions’
manual, but I can't find solution to this problem.
Thanks a lot,
Marc Girondot
--
______
Marc Girondot, Pr
Laboratoire Ecologie, Systématique et Evolut
Le 23/10/13 05:03, Marc Girondot a écrit :
Dear list members:
I try to check my updated package to include a new version in CRAN
(phenology) but a new error is indicated and I don't find the logic.
First my system:
* using R version 3.0.2 Patched (2013-09-27 r64011)
* using platform: x
lot(x, dgamma(x, shape=jagsr, rate=jagsmu), type="l", axes=FALSE,
col="red", xlab="", ylab="")
Probably something trivial is wrong but I do not see what.
--
__
Marc Girondot, Pr
Laboratoire Ecolo
quot;months"))-1
+ seeq
+ }
x <- c("1981-12-01")
y <- c("1990-05-01")
indicemonth <- num.months ( x , y )
Sincerely
Marc Girondot
--
__
Marc Girondot, Pr
Laboratoire Ecologie, Systématiqu
hat
non-linear optimization is a complex world !
Marc
--
__
Marc Girondot, Pr
Laboratoire Ecologie, Systématique et Evolution
Equipe de Conservation des Populations et des Communautés
CNRS, AgroParisTech et Université Paris-Sud 11 , UMR 8079
Bâtiment 362
91405 Orsay Ce
Le 28/10/11 00:29, RhoR a écrit :
I want to use
for (i in 1:time)
but I want the increments to be monthly.
For example, if I'm adding interest to a virtual bank account monthly, for a
total of 'time' in years which the user has entered.
If I understand well the problem:
for (i in 1:time) {
Le 27/10/11 22:18, Vinny Moriarty a écrit :
New user here. My goal is pull daily averages from a long dataset.
I've been working with some code I got from this list from
https://stat.ethz.ch/pipermail/r-help/2009-March/191302.html
The code how I have been using it is as follows:
library(zoo)
o it cannot be used to set
elements of vectors, names, attributes, etc.
I have found this solution:
> eval(parse(text=paste(name, "<-100", sep="")))
> vec
[1] 1 2 3 100 5 6 7 8 9 10
Is-it the only way ? It is not very elegant !
Thanks a lot
M
="BFGS", hessian=FALSE,
control=list(maxit=500, trace=1))
optim(par, fitNorm_error, method="BFGS", hessian=FALSE,
control=list(maxit=500, trace=1))
--
__
Marc Girondot, Pr
Laboratoire Ecologie, Systématique et Evolution
ld")
Erreur dans library("HelloWorld") :
‘HelloWorld’ n'est pas un nom correct de package installé
Whereas the Helloworld folder is available in the library folder with
other packages
/Library/Frameworks/R.framework/Versions/2.14/Resources/library/HelloWorld
--
__
’
(as ‘lib’ is unspecified)
> library("HelloWorld")
Erreur dans library("HelloWorld") :
‘HelloWorld’ n'est pas un nom correct de package installé
Whereas the Helloworld folder is available in the library folder with
other packages
/Library/Frameworks/R.framewo
:50 AM, Marc Girondot wrote:
>> In case someone has the competence to check, the file is here:
>>
>> setwd("~")
>>
>> download.file("http://www.ese.u-psud.fr/epc/conservation/r-scripts/HelloWorld_1.0.tar.gz";,
>>
>>
>> "H
110
6 101
7 011
41200
5 020
6100 2
--
__
Marc Girondot, Pr
Laboratoire Ecologie, Systématique et Evolution
Equipe de Conservation des Populations et des Communautés
CNRS, Agro
;noband", 6),
rep("band", 2
d<- data.frame(cbind(d, col3=c("[0.86]", "[0.93]", "[0.95]", "[0.91]",
"[0.89]", "[0.84]", "[0.89]", "[0.80]", "[0.75]", "[0.93]")))
as.numeric(g
7;t know why in this case the optim does not converge.
Hope it hepls,
Marc
--
______
Marc Girondot, Pr
Laboratoire Ecologie, Systématique et Evolution
Equipe de Conservation des Populations et des Communautés
CNRS, AgroParisTech et Université Par
We would like to fit parameters using a simulation with stochastic
processes as theoretical values. We generate a simple exemple with nls.lm
to see the logic and the problem:
First without stochasticity (it is a dummy example, the fited value is
simple the mean of a set of 10 numbers):
#Ten numbe
Le 18/12/2017 à 15:41, HATMZAHARNA via R-help a écrit :
Please could you tell me how to make code to make chi-square
distribution table?
Please help
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/lis
1 - 100 of 186 matches
Mail list logo