Re: [R] how to change the color of the regression line when using effect function

2014-01-12 Thread karine heerah
Hi all, Do you know how to change the color of the regression line, confidence interval etc. when plotting the "effect" function: library(effects) plot(effect("explanatory variable", model.name),xlab,ylab) I tried to include the "col" argument of the plot function but it didn't work. Than

[R] how to change the color of the regression line when using effect function

2014-01-12 Thread karine heerah
Hi all, Do you know how to change the color of the regression line, confidence interval etc. when plotting the "effect" function: plot(effect("explanatory varible", model.name),xlab,ylab) I tried to include the "col" argument of the plot function but it didn't work. Thanks,Karine

[R] (no subject)

2013-01-04 Thread Karine HEERAH
Hi, I am using the nls function and it stops because the number of iterations exceeded 50, but i used the nls.control argument to allow for 500 iterations. Do you have any idea why it's not working? fm1 <- nls(npe ~ SSgompertz(npo, Asym, b2, b3), data=f,control=nls.control(maxiter=500)) Error i

[R] nls problem with iterations

2013-01-03 Thread Karine HEERAH
Hi, I am using the nls function and it stops because the number of iterations exceeded 50, but i used the nls.control argument to allow for 500 iterations. Do you have any idea why it's not working? fm1 <- nls(npe ~ SSgompertz(npo, Asym, b2, b3), data=f,control=nls.control(maxiter=500)) T

[R] plot dates

2010-04-26 Thread karine heerah
hi everybody, How can you plot some dates? I mean how can i have the tickmarks with the label of each date on my x axis? The dates i use are in POSIXct format, i don't know if it matters. thanks a lot Karine __

[R] cluster analysis :: urgent

2010-04-11 Thread karine heerah
hi, how can i do cluster analysis on spatial data? (longitude & latitude) Because i used the function clust of the clustTool package and it did'nt work at all: cl <- clust(dv,3,method="hclustAverage",distMethod="euclidean") thanks a lot Karine H

[R] kriging problem - very urgent

2010-04-07 Thread karine heerah
n (gstat package). It gives me a dataframe, and i want a matrix for the prediction. How can i do that, in order to plot it with the image function after. Thanks a lot Karine HEERAH Master 2 , océanographie et environnements marins Université Pierre et Marie Curie (Paris 6) 42 rue Salvador Allen

[R] add sd to a plot

2010-03-29 Thread karine heerah
Hi, I would like to add sd bar to an existing plot. How can i do that? For example: library("MASS") x <- rnorm(100) mean <- mean(x) sd <- sd(x) plot(mean) ## How can i add the sd bar around the mean point? thanks a lot Karine HEERAH Master 2

[R] difference between date and times

2010-02-23 Thread karine heerah
Hi, I have date and time in a format like this: " 2007-02-21 05:19:00". Do you which function i can use to derterminate the difference in time between this value and an other one. For exemple: this one : 2007-02-21 05:19:00 and this one : 2007-02-20 14:21:53 Thanks a lot, Karine H

[R] 2 dimensional interpolation from matlab to R

2010-02-04 Thread karine heerah
find a script doing that on matlab but i want to do it on R. Do you how to do it? for ii = 1:length(seal_dive_depth07) seal_bathy_depth07(ii) = interp2(long,latg,A,seal_lon07(ii),seal_lat07(ii)); end Karine HEERAH Master 2 mention "océanographie et environnements marins"

[R] hdf files

2010-02-03 Thread karine heerah
udeLatitudeGrid-s6250-Antarctic.hdf", load = > TRUE, verbosity = 3, tidy = FALSE) hdf5_global_verbosity=3 load=1 Erreur dans hdf5load("LongitudeLatitudeGrid-s6250-Antarctic.hdf", load = TRUE, : unable to open HDF file: LongitudeLatitudeGrid-s6250-Antarctic.hdf Thanks a l

[R] make a grid with longitude, latitude and bathymetry data

2010-02-03 Thread karine heerah
hi, i have a longitude vector (x) a latitude vector (y) and a matrix of bathymetry (z) with the dimensions (x,y). I have already succeeded in plotting it with the image.plot (package 'field') and the contour functions. But now, I want to make a grid in order to extract easily the bathymetry

[R] FW: to convert a character string in time

2010-02-03 Thread karine heerah
; > > but it didn't work. > > Do you know why? Do you know how i can convert my string character in a real > time? > > > > Thanks > > Karine HEERAH > > Master 2 mention "océanographie et envir

[R] to convert a character string in time

2010-02-03 Thread karine heerah
w i can convert my string character in a real time? Thanks Karine HEERAH Master 2 mention "océanographie et environnements marins", parcours océanique 42 rue Salvador Allende 9

[R] contour function: changing colour according to different levels

2010-02-03 Thread karine heerah
Hi everybody, I am using the contour function to draw isobares. And i would like to to bold contours for an interval of 500m and weak contour for an interval of 100m. Can someone help me with this? Thanks a lot Karine _

[R] make a grid with longitude, latitude and bathymetry data

2010-01-28 Thread karine heerah
hi, i have a longitude vector (x) a latitude vector (y) and a matrix of bathymetry (z) with the dimensions (x,y). I have already succeeded in plotting it with the image.plot (package 'field') and the contour functions. But now, I want to make a grid in order to extract easily the bathymetry c

[R] hdf files

2010-01-27 Thread karine heerah
udeLatitudeGrid-s6250-Antarctic.hdf", load = > TRUE, verbosity = 3, tidy = FALSE) hdf5_global_verbosity=3 load=1 Erreur dans hdf5load("LongitudeLatitudeGrid-s6250-Antarctic.hdf", load = TRUE, : unable to open HDF file: LongitudeLatitudeGrid-s6250-Antarctic.hdf Thanks a l

[R] hdf files

2010-01-26 Thread karine heerah
t;- hdf5load("LongitudeLatitudeGrid-s6250-Antarctic.hdf", load = > TRUE, verbosity = 3, tidy = FALSE) hdf5_global_verbosity=3 load=1 Erreur dans hdf5load("LongitudeLatitudeGrid-s6250-Antarctic.hdf", load = TRUE, : unable to open HDF file: LongitudeLatitudeGrid-s6250-Antarctic.hdf Tha