Displaying 2 results from an estimated 2 matches for "pds_gagehandles".
2011 Apr 22
1
Paste problem when looping variable assignments
...R doesn't seem to like. I am trying to
create a variable for each site I am looking at (with the format
"sitename_pdswy") that contains how many events occurred in a given year,
which I want to use in further calculations. I keep getting the following
error message:
Error in paste(pds_gagehandles[[i]], "_pdswy", sep = "") <- POTWY_cut :
could not find function "paste<-"
Does anyone know how I might be able to do this? It seems like the type of
thing that must have a simple solution that I am just overlooking..
I have posted my entire code below, wit...
2011 Jun 07
1
Sorting a data frame with values of different lengths
...a
significance level for the trends I am observing.
In the process of doing this, I need to sort a data frame that measures 3 x
1001 based on the value of the test statistic (W). I am trying to get the
data in ascending order based on W. My data frame looks something like
this:
> W_table
pds_gagehandles.i. p W
W mibe 1 746
2 mibe 2 870.5
3 mibe 3 767
4 mibe 4 1066
5 mibe 5 885
6 mibe 6 931.5
7 mibe 7 765
8 mibe 8 930
9 mibe 9 696.5
10...