similar to: transformation matrice of vector into array

Displaying 20 results from an estimated 10000 matches similar to: "transformation matrice of vector into array"

2008 Feb 12
3
regular expression for na.strings / read.table
Dear all, I am working with a csv file. Some data of the file are not valid and they are marked with a star '*'. For example : *789. I have attached with this email a example file (test.txt) that looks like the data I have to work with. I see 2 possibilities ..thast I cannot manage anyway in R: 1-first & easiest solution: Read the data with read.csv in R, and define as na strings
2007 May 24
6
Sum per hour
Dear all, I have a list of precipitation record and a list of time I would like to sum them up per hour, or per day. Does such a function exist ? example: time<-c("2000-10-03 14:00:00","2000-10-03 14:10:00","2000-10-03 14:20:00","2000-10-03 15:30:00","2000-10-03 16:40:00","2000-10-03 16:50:00","2000-10-03
2007 May 08
3
plot time series
[This email is either empty or too large to be displayed at this time]
2006 Sep 27
1
exponential fitting
Hi, I would like to fit some experimental points by a exponential function. I ignore the parameters of this exponential and what I would like is to ask R to calculate the best fitting curve an the associated parameters (as the linear model function (lm) does for linear models). Is it possible ? Do anyone have an idea about how to do that ? Thanks by advance Jessica Gervais [[alternative
2006 Sep 27
1
panel.curve
Hi, I am trying to fit experimental points by exponemtial curve my data are stored into a matrix data the first column is the geographical point (a number = data[,1] ) ( I would like to plot several graphes at the same time) the second column is the time of measurement (x in the plot) the third column is a speed (y in the plot) if we assume the point are folowing this exponential behaviour
2006 Oct 19
1
extract arguments from a list
Hi, I would like to know how to extract the arguments from a list : For example, I have a list of charchacter x x<- c("Bentazone","Atrazine","Epoxiconazol","Metolachlor","Epoxiconazol","Atrazine desethyl","Fenpropimorph","Epoxiconazol","Metolachlor","Simazine","Atrazine
2006 Oct 04
1
strip function
Hi, I would like to asign titles into strip of a panel of curves designed thanks to a xyplot function (lattice package) I ve tried the "strip" function, ... here is my code I would like to write in the strip of each panel conditionning varialbe (here, it is data[,1]) xyplot (data[,3] ~ data[,2] | data[,1] , strip.default (which.given=1, which.panel = c(1:15), var.name= c
2007 May 18
2
time series
Dear all, I am working with a data file which is the record of precipitation measurement normaly done every 10 minutes. I would like to check if there are missing times in my data file. Is there a function existing able to check for that in R ? Thanks by advance, Jessica
2007 Jun 06
1
spgrass6 and aggregation (bis)
Dear all, I have some additionale question concerning the spgrass6 package. * When you set a region in GRASS, does the readGRASS6 function in R only load data contained in the zoomed region or the whole map ? * When you have a MASK map in grass, does the readGRASS6 function in R only load data contained inside the MASK area ? Could this be the problem ? Thanks, Jessica
2009 Mar 20
1
Mean-replacing NAs in a 3d array
Hi all I have a 3d array containing missing values. > Xa , , 1 [,1] [,2] [1,] 1 3 [2,] NA 4 , , 2 [,1] [,2] [1,] 5 7 [2,] NA NA , , 3 [,1] [,2] [1,] 9 11 [2,] 10 12 I want to replace the missing values with the mean, but the mean of each 'page' in the array (wrong terminology I'm sure). So - for the array above - [2,1,2] and
2011 Dec 27
2
How to create a matrix with 3 dimensions from several 2 dimensional matrice?
Hi every one, How is it possible to create a matrix with 3 dimensions from several 2 dimensional matrice? Is it possible that each of "elementary/building block" matrices could be called by its corresponding original name? Thanks alot. -- View this message in context:
2007 Mar 27
1
gam parameter predictions --Sorry for double posting
R-help, Sorry for posting again the same question (dated 26-03-2007) but all my mails have been sent to the recycle bin without possibility of recovering and thus I don't know if anyone has answer my query. Here is the original message: I'm applying a gam model (package mgcv) to predict relative abundances of a fish species. The covariates are year, month, vessel and statistical
2006 Oct 03
1
postcript file / xyplot function [Broadcast]
This is FAQ 7.22. Lattice functions produce graphic objects, which are not displayed by default. If you print your graph, you should be fine. Also, take a look at the documentation for panel.xyplot. Using type = c("p", "r") should make things simpler. Regards, Matt Wiener -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at
2003 Feb 26
4
Port Forwarding
Is ''port forwarding'' a relatively new thing with packet filtering? Or has it always been available since iptables appeared on the scene. --- Ted Gervais Coldbrook Nova Scotia Canada B4R1A7
2003 Jan 08
3
Removing Samba
Does anyone know how to remove Samba, using the RPM utility? I have tried but not sure on the correct use of RPM and of course I am not sure of the proper name for removing Samba?? -- T.L.Gervais Coldbrook, NS Canada.
2012 Jun 21
4
convert 'character' vector containing mixed formats to 'Date'
Dear all I have a 'character' vector containing mixed formats (thanks Excel!) and I'd like to translate it into a default "%Y-%m-%d" Date vector. x <- c("1/3/2005", "13/04/2004", "2/5/2005", "2/5/2005", "7/5/2007", "22/04/2004", "21/04/2005", "20080430", "13/05/2003",
2011 Dec 07
4
bug in rank(), order(), is.unsorted() on character vector
Hi, This looks OK: > x <- c("_1_", "1_9", "2_9") > rank(x) [1] 1 2 3 But this does not: > xa <- paste(x, "a", sep="") > xa [1] "_1_a" "1_9a" "2_9a" > rank(xa) [1] 2 1 3 Cheers, H. > sessionInfo() R version 2.14.0 (2011-10-31) Platform: x86_64-unknown-linux-gnu (64-bit) locale: [1]
2004 Mar 28
2
splitting a character vector
Dear R People: Suppose I have the following; xa <- c("There are 5 dogs") I would like to have a new character vector such that xb[1] is There xb[2] is are xb[3] is 5 xb[4] is dogs Since the original vector has length 1, substring will not work. Any suggestions would be MOST welcome! thanks Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences
2003 Feb 19
3
log files - slackware
Does anyone use slackware with samba? And if so, are they able to produce 'log.nmbd' files? I can't. But I can do this just fine with RH8.0. By the way - my version of Slackware is 8.1 -- T.L.Gervais Coldbrook, NS Canada.
2003 Jan 10
2
The use of Samba
Now that I have Samba all set up and working well with all the machines I have - some linux, some Win98, some WinXP , what more can I do with Samba than just allow access to each of these machines. Right now I can sit at any machine and access any others. I can move files around I can play music files from any machine and I can print on any Printer that is in the network. What more can I