search for: reavie

Displaying 8 results from an estimated 8 matches for "reavie".

2010 Jan 31
3
combining data frames in a list - how do I add breaks?
I'm a week-old R user, and have become stuck trying to create usable CSV outputs for post-processing. I am using the package Rioja, which provides small datasets of results. I am running several analyses in a loop and iteratively adding the results to a *list* ("combined"). Within each iteration I use the following: > combined[[i]] <- performance(fit) With two iterations I
2010 Apr 17
1
Problems with labels and scaling in star diagrams
...d one way around problem 2 would be to reduce the dataset to one row (e.g. stardata[1,]) but that gives me an error "incorrect number of dimensions" when I try to generate the diagram. So, I seem to be unable to plot a single star diagram; it must be two or more. Many thanks - Euan. Euan Reavie, University of Minnesota Duluth.
2010 Mar 15
1
map2poly - map lat/long cannot be unconstrained?
...NA", dec=".", strip.white=TRUE) # plot map, then sample locations plot(lakes,xlim=range(-76,-93), ylim=range(40,50)) par(new=TRUE) # put next plot on same graph plot(LATITUDE~LONGITUDE, data=locs,xlim=range(-76,-93),ylim=range(40,50)) box()* Thank you for any help - Euan. Euan D. Reavie Center for Water and the Environment Natural Resources Research Institute University of Minnesota Duluth 1900 East Camp Street, Ely, MN 55731 email ereavie *at sign* nrri.umn.edu [[alternative HTML version deleted]]
2010 Feb 05
1
remove a row from a dataframe, row names disappear
I find this odd because it doesn't appear to happen in larger datasets. I have the following data set ENV with the first column set as row.names: > ENV TPlog 001S29H 0.601 002S42H 0.602 003S43S 0.779 004S43S 0.702 005S51H 0.978 006S52P 2.718 If I apply > ENV <- ENV[-1,] # remove first row of data (right?) ...ENV comes back as: [1] 0.602 0.779 0.702 0.978 2.718 So I
2010 Feb 05
0
remove a row from a dataframe, row names disappear - solution
...o collapse the subsetted result to the > smallest possible type, which in this case is a vector. Vectors have > no rows, and thus no row names. > > You need the drop=FALSE argument, as in > ENV <- ENV[-1, , drop=FALSE] > > Sarah > > On Fri, Feb 5, 2010 at 9:44 AM, Euan Reavie <euan.reavie@gmail.com> wrote: > > I find this odd because it doesn't appear to happen in larger datasets. I > > have the following data set ENV with the first column set as row.names: > > > >> ENV > > TPlog > > 001S29H 0.601 > > 002S4...
2010 Apr 01
3
Using a string as a variable name - revisited
I would like to revisit a problem that was discussed previously (see quoted discussion below). I am trying to do the same thing, using a string to indicate a column with the same name. I am making "foo" a string taken from a list of names. It matches the row where "item" = 5, and picks the corresponding "taxon" > foo <- list$taxon[match(5,list$item)] Let's
2012 Sep 14
1
Adding annotations to qplot from a data frame
..."Don't know how to add o to a plot." I also attempted to use multiple configurations of annotate (which only allows one label) and geom_text but the latter seems to be better suited for ggplot. Any help would be appreciated in getting these annotations to work with qplot. Best - Euan Reavie. U. Minnesota.
2004 Sep 12
0
:)) to excercise your heart
For me it is hard to c^ontr_'ol my weight cause I always thi~n.k l~i,ve near Pizzahut or Domin-.os could be such a blessing. Dy http://u.q.goodbetterrx.com usa m'~ed-s & nextday s_hi.p,pi.ng lull, broken by Hannah, who stalked in, laid two h_o`t turn-`overs on the table, and stalked out again. These turn_`overs were an institution, and the g_i-rlsc~a,ll^ed them `muffs', for they