similar to: Read data from .csv file as a matrix

Displaying 20 results from an estimated 20000 matches similar to: "Read data from .csv file as a matrix"

2009 Apr 22
4
read.table or read.csv without row index?
Hello all, Probably my concepts about the data.frame and matrix and array in R are not clear, I need some clarification to help me understand them better. >M <- read.table("test1.csv",sep=",",row.names=NULL,header=T) gives me: M as M1 M2 M3 M4 M5 M6 M7 M8 M9 M10 1 9 11 14 15 18 20 20 20 20 20 2 3 4 8 9 11 12 14 15 15 15 3 4 5 8 8 9 9 9 9 9 9 4 4
2006 Jan 15
8
/ Operator not meaningful for factors
Folks, I have a very basic question. The solution eludes me perhaps because of my own lack of creativity. I am not attaching a fully reproducible session because the issue may well be becuase of the way the data file is, and the data file is large (and I don't know whether I can legally distribute it). If people can suggest things that might be wrong in my data or the way that I am reading it,
2009 Feb 26
5
Download daily weather data
I'm writing a program that will tell me whether I should wear a coat, so I'd like to be able to download daily weather forecasts and daily reports of recent past weather conditions. The NOAA has very promising tabular forecasts (http://forecast.weather.gov/MapClick.php?CityName=Ithaca&state=NY&site=BGM&textField1=42.4422&textField2=-76.5002&e=0&FcstType=digital),
2013 Mar 15
2
Help finding first value in a BY group
I have a large Excel file with SKU numbers (stock keeping units) and forecasts which can be mimicked with the following: Period <- c(1, 2, 3, 1, 2, 3, 4, 1, 2) SKU <- c("A1","A1","A1","X4","X4","X4","X4","K2","K2") Forecast <- c(99, 103, 128, 63, 69, 72, 75, 207, 201) PeriodSKUForecast <-
2015 Dec 16
2
weather.agi
Here is a funny story. We mostly do hotels in the Caribbean, and one of our first clients (going on ten years now) used the sample "weather.agi" that used to be shipped with... asterisk at home? Trixbox? Can't even recall where we originally got it from. This perl script uses festival to speak a brief weather forecast to the caller. We told our hotels this was a feature for
2015 Dec 16
2
weather.agi
http://www.wunderground.com/weather/api/ -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of dk at donkelly.biz Sent: Wednesday, December 16, 2015 9:20 AM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: Re: [asterisk-users] weather.agi -----Original Message----- From:
2012 Jan 18
1
forecasting a time series
Couldn't find this in the archives. I'm fitting a series of historical weather-related data, but would like to use the latest values to forecast. So let's say that I'm using 1970-2000 to fit a model (using fourier terms and arima/auto.arima), but now would like to use the last X values to predict tomorrow's weather. I'm at a loss. All the functions I've come across
2016 Aug 25
3
Gnome weather applet stranded
On Thu, Aug 25, 2016 at 08:33:46AM +0100, Nux! wrote: > I've rebuilt libmateweather for EL7 with the aforementioned patch and it seems to have fixed the issue. > Feel free to use it until EPEL package the fix. > > http://li.nux.ro/download/nux//tmp/libmateweather7/ thanks Nux! I installed it and it now gets current conditions just fine. but I tried several different locations
2005 Mar 17
6
About the weather..
Ok, I've been away from the list for sometime now and feel as though I'm going to ask something that's been asked many times before, yet I find nothing in the wiki, so here goes: I notice that allison has done recordings for weather forecasts, yet I find no agi's that parse forecasts and use this recordings to piece together the forecast. I find plenty of weather agi's, but
2016 Aug 24
2
Gnome weather applet stranded
On 8/24/2016 8:46 AM, m.roth at 5-cent.us wrote: > Had you gone to noaa.gov, and clicked on climate, it appears that they > want to now charge you $3/yr for the service. I'm getting DNS not found errors from anything in NOAA.GOV. anyways, 'climate' refers to historical averages by location/month/week/date. presumably the API involved here was for current weather conditions
2010 Jul 27
3
Right digits of a floating number
Hi all, I am dealing with very large numbers but I am only interested in their last digits. > 244^244 [1] Inf As far as I can tell, the largest number R can take has 308 digits (1+E308). Is there a way I could see the last digits only of 244^244? Many thanks for your help. Vincent Deluard, CFA. -- View this message in context:
2010 May 11
4
AGI and Severe Weather Alerts
All, I am toying with an idea of using an AGI to be able to 'call' my phone, or phones, in case of severe weather warnings. I have been tinkering with a script that reads from weather underground for the forecast, based off a PHP version of a weather AGI I found on the net. It seems rather trivial to have the AGI as a script, that does nothing unless a condition is met, and
2010 Feb 03
2
ggplot2/qplot question regarding reducing the no. of x-axis labels
All: I am using the command: qplot(date,MAE,data=data,facets=INTERVAL~type) which works fine except that the dates for my date axes are crunched together so much that they are unreadable. I can not find an option that I can set that will automatically reduce the x-axis labels to fit the available space. regards to all? -- Thomas E Adams National Weather Service Ohio River Forecast Center
2011 Apr 20
2
Saving run time in loop
Hi r users, I am trying to compute the "moving variance" of a large matrix. I now use a loop but I am looking for a faster solution. Here is a sample of the code. Source= matrix(rnorm(400),ncol=100) variances= matrix(rep(NA,4*100),ncol=100) for (i in 1:80) {variances[,i]=apply(Source[,i:(i+80)],1,var)} any idea? Many thanks in advance. Vincent. -- View this message in context:
2005 Feb 15
7
Extra sounds (Weather)
Does anyone know of a AGI script that takes advantage of the weather sound files that's included with the extra sound files available from www.loligo.com/asterisk/sounds/ <http://www.loligo.com/asterisk/sounds/> ? Thank, Jeramie -------------- next part -------------- An HTML attachment was scrubbed... URL:
2011 Oct 03
4
Question about ggplot2 and stat_smooth
I'm interested in creating a graphic -like- this: c <- ggplot(mtcars, aes(qsec, wt)) c + geom_point() + stat_smooth(fill="blue", colour="darkblue", size=2, alpha = 0.2) but I need to show 2 sets of bands (with different shading) using 5%, 25%, 75%, 95% limits that I specify and where the heavy blue line is the median. I don't understand how to do this with
2009 Mar 04
4
$20 Bounty
http://saunderslog.com/2009/03/03/voxeo-launches-tropocom-mashup-platfor m/ I'll pay anyone a $20 bounty for someone to replicate the USA Asterisk Weather App on Tropo. Would like to see how quickly this is implemented. Regards, Dean Collins Cognation Inc dean at cognation.net <mailto:dean at cognation.net> +1-212-203-4357 New York +61-2-9016-5642 (Sydney
2012 Dec 21
2
how can I import op.gz files with read.csv or otherwise
Dear R-users, I am struggling to directly read an "op.gz" file into R. NOAA kindly provides daily weather data on their FTP server for download. > sessionInfo() R version 2.15.1 (2012-06-22) Platform: x86_64-pc-mingw32/x64 (64-bit) locale: [1] LC_COLLATE=English_United Kingdom.1252  LC_CTYPE=English_United Kingdom.1252    LC_MONETARY=English_United Kingdom.1252 [4]
2011 Jun 21
2
function to undo the DIFF command in ARIMA command
Hi users. I'm new user in R. I'm workiing with Time series and I would like to know how can I do to undo the command DIFF(X), for exemple: If I have the model: m=arima(X, order=c(0,1,1), seasonal=list(order=c(0,0,1))) (note that have d=1 one difference), to find, in the same scale, the original numbers (like one "unDiff"), after the forecast, I need to develop some function or in
2010 May 10
2
tapply function with NA
Hi R users, I have a matrix "m" of the type: m X4.20.2010 X4.19.2010 X4.16.2010 [1,] 0.008319468 0.00000000 -0.008250825 [2,] 0.005574136 0.01816118 0.073081608 [3,] -0.047830688 0.01612903 -0.030239833 [4,] NA NA NA [5,] 0.008746356 0.02848576 -0.025566107 [6,] -0.007990868 0.00000000 -0.026666667 I want to get the sum of each column. Normally