search for: irucka

Displaying 20 results from an estimated 21 matches for "irucka".

2013 Mar 29
1
multiple plots and looping assistance requested (single plot)
HI Irucka, Please check this: temp<- structure(list(`:Bostoncitydata` = structure(list(Month = c(1L, 2L, 3L, NA), Data1 = c(1.5, 12.3, 11.4, NA), Data2 = c(9.1342, 12.31, 3.5, NA)), .Names = c("Month", "Data1", "Data2"), class = "data.frame", row.names = c(NA, -4L)...
2012 Dec 31
4
error when using subset (0 observations)
Hi, how are you? My name is Irucka Embry and I would like assistance on properly subsetting some data obtained from a .csv file. > file <-"info_n.csv" > INFO<- getMetaDataFromFile(file) INFO is 92 observations of 14 variables > INFO<- subset(INFO,site.no==02169570) INFO is 0 observations of 14 variabl...
2012 Nov 28
7
zeros in double matrix rather than character matrix
...ws below. I want the zeros to be read in as numerical or integer values rather than a character. Right now I have a 100x0 character matrix rather than a 100x1000 double matrix. What do I need to do to read in a .csv spreadsheet with counting the zeros as a numerical or integer value? Thank-you. Irucka Embry 0 0 0 0 0.16387 0.60612 0.87705 0.83798 0.32774 1.2122 1.7541 1.676 0.4916 1.8184 2.6312 2.5139 0.65547 2.4245 3.5082 3.3519 0.81934 3.0306 4.3853 4.1899 0.98321 3.6367 5.2623 5.0279 1.1471 4.2429 6.1394 5.8659 1.3109 4.849 7.0164 6.7038 1.4748 5.4551 7.8935 7.5418 1.6387 6.0612 8.7705 8.37...
2012 Dec 20
4
comparison of large data set
...with modeldepth that only lists the specific 272x976 modeldepth data files that had an f2 greater than 0.7 Is there any way to reduce the code? As you see, I am using the name for all 54 files with both file and also modeldepth. How can I create an f2 for each of the 54 comparisons? Thank-you. Irucka Embry <span id=m2wTl><p><font face="Arial, Helvetica, sans-serif" size="2" style="font-size:13.5px">_______________________________________________________________<BR>Get the Free email that has everyone talking at <a href=http://www.mail2...
2013 Mar 07
5
multiple plots and looping assistance requested (revised codes)
Hi Irucka, I tried it and was able to plot it without any errors.? Here, your code indicates you need two lines. temper[[i]][1] ?temper[[1]][1] # which is the column 1. ? Month 1???? 1 2???? 2 3???? 3 ?temper[[1]][2] #? Data1 #1?? 1.5 #2? 12.3 #3? 11.4 Suppose I use names(temper) instead of seq_along(t...
2013 Jan 09
4
select partial name and full name columns
...eading into the function has a different number of columns and a different prefix in front of 00060_00003 and 00060_00003_cd. I have searched online and tried those possible solutions, but they did not work for my function and data. What is the best way to select those 3 columns only? Thank-you. Irucka Embry <span id=m2wTl><p><font face="Arial, Helvetica, sans-serif" size="2" style="font-size:13.5px">_______________________________________________________________<BR>Get the Free email that has everyone talking at <a href=http://www.mail2...
2012 Dec 19
2
probability of binary data
...sum(probability of the matrix element where the matrix element is present in the observed and absent in the model) + sum(probability of the matrix element where the matrix element is absent in the observed and present in the model)] What is the best way to create the f2 function in R? Thank-you. Irucka Embry <span id=m2wTl><p><font face="Arial, Helvetica, sans-serif" size="2" style="font-size:13.5px">_______________________________________________________________<BR>Get the Free email that has everyone talking at <a href=http://www.mail2...
2015 Aug 18
2
Server certificate verification failed
...ugh after updating the Synaptic package manager: Failed to fetch https://cran.revolutionanalytics.com/bin/linux/ubuntu/trusty/Packages server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none Any assistance that you can provide will be helpful. Thank you. Irucka Embry <span id=m2wTl><p><font face="Arial, Helvetica, sans-serif" size="2" style="font-size:13.5px">_______________________________________________________________<BR>Get the Free email that has everyone talking at <a href=http://www.mail2...
2013 Jan 27
1
lapply and SpatialGridDataFrame error
...Grid2Polygons(modeldepthsmore, level = FALSE)) Error in Grid2Polygons(modeldepthsmore, level = FALSE) : Grid object not of class SpatialGridDataFrame Can someone assist me in modifying the R code so that I can convert the set of files to .shp files and then to .bnd files for BayesX? Thank-you. Irucka Embry <span id=m2wTl><p><font face="Arial, Helvetica, sans-serif" size="2" style="font-size:13.5px">_______________________________________________________________<BR>Get the Free email that has everyone talking at <a href=http://www.mail2...
2012 Nov 19
5
help on matrix column removal based on another matrix results
Hi everyone, now I am trying to finish writing the code (I had asked for assistance on subtracting arrays) This is what I what I am running in R: > source("/home/ie/Documents/TTU/GA_Research/GLUE/R-Project/R_GLUE_Example/NSEr.R") NSEr <- function (obs, sim) { {jjh <- (as.vector(obs) - sim)^2 Xjjhs <- apply(Xjjh, 2, sum) Yii <- (obs - mean(obs))^2 Yiis <- apply(Yii, 2,
2013 Mar 05
2
multiple plots and looping assistance requested
...nes(x, y1) par(new=T) xrange <- range(""x1$i"") # This would be the first set of sites for the specified seasons yrange <- range("y2") plot(x, y2, xlab="Year, Season", ylab="Total Flux (kg/season)") lines(x, y2)) dev.off() } Thank-you. Irucka Embry This is a small sampling of the data that I'm extracting to plot from the .csv file: station_id_Timeseries (as the x axis) 02143500_2000_4_OND 02143500_2001_1_JFM 02143500_2001_2_AMJ 02143500_2001_3_JAS 02143500_2001_4_OND 02143500_2002_1_JFM 02143500_2002_2_AMJ 02143500_2002_3_JAS 021...
2013 Feb 13
0
seasonal sum and mean and combine multiple, different data frames in .csv
Hi Irucka, No problem. I guess this could be done using: Sample data: Dailydo<- structure(list(Date = structure(c(11231, 11232, 11233, 11234, 11235, 11236, 11207, 11208, 11209, 11179, 11180, 11181, 11151, 11152, 11123, 11093, 11064, 11065, 11035, 11036, 11008, 11009, 10979, 10980, 11347, 11348, 11380...
2013 Jan 15
2
error in for loop in function (object not found)
...OW-Summer-2012-Work/EGRET/ca libration/example_setofstationsassociatedtosamegage.csv" > xynowget <- xygetN(file, hasHeader = TRUE, separator =",") Error in is.data.frame(x) : object 'Sample' not found Can you assist me in fixing the attached function file? Thank-you. Irucka Embry <span id=m2wTl><p><font face="Arial, Helvetica, sans-serif" size="2" style="font-size:13.5px">_______________________________________________________________<BR>Get the Free email that has everyone talking at <a href=http://www.mail2...
2012 Nov 28
1
how to keep all zeros in 1st row (not NA)
...a "101x0 character matrix" once I removed the 1st column "Time (day)". Instead I want this to be a "101x1000 double matrix". What needs to be done to make the .csv into a double matrix rather than a character matrix when the first row is all zeros (0s)? Thank-you. Irucka Embry This is the code that I am using: Input <- as.matrix(read.csv("Input_Parameter.csv", header = TRUE, sep =",")) Input <- as.matrix(Input[,-1]) # remove column 1 from analysis This is some of the values that are being read from the .csv file: Time (day) 1 2 3 4 0...
2012 Nov 19
6
loop to subtract arrays / error
Hi everyone, I am having trouble with creating a loop to subtract arrays. In R, this is what I have done: > Vobsr <- read.csv("Observed_Flow.csv", header = TRUE, sep =",") # see data > below > Vsimr <- read.csv("1000Samples_Vsim.csv", header = TRUE, sep =",") # see > data below > Vobsr <- as.matrix(Vobsr[,-1]) # remove column 1 from
2013 Feb 20
0
subsetting with greater than and less than indexing
Hi Arun, thank-you for your assistance. I'm sorry that I did not provide a reproducible example. I will provide a reproducible example the next time. Using the next to last line of your code I was able to get what I needed without using the for loop. Thanks again. Irucka <-----Original Message-----> >From: arun kirshna [via R] [ml-node+s789695n4659154h50@n4.nabble.com] >Sent: 2/20/2013 8:49:22 AM >To: iruckaE@mail2world.com >Subject: Re: subsetting with greater than and less than indexing > >Hi, >It is better to provide a reproducible...
2013 Mar 21
0
how do I read certain files from a directory based on number of columns?
Hi Arun, thank you. I will look through that later on today when I get a chance. I have to complete another part of this project now. Irucka <-----Original Message-----> >From: arun kirshna [via R] [ml-node+s789695n4661145h71@n4.nabble.com] >Sent: 3/12/2013 10:35:39 PM >To: iruckaE@mail2world.com >Subject: Re: how do I read certain files from a directory based on number of >columns? > >Hi, >Suppose, I h...
2013 May 01
0
log returns, error
...ving-NAs-td3482011.html R help - subset without removing NAs http://stackoverflow.com/questions/2613420/handling-missing-incomplete-d ata-in-r-is-there-function-to-mask-but-not-remove Handling missing/incomplete data in R--is there function to mask but not remove NAs? - Stack Overflow Thank you. Irucka <-----Original Message-----> >From: elvina [via R] [ml-node+s789695n4665877h63@n4.nabble.com] >Sent: 4/30/2013 6:55:52 PM >To: iruckaE@mail2world.com >Subject: Re: log returns, error > >Thank you for an advice! I read the answers, but I am still confused about how to pre...
2013 Mar 21
0
"[[i]]$" <- "" indexing and lapply
...bject Daily and Sample the site name after being processed through modelEstimation, i.e. making the current names the column names which they should be? I also have a question about the INFO object that I will address in the next e-mail. Thank you for all of your continued great assistance Arun! Irucka ## the modelEstimation function and its major components are below modelEstimation function (localDaily = Daily, localSample = Sample, localINFO = INFO, windowY = 10, windowQ = 2, windowS = 0.5, minNumObs = 100, minNumUncen = 50, env = parent.frame()) { cat("\n first step running estCr...
2012 Dec 21
0
variable names in numeric list and Bayesian inference
...omplete 272x976 cells because that information will then be used in the next step. The next step will be to perform a Bayesian inference where the modeldepthnew represents the prior likelihood. Are there any suggestions on a specific R package to use in the Bayesian inference steps? Thank-you. Irucka Embry <span id=m2wTl><p><font face="Arial, Helvetica, sans-serif" size="2" style="font-size:13.5px">_______________________________________________________________<BR>Get the Free email that has everyone talking at <a href=http://www.mail2...