search for: basin

Displaying 20 results from an estimated 61 matches for "basin".

Did you mean: basic
2004 Sep 01
3
coercing a string naming to a variable name and return value
...to assess a variable who's name is constructed with paste. The problem is following: In a data frame, there are 12 columns whose title vary only by a digit, all other part being equal. I would like to compute a operation on a subset these variables and parse them in turn. the data frame "basin.param" contains columns called ratio1, ratio2, ratio3... in each of these ratios I want to retain only values above 0. This could be put like this crit<- which(basin.param$ratio1 > 0) basin.param$ratio1[crit] + basin.param$val[crit] OK, so what if I want to increment from ratio1 to rat...
2007 Nov 02
1
lme model with replicates within a random factor
Dear all, I wonder if anyone can help me with specifying a right model for my analysis. I am a beginner to lme methods. I was unfortunately not able to find a solution to my problem on my own. Data structure: I have sampled monthly 6 basins during two hydrological cycles, and I have taken several (2 to 4) samples (“replicate”) for each basin and month. I’m trying to relate Shannon diversity to some environmental variables, taking away pseudoreplication. Thus, I have tried an lme model with “time” and “basin” as random factors. I have...
2011 Mar 16
4
plotting multiple figures on one page
...rying to plot multiple figures on one page through a loop, but the code just produce one graph on one page. Can someone show some light on what's wrong? Here is my code: library("quantreg") tcdata<-read.table("mydata.txt",header=TRUE) postscript("myfigure.ps") basins<- paste(c("b1","b2","b3","b4","b5","b6"),sep="") par(mfrow = c(2,3),mar=c(0,4,0,2),oma=c(5,0,3,0)) for (k in 1:6) { data0=subset(tcdata,basin==basins[k]) attach(data0) model=rq(rain~year,tau=seq(0.1,0.9,0.1)) plot(summary(...
2012 May 17
3
New Eyes Needed to See Syntax Error
...error is: > source('bicarb.R') Error in source("bicarb.R") : bicarb.R:15:1: unexpected symbol 14: 15: hco33 ^ The 'h' is in column 0 so the caret would be column -1, but it's presented as column 1. The file, bicarb.R is: hco31 <- qqmath(~ HCO3 | factor(basin), data = surfchem.cast, main = 'Bicarbonate (Raw)', prepanel = prepanel.qqmathline, panel = function(x, ...) { panel.qqmathline(x, ...) panel.qqmath(x, ...) }) hco32 <- qqmath(~ log10(HCO3 | factor(basin), data = surfchem.cast, main = 'Bicarbonate (Log10)',...
2007 Dec 14
1
flagging glm models with warnings
...'ve attempted using glm.nb from the MASS package and the negbin function from the AOD package, but both still cause some models to experience errors and warnings. Examples of my 2 largest models, run from the 2 different functions negBin.glm1 <- glm.nb(Count ~ offset(log(Tow.Area)) + Basin + Bathy + Hypoxia + Period + Depth + Basin*Depth + Bathy*Depth + Hypoxia*Depth + Period*Depth + Basin*Period + Bathy*Period + Hypoxia*Period + Hypoxia:Period:Depth + Bathy:Period:Depth + Basin:Period:Depth, control=glm.control(maxit=1000), method="glm.fit", s...
2007 Jul 12
1
error problem with glht
...I''ve written with comments that include the final error I get. ... initial.dir <- getwd() library(systemfit) library(multcomp) basdata <- read.table("data_into7_test.txt", header=TRUE,sep="") #show basdata basdata #output from above looks like this ... # basin Order lnLcl lnArea #1 SFK 6 3.46322000 5.19766000 #2 SFK 6 3.51767000 5.11809000 #3 SFK 6 3.79962000 5.79118000 #4 SFK 6 2.90242000 4.09768000 #5 SFK 4 1.92408000 2.31617000 # .... #21 NFK 6 3.88342000 5.50927000 #22 NFK 6 3.845...
2015 Jun 08
0
New R package kwb.hantush (0.2.1): calculation of groundwater mounding beneath an (stormwater) infiltration basin
Dear R users, It is a pleasure for me to announce the availability of the new package kwb.hantush (0.2.1)? on CRAN. Its objective is the calculation of groundwater mounding beneath an (stormwater) infiltration basin by solving the Hantush (1967) equation. For checking the correct implementation of the algorithm the R modelling results were cross-checked against alternative models assessed in Carleton (2010) by using the same model parameterisation. References: [1] Carleton, G.B., 2010, Simulation of groundw...
2015 Jun 08
0
New R package kwb.hantush (0.2.1): calculation of groundwater mounding beneath an (stormwater) infiltration basin
Dear R users, It is a pleasure for me to announce the availability of the new package kwb.hantush (0.2.1)? on CRAN. Its objective is the calculation of groundwater mounding beneath an (stormwater) infiltration basin by solving the Hantush (1967) equation. For checking the correct implementation of the algorithm the R modelling results were cross-checked against alternative models assessed in Carleton (2010) by using the same model parameterisation. References: [1] Carleton, G.B., 2010, Simulation of groundw...
2007 Dec 12
1
Defining the "random" term in function "negbin" of AOD package
...ppreciated. negbin(formula, random, data, phi.ini = NULL, warnings = FALSE, na.action = na.omit, fixpar = list(), hessian = TRUE, control = list(maxit = 2000), ...) My largest model using glm.nb looks like this: negBin.glm1 <- glm.nb(Count ~ offset(log(Tow.Area)) + Basin + Bathy + Hypoxia + Period + Depth + Basin*Depth + Bathy*Depth + Hypoxia*Depth + Period*Depth + Basin*Period + Bathy*Period + Hypoxia*Period + Hypoxia:Period:Depth + Bathy:Period:Depth + Basin:Period:Depth, control=glm.control(maxit=1000), method="glm.fit",...
2024 Aug 01
1
sftp can't preserve uploaded mtime: fsetstat: No such file or directory
On Wed, 31 Jul 2024, ilya Basin wrote: > I've just tried that. It still fails. > > Is it possible to dump the decrypted sftp commands? I tried -vvv but found nothing interesting. Try Subsystem sftp /usr/libexec/sftp-server -l debug3 in sshd_config > The Total Commander plugin calls: > > l...
2007 Mar 27
1
"Groups" in XYPLOT
...n xyplot? The desired end result is a single xy plot of two separate (but similar in values and ranges). Full code follows, xyplot code at bottom #########Determine Frequencies ##########coastal_slope #needs the maptools package to read ESRI grid require(maptools) #import the flow slope grid basin.map <- readAsciiGrid("C:/R_PLots/coastal_slp.asc", colname="slope") basin_slope <- (basin.map$slope) #read the slopes into a dataframe freqs<-as.data.frame(table(basin_slope)) #rank the frequencies based on each unique occerence, note, ranks from 1 to n r<-rank(freqs...
2024 Jul 31
1
sftp can't preserve uploaded mtime: fsetstat: No such file or directory
...Total Commander plugin calls: libssh2_sftp_setstat(ConnectSettings->sftpsession, thename,&attr) What does the command line client use? -------- Original Message -------- From: Brian Candler [mailto:b.candler at pobox.com] Sent: Wednesday, July 31, 2024 at 15:42 UTC To: ilya Basin; openssh-unix-dev at mindrot.org Subject: sftp can't preserve uploaded mtime: fsetstat: No such file or directory On 31/07/2024 16:28, ilya Basin wrote: I use openssh-client 1:8.9p1-3ubuntu0.6 and I'm trying to upload files to EFT Server. Previously I was using Total Commander with SFTP p...
2007 May 20
4
Running an R script without running R
Is there any way to run an R script without running R? As an example, suppose I have a tcl/tk interface that asks for a number (in a GUI) and displays its factorial. Is there a way to invoke this script without invoking R? I'm using R 2.4.1 in GNU/Linux Fedora Core 4. Alberto Monteiro
2024 Aug 02
1
sftp can't preserve uploaded mtime: fsetstat: No such file or directory
...2: Sending SSH2_FXP_FSETSTAT debug3: Sent message fd 7 T:10 I:4 F:0x000c M:00644 debug3: SSH2_FXP_STATUS 2 remote fsetstat: No such file or directory -------- Original Message -------- From: Damien Miller [mailto:djm at mindrot.org] Sent: Thursday, August 1, 2024 at 00:42 UTC To: ilya Basin Cc: Brian Candler; openssh-unix-dev at mindrot.org Subject: sftp can't preserve uploaded mtime: fsetstat: No such file or directory On Wed, 31 Jul 2024, ilya Basin wrote: I've just tried that. It still fails. Is it possible to dump the decrypted sftp commands? I tried -vvv but found noth...
2024 Jul 31
1
sftp can't preserve uploaded mtime: fsetstat: No such file or directory
On 31/07/2024 16:28, ilya Basin wrote: > I use openssh-client 1:8.9p1-3ubuntu0.6 and I'm trying to upload files to EFT Server. > > Previously I was using Total Commander with SFTP plugin and it does preserve mtime.https://www.ghisler.com/plugins.htm > > When I try to do the same from command line it fails. >...
2024 Aug 02
1
sftp can't preserve uploaded mtime: fsetstat: No such file or directory
> On Aug 2, 2024, at 00:32, ilya Basin <basinilya at gmail.com> wrote: > > Looks like EFT doesn't support SSH2_FXP_FSETSTAT (working with a file handle), but it does support SSH2_FXP_SETSTAT (working with a file path). OpenSSH sftp only uses SSH2_FXP_FSETSTAT for directories. It doesn't have a separate "touch&q...
2013 Nov 29
1
Please help me decode this webrtc chrome conversation
...r, decrypt the payload and then feed the decrypted data to opus. Besides, opus_decoder_get_nb_samples() on 1st packet returns reasonable number 960, but then opus_decode() fails. On Fri, Nov 29, 2013 at 11:39 PM, Jean-Marc Valin <jmvalin at jmvalin.ca>wrote: > On 29/11/13 01:49 PM, Ilya Basin wrote: > > For example, the RTP payload is decrypted successfully, but > > opus_packet_get_nb_samples() or opus_decode() return > > OPUS_INVALID_PACKET. > > Are you sure you didn't forget to strip the RTP header before decoding it? > > Jean-Marc > > -...
2013 Nov 29
1
Please help me decode this webrtc chrome conversation
On 29/11/13 01:49 PM, Ilya Basin wrote: > For example, the RTP payload is decrypted successfully, but > opus_packet_get_nb_samples() or opus_decode() return > OPUS_INVALID_PACKET. Are you sure you didn't forget to strip the RTP header before decoding it? Jean-Marc
2010 Mar 28
15
frame/graphics lag in microsoft Freelancer
Huhu, I installed MS Freelancer via PlayOnLinux, but I have some graphics lags ingame/the game was redicoulus slow, I also wasn't really able to start a new game since the game hang up (kinda. It just didn't wanted to finish loading) One idea of me would be that it still runs in DX mode, how can I change it to OpenGL? On a side note, I have enough ressources to run the game at windows.
2004 Aug 31
1
appending data to a dataframe
Dear R users, I am sorry to ask you such a pathetic newbie question, but how does one append data at the end of a data frame? I am working with GRASS/R library, but the question is about R. I have a data.frame containing the following variables basinID, distoutlet, drainage_area, slope These variables are stored for all pixels of Grass Raster objects. For each drainage basin (basinID), I'd like to find the maximum of distoutlet. How can I store the pair of info (bv$ID, max(bv$distoutlet)) at each step of the for loop ? I presume something...