search for: wind

Displaying 20 results from an estimated 1322 matches for "wind".

Did you mean: kind
2011 Aug 22
3
Multiple regression in R - unstandardised coefficients are a different sign to standardised coefficients, is this correct?
...he non-standardised values of B that R has given me. The code I have used, and some of the data, is as follows (once the database has been imported from SQL, and outliers removed). Z1sub <- Z1[, c(2, 5, 7,11, 12, 13, 15, 16)] colnames(Z1sub) <- c("temp", "hum", "wind", "press", "rain", "s.rad", "mean1", "sd1" ) attach(Z1sub) names(Z1sub) Model1d <- lm(mean1 ~ hum*wind*rain + I(hum^2) + I(wind^2) + I(rain^2) ) summary(Model1d) Call: lm(formula = mean1 ~ hum * wind * rain + I(hum^2) + I(wind^2) +...
2009 Dec 04
2
[ggplot2] Wind rose orientation
Aloha all, I love using ggplot. It took a while to get used to the grammar of graphics, but it is starting to get easy now that I am thinking in a more structured way. A question. I'm making a wind rose that I'd like to be oriented with due north straight up. I've discovered that the orientation is sensitive to how north is represented. When north is represented as 0, the orientation looks to be shifted just a bit counter-clockwise, perhaps 10 degrees. When north is represe...
2010 Sep 30
2
plotting wind rose data
Hi List, I am trying to create a spatial representation of some wind data. I have the season, frequency, strength and direction of the wind from 10 different locations, the coverage of the area that I am interested in is not 100% there are small gaps in my coverage due to the location of the weather stations. I am trying to create a series of wind maps e.g. the Pr...
2018 Apr 27
5
predict.glm returns different results for the same model
..., Very surprising (to me!) and mystifying result from predict.glm(): the predictions vary depending on whether or not I use ns() or splines::ns(). Reprex follows: library(splines) set.seed(12345) dat <- data.frame(claim = rbinom(1000, 1, 0.5)) mns <- c(3.4, 3.6) sds <- c(0.24, 0.35) dat$wind <- exp(rnorm(nrow(dat), mean = mns[dat$claim + 1], sd = sds[dat$claim + 1])) dat <- dat[order(dat$wind), ] m1 <- glm(claim ~ ns(wind, df = 5), data = dat, family = binomial) m2 <- glm(claim ~ splines::ns(wind, df = 5), data = dat, family = binomial) # The model coefficients are the sa...
2010 Oct 01
1
plotting wind rose data (Karl Ropkins)
David, Following on from Jim Lemon's suggest that polar plots might be more what you need, there are both wind rose and polar plot functions in the openair package that might be of use (particularly windRose and polarFreq). They will not do everthing you are after without some careful conditioning or extra work with latticeExtra, but could get you some of the way there. Karl Ropkins, > > > Hi...
2003 Oct 20
4
selecting subsets of data from matrix
Probably a stupid question, but I don't seem to be able to find the answer I'm looking for from any of the R literature. Basically I have a matrix with several thousand rows and 20 columns(weather stations) of wind direction data. I am wanting to extract a matrix which contains data for all columns conditional on column 20 having a value of _either_ less than 45 or greater than 315. (ie I want to extract a matrix which contains wind direction data for all columns {weather stations} when there is a prevailing...
2011 Feb 02
1
update not working
R-help, I'm using the "update" command for a multiple regression model and it is just not working: > update(model1, . ~ . – temp:wind:rad,data=ozone.pollution) Error: unexpected input in "model2<-update(model1, . ~ . –" > summary(model1) Call: lm(formula = ozone ~ temp * wind * rad + I(rad^2) + I(temp^2) + I(wind^2), data = ozone.pollution) Residuals: Min 1Q Median 3Q Max -38.894 -11.205...
2002 Sep 27
3
Inverting polygon
Hi I'm using polygon to delimit an area on a plot. However my intention is to "superpose" the outside area of the polygon (I want to cover an extrapolation of contour(interp(...)). Is there an easy way of doing it ? Thanks EJ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
2009 Aug 20
3
Wind-data analysis with R?
Hello, are there people outside who use R for analysis of wind-measurement data (meteorological or for planning of wind power stations)? Are there already scripts/modules available for analysing and displaying/plotting wind data in the way it is done in projection/planning of wind power stations? If not, would it be of interest to use R for this, and therefo...
2016 Aug 04
2
[FORGED] Re: polypath winding rule with transparency
...there is no 'id' specified), and the NAs in 'x' generate two separate polygons, which get drawn one on top of the other. The correct analogy to the polypath() example is ... x2 <- matrix(x[!is.na(x)], ncol=2) grid.path(x2[,1], x2[,2], id=rep(1:2, each=4), rule="winding", gp=gpar(="#BEBEBE80")) ... which produces the same (wrong) result as polypath() on Windows. Also, the grid.path() result for your example is NOT the same as the correct result; we do NOT want a separate shade for the intersecting region when the "winding" fill rul...
2010 Nov 12
1
wind rose (oz.windrose) scale
Dear list, I trying to make a wind rose plot whit the command oz.windrose, from plotrix package. My data, a matrix of percentages with the rows representing speed ranges and the columns indicating wind directions was generated using bin.wind.records command from same package: [,1] [,2] [,3] [,4] [,5] [,6...
2006 May 19
0
How to deal with missing data?
Hi All, This is a question not directly related to R itself, it's about how to deal with missing data. I want to build wind roses i.e. circular histograms of wind directions and associated speeds to look for trends or changes in the wind patterns over several decades for some meteo stations. The database I have contains hourly records of wind direction and speed over the past 50 years.......obviously that's a huge d...
2011 Dec 23
2
cast in reshape and reshape2
...(airquality, id=c('month', 'day')) With reshape I can cast with multiple functions: > library(reshape) > cast(x, month+variable~., c(mean,sd)) month variable mean sd 1 5 ozone 23.615385 22.224449 2 5 solar.r 181.296296 115.075499 3 5 wind 11.622581 3.531450 4 5 temp 65.548387 6.854870 5 6 ozone 29.444444 18.207904 6 6 solar.r 190.166667 92.882975 7 6 wind 10.266667 3.769234 8 6 temp 79.100000 6.598589 9 7 ozone 59.115385 31.635837 10 7 solar.r 216.483871 80.5683...
2017 Apr 24
1
polypath winding rule with transparency
...t;> > Hi, oh dear - sorry about that > > I appreciate the deeper explanation, I knew about the id aspect in grid, > but just forgot in my haste. > > I'll be more careful with examples if I find any more clues. > > I've found a possibly related issue, again only on Windows as far as I can see. These two plots give different results, the second is completely transparent rather than the expected light blue region on the left. Whether it works or not seems to depend on the specific geometry of the device and *not on the specific xlim interval chosen*. I can get the...
2016 Aug 03
2
polypath winding rule with transparency
Hi, I see different results in png() and pdf() for polypath() on Windows when using the "winding" rule ## overlapping, both clock-wise x <- cbind(c(.1, .1, .6, .6, NA, .4, .4, .9, .9), c(.1, .6, .6, .1, NA, .4, .9, .9, .4)) pfun <- function() { plot(x) polypath(x * 0.8 + 0.2, rule = "winding", col = "#BEBEBE80")...
2013 Mar 18
2
how to plot u-v wind by R?
hi R users: I have a dataset including u wind in x-axis and v wind in y-axis. How can I plot the u,v wind data in vector or barb figure? which command ? thank you . -- TANG Jie [[alternative HTML version deleted]]
2006 May 11
2
Maximum likelihood estimate of bivariate vonmises-weibull distribution
Hi, I'm dealing with wind data and I'd like to model their distribution in order to simulate data to fill-in missing values. Wind direction are typically following a vonmises distribution and wind speeds follow a weibull distribution. I'd like to build a joint distribution of directions and speeds as a VonMises-Weib...
2004 May 03
1
circular correlation
I have a problem that deals with correlating wind velocity to seed collection data. The problem lies in that I have a wind data set that is contains 2000+ data points and weed collection data on the order of a couple hundred. Both data sets were collected for the same time period, but there is not a one-to-one wind velocity->seed location mat...
2011 Dec 12
3
windrose color ramp issue
Greetings! I'm having an issue with the windrose produced by the windrose function from the circular package. For our weather stations in North Carolina I'm helping with a script which takes hourly wind speed and direction data to create windroses for our end users. One of the stations in the mountains frequently reaches wind speed of 4...
2006 Oct 04
3
problem using libao on OSX 10.4
...hing with the libao package. Any time I try to use the library to link it errors out with the following message: /usr/bin/ld: Undefined symbols: _dlsym_auto_underscore collect2: ld returned 1 exit status If I try to run the ogg123 application I get this: [ukiel:OGG/vorbis-tools-1.1.1/ogg123] wind% ./ogg123 dyld: lazy symbol binding failed: Symbol not found: _dlsym_auto_underscore Referenced from: /usr/local/lib/libao.2.dylib Expected in: flat namespace dyld: Symbol not found: _dlsym_auto_underscore Referenced from: /usr/local/lib/libao.2.dylib Expected in: flat namespace Tra...