similar to: else problem

Displaying 20 results from an estimated 210 matches similar to: "else problem"

2009 Feb 06
0
Tinn-R 2.2.0.1 released with a new and complete User Guide
Dears Tinn-R users, We want to announce that a new version of Tinn-R Gui/Editor (Windows OS) was released. It now has a complete User Guide, a old request of the users. The news of this version are below: 2.2.0.1 (Feb/05/2009) * Bugs fixed: 1. Latex font Enphase was fixed. It was inserting \textbf{} instead of \emph{}. 2. Save and load workspace is now enabled only if
2009 Feb 28
5
object ".trPaths" not found
I am running an R script with Tinn-R (2.2.0.1) and I get the error message Error in source(.trPaths[4], echo = TRUE, max.deparse.length = 150) : object ".trPaths" not found Any solutions? Thank you. Kevin
2008 Aug 12
2
Parsing array data
Hi, I read in csv files with the following code: res <- vector(mode="list",length=3) for(i in 1: length(res)) res[[i]]<-read.csv(file=paste("/Users/markaltaweel/Desktop/Output/HydroDataOutput",i,".csv",sep=""),header=T,sep=",") This allows me to load the data into an array of length 3, with the res array containing my data from the csv
2009 Feb 18
1
rbind: number of columns of result is not a multiple of vector length (arg 1)
i have the following constructed and running very well,, thanks to Gabor Grothendieck for his help. >data.info <- c("station.id", "year", "date", "max.discharge") > > for(i in 1:num.files) { + station.id <- substring(data[i], 1,8) + DF <- read.table(data[i], sep=",", blank.lines.skip = TRUE) + z <- zoo(DF[,4],
2010 May 18
2
Function that is giving me a headache- any help appreciated (automatic read )
note: whole function is below- I am sure I am doing something silly. when I use it like USGS(input="precipitation") it is choking on the precip.1 <- subset(DF, precipitation!="NA") b <- ddply(precip.1$precipitation, .(precip.1$gauge_name), cumsum) DF.precip <- precip.1 DF.precip$precipitation <- b$.data part, but runs fine outside of the function: days=7
2009 Oct 06
1
ggplot2 applying a function based on facet
Look at the bottom of the message for my question #here is a little function that I wrote USGS <- function(input="discharge", days=7){ library(chron) library(gsubfn) #021973269 is the Waynesboro Gauge on the Savannah River Proper (SRS) #02102908 is the Flat Creek Gauge (ftbrfcms) #02133500 is the Drowning Creek (ftbrbmcm) #02341800 is the Upatoi Creek Near Columbus (ftbn) #02342500 is
2013 Feb 19
1
data format
Hi, Try this: el<- read.csv("el.csv",header=TRUE,sep="\t",stringsAsFactors=FALSE) ?elsplit<- split(el,el$st) ? datetrial<-data.frame(date1=seq.Date(as.Date("1930.1.1",format="%Y.%m.%d"),as.Date("2010.12.31",format="%Y.%m.%d"),by="day")) elsplit1<- lapply(elsplit,function(x)
2009 Feb 17
2
annual maximum value
hi everyone! hope you can help me here. i am a new R user. what i am trying to do is to find the maximum annual discharge from a daily record. i have a data.frame which includes date and the discharge. somewhat like this.. 10/1/1989 2410 10/2/1989 2460 10/3/1989 2890 ... ... ... 12/31/2005 5730 i have been browsing through the archives and fount out about the aggregate
2009 Dec 13
0
need a solution to an R-problem: consultant available?
I am trying to get confidence bands for a non-linear power function (y=mx^b). I thought I should be able to figure it out, but can't. Are there any R consultant? I would be willing to pay some amount of money, but not sure such consultants exist. I fit power functions to lots of data, and this would be very useful. I would ideally like to have confidence bands for the mean function and a
2004 Jul 07
3
KalmanSmooth problem
Hello, In R I am trying to use Kalman filtering to find a solution for an hydrological problem. With Kalman Filtering I want to estimate the discharge comming from three storage bassins. I have programmed a function in R which can run KalmanSmooth. When I'm asking for the function and putting in values, R detects the following error: "Error in as.vector(data) : Argument "S1" is
2008 Sep 09
1
Linear Modeling the best alternative
I have a data set of mean velocity, discharge, and mean depth. I need to find out which model best fits them out of log linear, linear, some other kind of model... Using excel I have found that linear is not that bad and log10(discharge) vs. the other two variables (I am trying to predict velocity and depth from discharge) is not that bad either. How do I test and see which one of these models
2020 Jan 11
4
System with MGE UPS shuts down too early
OK. I'll try it, but it really puzzles me how the battery could have gone bad for just 15 months. The online power is pretty stable, so the battery hasn't gone through many charge/discharge cycles... Regards, -- Georgi On 11.1.2020 at 14:24, Manuel Wolfshant wrote: > > indicates that the UPS thought that battery was close to depleted and decided to shutdown. I suggest to fully
2007 Sep 12
3
driver for my ups
Hello everyone. I have a "Forza Power Technologies" UPS, model sl-501. the software i've been used to manage it is Winpower v.2.2.0.1. It works on windows but not linux. There is a version for this app for linux, but once installed, it doesn't detect the ups (the connection is via usb). My question is if there is a driver useful for this hardware. I've bee reading that
2007 Sep 12
3
driver for my ups
Hello everyone. I have a "Forza Power Technologies" UPS, model sl-501. the software i've been used to manage it is Winpower v.2.2.0.1. It works on windows but not linux. There is a version for this app for linux, but once installed, it doesn't detect the ups (the connection is via usb). My question is if there is a driver useful for this hardware. I've bee reading that
2011 May 11
1
filtering out unwanted words in a Term Document Matrix
Hi Y'all, I am using the text mining package (tm). I am trying to filter out all of the words in a Term Document Matrix that are not in a list of words that I am interested in. I am using the following code: z<-tm_intersect(txt.dtm, c("communications", "safety", "climate", "blood", "surface", "cleanliness",
2012 Jul 05
2
function curve() swap axes
Dear all, I'm using the curve() function to plot discharge Q against water depth a. However, I would like to have a graph of water depth a plotted against discharge Q. How can this be done? Minimal working example: S0 = 0.004 n = 0.04 tanalpha = 1.4/1.5 par(mar = c(5,5,1,1)) # b, l, t, r
2011 Mar 18
1
Difficulty with 'loess' function
Hi, I am trying to create a loess smooth from hydrologic data. My goal is to create a smooth line that describes discharge at a certain point in time. I have done this using the 'lowess' function and had no problem, but I'm having some difficulty with loess. I am inputting the date ('date') and discharge ('q') values using the 'scan' function, then inputting
2007 May 06
2
battery discharge too fast
From the moment when the UPS rapports "Low Battery" to the end of the shutdown, too mutch time is passing. So the computer does not have enough time shut down properly. Can I shut down the computer on the "On Batery" status? Or can I shut down when the UPS rapports 50% of the battery? Thank you.
2014 Dec 19
1
Changing self test date
On Dec 18, 2014, at 9:16 AM, Frantz de Germain <frantz at info.univ-angers.fr> wrote: > What is the difference between "test.battery.start.deep" and > "test.battery.start.quick" command (upscmd) ? The intent for the quick test is to only discharge the battery a little bit, whereas the deep test would discharge until the low battery threshold is reached (or the
2003 May 14
2
number of patients in a hospital on a given date
Dear R-users! I am using R 1.7.0, under Windows XP. Having some hospital discharge data (admission date and discharge date for each patient), I want to get the number of patients in the hospital on a given date. My data look like (simple example): > x <- data.frame(patid=c("pat1", "pat2"), adm.date = c("15.03.2002", "16.03.2002"),