Displaying 20 results from an estimated 34 matches for "ranney".
2012 Nov 27
4
Finding values in one column and
...15
35 13 9
18 15 16
and a data frame
data.b
ID valueA valueB
6
84
21
78
14
I'd like to have R find the data.b$ID in data.a$ID and insert the
corresponding data.a$valueA and data.a$valueB into the appropriate
columns in data.b.
How can I do this?
Thanks for you help.
SR
Steven H. Ranney
2012 Dec 11
5
Retain last grouping after a strsplit()
...quot; "1"
"OYS" "PIA2" "LA" "10"
...
which is great. Unfortunately, I'm stuck. I don't know how to
retrieve the final grouping of information from the strsplit()
statement I called into a new column.
Can you help?
Thanks -
SR
Steven H. Ranney
2013 Oct 11
3
Create sequential vector for values in another column
...y I could think of to do this is with two nested for loops. I
tried it but because this data set is so large (nrow = 112,679 with 2,161
unique values of id.name), it took several hours to run.
Is there an easier way to create this vector? I'd appreciate your thoughts.
Thanks -
SR
Steven H. Ranney
[[alternative HTML version deleted]]
2010 Aug 23
2
Quantile Regression and Goodness of Fit
...ed package quantreg in the past, I may have overlooked
this function, if it is included.
Citation:
Koenker, R. and J. A. F. Machado. 1999. Goodness of fit and related
inference processes for quantile regression. Journal of the American
Statistical Association 94:1296-1310.
Thank you -
Steven H. Ranney
Graduate Research Assistant (Ph.D.)
USGS MT Cooperative Fishery Research Unit
Montana State University
PO Box 173460
Bozeman, MT 59717
office: 406-994-6643
fax:? ? 406-994-7479
http://studentweb.montana.edu/steven.ranney
2008 Dec 18
2
Contextstack overlow
...xtstack overflow" error at line 50. From reading the archives, it looks as though this is a hard limit but can be changed rather easily. Unfortunately, I haven't found any specifics on how to change this limit. Does anyone know how I can edit this upper limit?
Thanks,
SR
Steven H. Ranney
Graduate Research Assistant (Ph.D)
USGS Montana Cooperative Fishery Research Unit
Montana State University
P.O. Box 173460
Bozeman, MT 59717-3460
phone: (406) 994-6643
fax: (406) 994-7479
http://studentweb.montana.edu/steven.ranney
[[alternative HTML version deleted]]
2011 Mar 24
3
tapply with specific quantile value
...ile by l.c.1 so I use
tapply(x, l.c.1, quantile)
and my output includes all quantiles (i.e., 0, 25%, 50%, 75%, 100%)
but I'm only interested in the 75% quantile. Is there an additional
statement or function I can use to get just the quantile that I want?
Thanks for your help -
SR
Steven H. Ranney
2008 Jun 10
3
newbie nls question
...9) having an effect? I am using Tinn-R as an editor
I'm new to R, trying to get away from Rcmdr (though it has been helpful), and still trying to learn the language with the aid of several books on the R. A search of the R Archive did not prove fruitful.
Thanks in advance,
SR
Steven H. Ranney
Graduate Research Assistant (Ph.D)
USGS Montana Cooperative Fishery Research Unit
Montana State University
PO Box 173460
Bozeman, MT 59717-3460
phone: (406) 994-6643
fax: (406) 994-7479
[[alternative HTML version deleted]]
2004 Sep 10
3
call quality monitoring
...when the jitter buffer notices that
packets are discarded because they are too late, when excessive
packets are completely missing, etc.
I've been collecting a giant debug log for a while now, so I could
pretty easily sift through it if there's something good to look for.
Thanks.
--
Matt Ranney - mjr@ranney.com
2008 Jun 12
2
Predicting from an nls model
...y) : 'x' and 'y' lengths differ
Like my last post, I'm certain there's something simple I'm overlooking. I've been able to get this to work on other data sets, but _how_ I've been able to get this to work, I'm unsure.
Thanks for your help,
SR
Steven H. Ranney
Graduate Research Assistant (Ph.D)
USGS Montana Cooperative Fishery Research Unit
Montana State University
PO Box 173460
Bozeman, MT 59717-3460
phone: (406) 994-6643
fax: (406) 994-7479
[[alternative HTML version deleted]]
2008 Dec 22
3
Summary information by groups programming assitance
...uch easier (and likely less error prone) method to achieve
the same results. Ideally, the "Length" and "vol" data would be in a
data frame such that I could then analyze with nls.
Does anyone have any thoughts as to how I might accomplish this?
Thanks in advance,
Steven Ranney
2008 Jun 13
2
Quartile regression question
...nd a 75th percentile line? Further, since my data is lake>1, is there a way to run 3rd quartile regressions on each lake? I would imagine that regressing each population would require some call of the subset function, but I cannot figure out how to call it.
Thanks in advance,
SR
Steven H. Ranney
Graduate Research Assistant (Ph.D)
USGS Montana Cooperative Fishery Research Unit
Montana State University
PO Box 173460
Bozeman, MT 59717-3460
phone: (406) 994-6643
fax: (406) 994-7479
[[alternative HTML version deleted]]
2010 Nov 19
1
TukeyHSD error
...hen I run the final line, I get the following error message
"Error in TukeyHSD.aov(aov.DO) : no factors in the fitted model
In addition: Warning message:
In replications(paste("~", xx), data = mf) : non-factors ignored: level"
What am I missing?
Thanks for your help -
Steven Ranney
steven.ranney at montana.edu
2012 Oct 15
1
rJava install - "%1 is not a valid Win32 application."
...into R (2.15.1,
64-bit version), I get the following error:
> require(rJava)
Loading required package: rJava
Error : .onLoad failed in loadNamespace() for 'rJava', details:
call: inDL(x, as.logical(local), as.logical(now), ...)
error: unable to load shared object
'C:/Users/sranney/Documents/R/win-library/2.15/rJava/libs/x64/rJava.dll':
LoadLibrary failure: %1 is not a valid Win32 application.
I have verified that the file R is looking for is in the appropriate place,
but I continue to get the error. I have tried to download rJava from
another source, but still get...
2004 Sep 20
2
Cisco 76XX - How to ignore a call (silence ring)
I am preparing to setup a system using Cisco 7940 and 7960's I have the
7.1 SIP firmware on them.
One issue I have run into is how to silence the ringer if a call comes
in and you don't want to take it.
Many phones have a DND button. I know the 79XX has the DND in the menu
but it is to cumbersome to go into the settings then phone preferences
then the DND and select yes.
Is there any other
2011 Mar 25
2
"for" loop assistance -
...I could use a ?for? loop,
but as someone that is new to R programming, I am unsure of how to go
about creating the for loop to build the second data frame. I've
tried to modify existing for loops that I already have but have been
unsuccessful.
Do you have any suggestions?
Thank you ?
Steven Ranney
2008 Aug 22
2
Newbie programming help
...lake in the data set; 2) I'd like to save the intercepts and slopes
from each of these linear regressions into a seperate data frame. Any ideas? I think it would
probably require some kind of 'for' statement, but I'm just not that smart.
Thanks for your help,
SR
Steven H. Ranney
Graduate Research Assistant (Ph.D)
USGS Montana Cooperative Fishery Research Unit
Montana State University
PO Box 173460
Bozeman, MT 59717-3460
phone: (406) 994-6643
fax: (406) 994-7479
[[alternative HTML version deleted]]
2012 Nov 29
1
Read in alphanumeric column without decimals
...w can I read in the values without R adding the ".0" to the end of
the numerals? If there isn't a way, how can I automate the removal of
the ".0," as I have several 10s of TeamLeaderID values?
I'm using 64-bit R v. 2.15.1 on a Windows 7 machine.
Thank you -
Steven H. Ranney
2012 Dec 19
1
"For" loop and "if" question
...ut I don't know how to set up something that has
a "for" and an "if/else" statement. And frankly, with the number of
pX, LatX, and LongX, I think that my if/else statement would be huge
and unwieldly.
Could anyone offer any assistance?
Thanks for your help -
SR
Steven H. Ranney
2008 Sep 02
2
nls.control()
...'minFactor' of 0.000976562".
However, when I use nls.control=(minFactor=0.000001) OR nls.control(minFactor=0.000001),
I get the same error. I'm at a loss. I'm not sure what else I can do to have R reduce
the step size if it's not nls.control().
Thanks,
SR
Steven H. Ranney
Graduate Research Assistant (Ph.D)
USGS Montana Cooperative Fishery Research Unit
Montana State University
P.O. Box 173460
Bozeman, MT 59717-3460
phone: (406) 994-6643
fax: (406) 994-7479
[[alternative HTML version deleted]]
2012 Oct 26
1
Package RODBC sqlQueries
...sqlQuery(db, SELECT tblDataFieldRawSiteVisit.*
FROM tblDataFieldRawSiteVisit
WHERE (((tblDataFieldRawSiteVisit.dataForm)="Oyster Transition Plan
Site Mapping Detail"));)
I get the following error message:
Error in source(.trPaths[5], echo = TRUE, max.deparse.length = 150) :
C:\Users\sranney\AppData\Roaming\Tinn-R\tmp\selection.r:2:32:
unexpected symbol
1: db <<- odbcConnectAccess2007(paste(dbPath, dbName, sep = ''))
2: testData = sqlQuery(db, SELECT tblDataFieldRawSiteVisit.
^
Previous RODBC/SQL statements used by other coders at my firm...