similar to: to convert a character string in time

Displaying 20 results from an estimated 200 matches similar to: "to convert a character string in time"

2010 Feb 04
2
2 dimensional interpolation from matlab to R
Hi everybody. i have 2 datasets : one with a long grid a lat grid and a bathymetry grid the second one only has the long and lat coordinates. So i want to know the bathymetry associated to the second dataset. I thought it was a good idea to do an interpolation between the two datasets. I find a script doing that on matlab but i want to do it on R. Do you how to do it? for ii =
2010 Jan 26
2
hdf files
hello, I have a problem to open an hdf file. i have downloaded the package 'hdf5' as it was advised on R seek. But when i try to load the file, the R console sends me an eror message: setwd("C:/Documents and Settings/Karine/Bureau/data/") #install.packages('hdf5') library("hdf5") sea_ice <- hdf5load("asi-s6250-20090704-v5i.hdf", load =
2010 Apr 07
1
kriging problem - very urgent
Hi everybody, I have a longitude vector and a latitude one. Associated to these coordinates, i have a matrix with some data at some coordinates but not all. Lon <- seq(136.025,144.975,0.05) Lat <- rev(seq(-66.975,-65.525,0.05)) dim(z) <- c(Lon,Lat) And i have tried to apply to these data a kriging function. But first i need to reshape these 3 variables to have a dataframe
2010 Feb 23
3
difference between date and times
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. _________________________________________________________________
2013 Jan 03
1
nls problem with iterations
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)) Thanks for your help, Cheers, Karine.
2010 Apr 26
2
plot dates
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 _________________________________________________________________ Consultez vos emails Orange, Gmail, Yahoo!, Free ... directement depuis HOTMAIL !
2013 Jan 04
2
(no subject)
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 in nls(y ~ exp(-b2 * b3^x), data = xy, algorithm = "plinear", start = c(b2 =
2010 Feb 03
4
contour function: changing colour according to different levels
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 _________________________________________________________________ [[elided Hotmail spam]] [[alternative HTML version deleted]]
2010 Apr 11
0
cluster analysis :: urgent
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 HEERAH Master 2 , océanographie et environnements marins Université Pierre et Marie Curie (Paris 6)
2003 Jan 03
1
Take care with codes()! (was type of representation)
Ahh yes, sorry about that. Here's the corrected snippet: # Create an Example Data Frame Containing Car x Color data carnames <- c("bmw","renault","mercedes","seat") carcolors <- c("red","white","silver","green") datavals <- round(rnorm(16, mean=10, sd=4),1) data <- data.frame(Car=rep(carnames,4),
2003 Jan 03
2
type of representation
Hi I have some data that i want to plot but i don't find how to do it. I have car types (bmw,renault,mercedes,seat ...), colors and a number for each car type-color relation.I want to come up with a matrix representation of cars vs colors where in each intersection i could set a dot proportional in size to my third variable. Can anybody give me a clue of hoe to come up with such
2011 Aug 25
2
Bold in expression in Y label
Hi all: I need to put bold font in the y label, which is an expression at the same time When putting font.lab=2 in plot, it only puts bold font for the x axis label.. what should I do? Thanks very much plot(jitter(c(1, 4, 7, 9, 11, 13), a=0.1), y = Bllim.m, xlab = "Week", ylab = expression(paste("B removal rate", " (mg/m"^{3}, "-d)")),font.lab=2, ylim =
2003 Nov 12
1
value of strptime in R 1.8.0
Dear R-people! I am using R 1.8.0, under Windows XP. What I want to do is a date conversion of a character column of a data frame and assign the result as a new column. Simple example: > x <- data.frame(a=c("yesterday","today","tomorrow"), b=I(c("20031111", "20031112", "20031113"))) # convert x$b from character to date: >
2007 Jul 18
1
Neuman-Keuls
hello, I have programmed this function to calculate the Neuman-Keuls test but I have a problem the function return an empty list and I don't know why. summary(fm1) E <- sqrt((summary(fm1)[[1]]["Residuals","Mean Sq"])/length(LR)) lst <- list() lst1 <- list() lst2 <- list() NK <- function (x) { if (length(x) == 2) { Tstudent <- t.test(subset(exple,
2013 Jan 16
4
Get a percent variable based on group
Dear all, I'd like to get a percentage variable based on a group, but without creating a new data frame. For example: data(iris) iris$percent <-unlist(tapply(iris$Sepal.Length,iris$Species,function(x) x/sum(x, na.rm=TRUE))) This does not work, I should have only three standard values, respectively for setosa, versicolor, and virginica. How can I do this? MANY THANKS, Karine
2003 Mar 08
0
RE: Text Rotation (was: Take care with codes()!)
I've just uploaded gregmisc_0.8.2.tar.gz to CRAN. It should show up in the package repository in a day or two. This version of the gregmisc package provides an enhanced 'balloonplot' function with 'rowsrt', 'colsrt' arguments to control rotation of the labels, and 'rowmar', 'colmar' to control the amount of space reserved for the labels. Here's
2003 Mar 08
0
RE: Text Rotation (was: Take care with codes()!)
You can use the graphics parameter "srt" to rotate displayed text by a specified number of degrees, e.g. srt=45 to put it on an angle, srt=90 to put it vertical. If you do this, may need to modify the call to text to increase ylim and change the plot location to give you more room. I'm working to update the 'balloonplot' function in the gregmisc package now to handle this
2004 Dec 13
1
NFS mount problem
Hi, We have a major problem using Samba to access NFS mounted directories. The directory in question is on a Snap server running OS 3, and Samba is running on a new Sun V250 running Solaris 9; the NFS directory is mounted using udp. The problems occur when trying to load a file, which causes the samba process to crash. Another process starts automatically, crashes and so forth. However, the
2006 Mar 18
0
No subject
Normally `codes' is not the appropriate function to use with an unordered factor. Use `unclass' or `as.numeric' to extract the codes used in the internal representation of the factor, as these do not assume that the codes are sorted. and this is one of the `normally' cases. Your code will only work correctly if the levels are in alphabetical order (in the locale
2012 Nov 21
0
BiodiversityR and box cox transformation
Hi all: I am trying to use the BiodiversityR package in Rcommander since I need to box-cox transform some data. However, even when trying with the example files, I get this error just after selecting the box cox transformation in the Menu, and Rcommander and Rstudio just shut down. What is it? What could I do? Thanks a lot The instruction at "0x00000001" referenced memory at