search for: exdat

Displaying 13 results from an estimated 13 matches for "exdat".

Did you mean: ecdat
2012 May 15
1
Error in eval(expr, envir, enclos) : object 'Rayos' not found???
...ID, resp$Aeventexhumed, sep="") resp$QuadratEvent <- as.character(resp$QuadratEvent) envir <- envir[!is.na(envir$Aeventexhumed), ] envir$QuadratEvent <- paste(envir$QuadratID, envir$Aeventexhumed, sep="") envir$QuadratEvent <- as.character(envir$QuadratEvent) ExDate <- Sector <- Quadrat <- Aeventexhumed <- NULL ST1 <- ST2 <- ST3 <- ST4 <- ST0 <- NULL Shells <- Hatchlings <- MaxHatch <- DeadHatch <- NULL Oldeggs <- TotalEggs <- QuadratEvent <- NULL for (q in unique(as.character(resp$QuadratEvent))) {...
2011 Aug 18
1
Loop trouble with Excel Serial Numbers!
Hi All! I'm trying to convert serial numbers in Excel to dates in R. For each single "thedate" entry, I get a correct answer. But if I try using the for loop, I get bizarre numbers in "mynewdata". thedate<-as.matrix(40548:40759,ncol=1) exdate<-function(){ mynewdate<-NULL for(i in 1:nrow(thedate)){ mynewdate[i]<-as.Date(thedate[i,1],origin="1899-12-30") } print(mynewdate) } exdate() Thank you very much! Anna [[alternative HTML version deleted]]
2009 Jul 11
1
sort data.frame by specific date column
I have a data.frame that was built from a number of smaller data.frames with rbind. Each ssmaller data.frame bound together runs over the same date ranges. The format of the whole thing looks like this: Trade PosType EnDate EnTime ExDate ExTime PL_Pos 1 1 1 1040107 915 1040107 1300 164 2 2 1 1040108 909 1040108 1300 184 3 3 1 1040115 921 1040115 1300 64 4 4 1 1040120 1134 1040120 1300 124 5 5 1 1040121 923 1040121 1300 84 6...
2009 Jul 07
4
Test for X=1 fails, test for >0 works, data in text file is 1
...e where I need to use maybe as.numeric or something else first to ensure R sees the number the way I'm thinking about the number? Cheers, Mark > dim(X) [1] 25 425 > > ReShapeX <- melt(X, id = c("Trade", "PosType", "EnDate", "EnTime", "ExDate", "ExTime", "PL_Pos", "Costs", "Save2")) > > dim(ReShapeX) [1] 10400 11 > > MyResults <- subset(ReShapeX, value > 0) > > dim(MyResults) [1] 1105 11 > > MyResults.GroupA <- subset(MyResults, PosType = 1) > > d...
2009 Sep 02
2
Help with sub-setting data.frame
Friends I have a data frame, df that I want to extract some rows from Here is a sample of the data > head(df) TDate Expiry Underlie Strike CSettle PSettle Futures ExDate TTE 1 20080102 200801 200803 0.840 0.0000 0 0.9207 20080104 0.005479452 2 20080102 200801 200803 0.850 0.0000 0 0.9207 20080104 0.005479452 Rate Disc 1 0.0457 0.9997496 2 0.0457 0.9997496 I want all rows where TTE is equal to 0.024657534 > head(summary(factor(df...
2012 May 12
1
masked by GlobalEnv ???
...analysis. Can I ignore this message or do I need to do something about this? Jean > require(plyr) Loading required package: plyr > turtlehatch <- read.csv(file.choose()) > attach(turtlehatch) The following object(s) are masked _by_ '.GlobalEnv': Aeventexhumed, DeadHatch, ExDate, Hatchlings, MaxHatch, Oldeggs, Quadrat, QuadratEvent, ST0, ST1, ST2, ST3, ST4, Sector, Shells, TotalEggs -- View this message in context: http://r.789695.n4.nabble.com/masked-by-GlobalEnv-tp4628664.html Sent from the R help mailing list archive at Nabble.com.
2009 Jul 08
1
What is cast telling me?
...ith something meaningful to me. On thing would the the ExNum value from the first occurrence at that crosspoint, or the PL_Pos value, etc. How might I write a fun.aggregate to to that? Thanks, Mark > dim(MyResults) [1] 1105 12 > head(MyResults, n=15) ExNum PosType EnDate EnTime ExDate ExTime PL_Pos Costs Save2 time value id 1.1 1 -1 1080103 800 1080103 1310 520 26 0 1 746.2 1 2.1 2 -1 1080104 755 1080104 1310 530 26 0 1 721.9 2 3.1 3 1 1080107 945 1080107 1310 -340 26 0 1 722.8 3 4.1 4 -1 10...
2009 Jun 30
0
ri_cal 0.7.0 Released
...Missing comparison methods in PropertyValue::Date * Fixed http://rick_denatale.lighthouseapp.com/projects/30941/tickets/6 Type of dtstart and dtend (DATE or DATETIME) now preserved on enumeration ### 0.0.8 * Fixed http://rick_denatale.lighthouseapp.com/projects/30941-ri_cal/tickets/1 EXDATE and RDATE now pick up the timezone from DateTime, Time, and TimeWithZone values * Fixed http://rick_denatale.lighthouseapp.com/projects/30941/tickets/2 Missing arithmetic methods in PropertyValue::Date * Fixed http://rick_denatale.lighthouseapp.com/projects/30941/tickets/3 Component...
2009 Jul 11
2
Date conversions
...-03" "2020-01-06" "2020-01-07" "2020-01-08" "2020-01-09" "2020-01-10" "2020-01-13" "2020-01-14" "2020-01-15" "2020-01-16" [12] "2020-01-17" > > > MyDate2 Trade PosType EnDate EnTime ExDate ExTime 1 1 -1 1040127 919 1040127 932 2 2 1 1040127 1155 1040127 1208 3 3 -1 1040127 1300 1040127 1313 4 4 -1 1040128 958 1040128 1313 5 5 -1 1040129 1024 1040129 1129 6 6 1 1040129 1234 1040129 1313 7 7 1...
2012 Oct 08
0
Best method for comparing rectangles sections of beach
...--- Signif. codes: 0 ?***? 0.001 ?**? 0.01 ?*? 0.05 ?.? 0.1 ? ? 1 5 observations deleted due to missingness Warning message: In model.matrix.default(mt, mf, contrasts) : variable 'Aeventexhumed' converted to a factor --------- > head(data.to.analyze) QuadratEvent ExDate Sector Quadrat Aeventexhumed ST0 ST1 ST2 ST3 ST4 Shells 1 8.1A Nov. 26, 2010 14 8 A 6 0 1 98 1 72 2 10.1A Nov. 26, 2010 13 10 A 4 0 0 109 1 74 3 14.1A Nov. 18, 2010 20 14 A 6 0 2 2...
2011 Sep 10
0
npreg: plotting out of sample, extremely large bandwidths
...A simple simulated example is given below. Two things are happening in the analysis that I do not understand: First, although all the data have x1>=x2, plot returns a plot with estimates for all values of (x1,x2), including where x1<x2 and therefore there are no data. I have tried using the exdat option to specify that the predictions should be carried out only on the existing data, but this does not seem to work. (See example below.) How can I tell plot / npplot to plot only within the range of the data? Alternatively, can I specify the exact set of points at which the plotting should occ...
2009 Jul 10
2
ReShape/cast question - sum of value in table
...Y = read.table("C:\\test.txt") names(Y)[7] = "value" Y ReShape.Y = reshape(Y, varying=list(names(Y)[7]), direction='long') ReShape.Y cast(ReShape.Y, EnTime ~ ExTime) When run the last two steps output the following: > ReShape.Y Trade PosType EnDate EnTime ExDate ExTime time value id 1 1 -1 1080103 800 1080103 1310 1 520 1 2 2 -1 1080104 755 1080104 1310 1 530 2 3 3 1 1080107 945 1080107 1310 1 -340 3 4 4 -1 1080108 820 1080108 1310 1 2150 4 5 5 -1 1080109 855 1...
2009 Jul 09
2
How to Populate List
...ith something meaningful to me. On thing would the the ExNum value from the first occurrence at that crosspoint, or the PL_Pos value, etc.    How might I write a fun.aggregate to to that? Thanks, Mark > dim(MyResults) [1] 1105   12 > head(MyResults, n=15)      ExNum PosType  EnDate EnTime  ExDate ExTime PL_Pos Costs Save2 time value id 1.1      1      -1 1080103    800 1080103   1310    520    26     0 1 746.2  1 2.1      2      -1 1080104    755 1080104   1310    530    26     0 1 721.9  2 3.1      3       1 1080107    945 1080107   1310   -340    26     0 1 722.8  3 4.1      4      -1 10...