Displaying 3 results from an estimated 3 matches for "plotnum".
Did you mean:
slotnum
2008 Jul 28
4
RODBC to query an Oracle table
...ed learning it. But if someone could point me in the right direction or tell me if I am going about this the correct way that would be greatly appreciated! The script I have right now is:
>require(RODBC)
>channel<-odbcConnect("MeganXE")
>stbl<-sqlQuery(channel, 'select plotnum, sampyear, sptype from density')
>sqlQuery(channel, 'select count (sampyear, plotnum, sptype) from stbl where sampyear=1995 AND plotnum=1 AND sptype='S' OR sptype='H')
I get this error: unexpected symbol in "sqlQuery(channel...)"
I would like R to return a cou...
2010 Aug 25
2
find most repeated item from column in dataframe
...nd the help page, but have had no success in finding a solution. I have
tried using the table function but it returns items for the whole dataset
and not by the StandID. Any help will be appreciated. Thanks in advance.
R version 2.11.1
Windows 7
Dataframe is imported from text file
StandID PlotNum HerbNum Woody
001 1 1 low
001 2 2 medium
001 3 1 low
001 4 3 low
001 5 1...
2006 Mar 02
0
Combining plaintext and plotmath expressions
...return(exprtitle)
}
As an example:
> parmlabel<-'"Vb1-Vb2 "*(Omega)'
> testlabel<-'E-test'
> op<-'dev lab'
> oplabel<-'Development Lab'
> expr.label("SPC Chart for")
I then use exprtitle in:
plot(1:10,title= if(plotnum==1) parse(text=exprtitle) else NULL)
However:
this code seems convoluted and ungainly
I don't always get the results I want
Any suggestions?
Leif Kirschenbaum
Senior Yield Engineer
Reflectivity, Inc.
(408) 737-8100 x307
leif at reflectivity.com