Displaying 20 results from an estimated 22 matches for "ptitbleu".
Did you mean:
ptit_bleu
2011 Feb 09
5
Problem with long number (from character to numeric class)
Hello,
I have a text file with one column containing long number but stored as
string.
I download the file with read.table (and colClass) and the first row of this
column is :
"095842087016731010"
As I need to make some calculations with these numbers, I tried to convert
them using as.numeric.
But then I get
as.numeric("095842087016731010")
95842087016731008
I understand
2010 Feb 15
3
executable R script under xp (to avoid migration toward Matlab or C++)
Hello,
I discovered R two years ago and thanks to the R-community I managed to
write some scripts to analyze my data stored in mysql databases.
The only problem is that I am the only one using R in the lab. Colleagues
mainly use Matlab (but not with mysql, only with text files) but regularly
come to me to get data treated with R-scripts !!!.
To allow the use of my scripts by other people, my
2010 Mar 12
2
looking for a package to solve current-voltage equation I=f(I)
Hello,
I'm looking for a R-package to solve such an equation :
http://n4.nabble.com/file/n1590462/iv.png
which is one current-voltage equation of a solar cell.
Thanks in advance,
Ptit Bleu.
--
View this message in context: http://n4.nabble.com/looking-for-a-package-to-solve-current-voltage-equation-I-f-I-tp1590462p1590462.html
Sent from the R help mailing list archive at Nabble.com.
2010 Jun 15
3
Problem with as.POSIXlt$hour
Hello,
In one of my functions, I need to extract the hour from a date.
For example:
as.POSIXlt("2010-03-27 02:00:00")$hour gives 2 as expected.
It works for all the dates I've tested except the following one which is in
my list of dates:
as.POSIXlt("2010-03-28 02:00:00")$hour which gives 0.
I don't understand why it doesn't work with this particular date.
Any
2011 Sep 23
2
Homography with R
Hello,
I would like to know if it exists a package including something equivalent
to this page:
http://www.developpez.net/forums/d740403/autres-langages/algorithmes/contribuez/image-geometrie-projective-homography/
http://www.developpez.net/forums/d740403/autres-langages/algorithmes/contribuez/image-geometrie-projective-homography/
I've searched with these keywords: R-project homography
2010 Nov 24
2
looking for the RMySQL package for R 2.12.0 under XP
Hello,
I convinced our new Ph student to work with R and I managed to convince the
guy in charge of the computer networks to install R 2.12.0 (we haven't the
admin rights).
I wanted to install on his computer the same packages I use (but I have R
2.11) and especially RMySQL.
Problem : there is no more RMySQL package in the list pf the packages.
I've tried to install my version but it is
2011 Dec 15
2
lm and R-squared (newbie)
Hello,
I've two data.frames (data1 and data4), dec="." and sep=";".
http://r.789695.n4.nabble.com/file/n4199964/data1.txt data1.txt
http://r.789695.n4.nabble.com/file/n4199964/data4.txt data4.txt
When I do
plot(data1$nx,data1$ny, col="red")
points(data4$nx,data4$ny, col="blue")
, results seem very similar (at least to me) but the R-squared of
2009 Dec 04
1
Problem with date x-axis
Hello,
I have a "friday" problem.
I'm trying to plot the number of measures by day with this command between
the 2008-07-31 and the 2009-11-13 (it works) :
plot(unique(as.Date(strptime(data$date, format="%Y-%m-%d %H:%M:%S))),
measuresbyday)
then I would like to plot vertical lines for each month.
But it doesn't work because
par()$usr gives
14071.16 14579.84 -7.16 213.16
2011 Nov 10
1
newbie's question : xyplot legend with a white background
Hello,
Sorry in advance for adding a silly question on this forum but I haven't
found the right keywords to find a solution to this basic problem.
I'm just looking a way to have a white background behind the legend to hide
the grid.
Thanks in advance.
The silly example for my silly question:
xyplot(1~1,
panel = function(x,y, ...) {
panel.xyplot(x,y)
2009 Dec 11
1
lattice - 2 graphs per panel with 2 differents colours
Hello,
I would like to get a lattice plot of 8 panels (unique(df$fact)=8) with 2
graphs (df$y1 and df$y2 as a function of df$x) and 1 red point at (500,
ymax) per panel.
The script below is quite ok but I'm not able to define two different colors
for the two graphs.
If you have an idea how to use the "col" function in order to attribute the
colors, it will be very kind of you to
2012 Jun 13
2
add horizontal reference lines in lattice bwplot
I'm plotting a lattice bwplot from a data.frame and would like to add some horizontal lines indicating some reference values (preferably with text annotation) as well as a grid of regular log tics. The following illustrates the plot:
data(ToothGrowth)
require("lattice")
p = bwplot(exp(len) ~ supp, ToothGrowth,
panel = function(..., box.ratio) {
panel.grid(h=-1,
2012 Jun 28
1
add constraints to nls or use another function
Hello,
I'm trying to fit experimental data with a model and nls.
For some experiments, I have data with x from 0 to 1.2 and the fit is quite
good.
But it can happen that I have data only the [0,0.8] range (see the example
below) and, then, the fit is not correct.
I would like to add a constraint, for example : the second derivative must
be positive.
But I don't know how to add this to
2010 Nov 30
2
xyplot : superimposed 2 groups in different panels
Hello,
I would like to plot the following xyplot : for each date of fff (1 date per
panel), bbb=f(aaa) for the two groups (ddd=1 and ddd=2) superimposed.
I can do it by group (see below) but not together.
I looked at http://lmdvr.r-forge.r-project.org/figures/figures.html but I
haven't found what I was looking for (to be honest, I haven't understood all
the examples).
Any help will be
2010 Nov 19
3
Still confused with lapply
Hello,
I would like to replace a for loop with lapply in order to speed up the
treatment of my data (I've read lapply can help to do it).
At the end of the message, you will find a simple example (function is more
complex and data frames is more than 1 million of rows) of what I would like
to do, that is applying the same calculation to all the rows of the data
frame (knowing that I cannot
2011 Sep 24
1
help
...imum
> likelihood (Steven Craig)
> 37. Re: How to turn a LaTeX Sweave file (Rnw) into
> .HTML/.odf/.docx? (under windows) (Frank Harrell)
> 38. spatstat => owin + image (tkdweber)
> 39. tikzDevice install problem (Helena Pe?a)
> 40. Homography with R (PtitBleu)
> 41. Re: identifying cells in data frames with the same value
> (stevesp101)
> 42. [R-pkgs] new package 'SeleMix' for selective editing
> (Teresa Buglielli)
> 43. Re: tikzDevice install problem (Uwe Ligges)
> 44. sorting multiple columns of a ma...
2011 Jan 22
0
how to call BayesX in R to see the graph
...tp://decisionstats.com
[[alternative HTML version deleted]]
------------------------------
Message: 85
Date: Sat, 22 Jan 2011 08:58:11 +0100 (CET)
From: Sascha Vieweg <saschaview@gmail.com>
To: Spencer Graves <spencer.graves@structuremonitoring.com>
Cc: r-help@r-project.org, PtitBleu <ptit_bleu@yahoo.fr>
Subject: Re: [R] Accessing MySQL Database in R
Message-ID: <alpine.OSX.2.00.1101220856040.18654@dngan>
Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed
I think this is not an R issue, but one of MAMP. On my server's
sql service, I can connect using passwo...
2011 Feb 01
1
sqlsave and mysql database with autoincremental column
Hello,
I'm trying to modify my r-script to use RODBC instead of DBI/RMySQL (no more
ready-to-use package for windows).
I would like to copy a data.frame of 44 columns to a table of 45 columns
(the 45th is an autoincremental column).
With the following commands,
colnames(df)<- a vector with the names of the 44 columns
2011 Feb 04
0
RODBC : how to avoid truncatig big integer when using sqlsave
Hello,
I'm still trying to modify my script in order to use RODBC instead of RMySQL
(no more ready-to-use package for windows).
My new problem is the following one (not seen with RMySQL):
I'd like to copy a data.frame to a mysql table. One column is a numeric one
with big integer like :
2005000206110 (13 figures)
If I type this number in R, I get:
2.005e+12
and when I use sqlSave to
2011 Jul 27
2
RODBC sqlSave problem with bigint numbers
Hello,
After a (bad) first try some months ago, I'm trying again to use RODBC
package instead of DBI+RMySQL packages to populate MySQL database.
The main command is
sqlSave(channel, data_df, tablename, append=T, rownames=FALSE,
colnames=FALSE, fast=FALSE, varTypes=vartypes)
where data_df is the data.frame I want to save and vartypes is obtained
following the tip given here
2011 Oct 25
0
How to find seasonal effect and trend from raw data (newbie ...)
Hello,
>From the data provided in the attached file, I would like to find the
seasonal effect and the trend (if there are some) like in page 10 of the
following document:
http://www.statoek.wiso.uni-goettingen.de/veranstaltungen/zeitreihen/sommer03/ts_r_intro.pd
http://www.statoek.wiso.uni-goettingen.de/veranstaltungen/zeitreihen/sommer03/ts_r_intro.pd
f
Small problem: I don't know how to