Displaying 20 results from an estimated 1000 matches similar to: "write.table command"
2005 Nov 09
2
Sort a dataframe
Dear All,
How can I sort a data frame (using one of the column)?
Thanks for your support.
Regards.
Abd. Rahman Kassim (PhD)
Head Forest Ecology Branch
Forest Management & Ecology Program
Forestry and Conservation Division
Forest Research Institute Malaysia
Kepong 52109
Selangor, Malaysia
*****************************************
Checked by TrendMicro Interscan Messaging Security.
For any
2006 Jan 19
2
Legend Outside Plot Dimension
Dear All,
I'm trying to attach a legend outside the plot (Inside plot OK), but failed. Any help is very much appreciated.
Thanks.
Abd. Rahman Kassim, PhD
Forest Management & Ecology Program
Forestry & Conservation Division
Forest Research Institute Malaysia
Kepong 52109 Selangor
MALAYSIA
*****************************************
Checked by TrendMicro Interscan Messaging Security.
2005 Nov 10
2
polynomials transformation
Dear All,
Need some help in polynomials transformation to get the coefficients. I have tried "poly.transform" as applied in S-plus but it does not work.
Thanks in advanced for any helps.
Regards.
Abd. Rahman Kassim (PhD)
Head Forest Ecology Branch
Forest Management & Ecology Program
Forestry and Conservation Division
Forest Research Institute Malaysia
Kepong 52109
Selangor,
2006 Mar 17
1
Adding axis limit to log-log plot
Dear All,
I've tried to add axis limit ( e.g. ylim=c(0,50)) to the log-log plot, but it turn out to be error (see below). Any solution is much appreciated.
> plot(maxsd$tph,maxsd$qdbh,log="xy",xlab="Stand density(trees per ha)",ylab="Quadratic mean dbh (cm)",ylim=c(0,50))
Error in plot.window(xlim, ylim, log, asp, ...) :
Infinite axis extents
2006 Feb 13
2
Plotting contour & filled.contour in one graph
Dear All,
I have a question on overlaying a filled.contour (e.g. on soil properties data) and contour (by elevation) in one graph. Both have the same z matrix dimension. I'm able to overlay both graph, but the plots dimension did not overlap well on the same plots. How can I have both filled.contour and contour on the same graph? The commands that I have written are as follows:
2013 Jun 12
1
Question on Simple Repeated Loops
Dear R-User,
Appreciate any helps. It looks simple, but I don't have a clue.
Given that I have a dataframe of tree population with three variables:
sp=species ,
d0=initial_size
grow=growth increment from initial size per year
How can I calculate the future growth increment of each tree for the next 3 years.
The following Rscript was written,
#----------
a0 <-
2012 Mar 11
2
Matrix negative fraction power
Dear list,
I understand that to raise matrix A to power (-1/2) we should use something
like this:
eigen(A)$vectors%*%diag(1/sqrt(eigen(A)$values))%*%t(eigen(A)$vectors)
[from previous discussions:
http://r.789695.n4.nabble.com/matrix-power-td900335.html]
But this will only do it for negative sqrt of the matrix not for other
fraction powers like (-3/2).
Seeing that these things be can done
2006 Oct 03
2
Change log path problem
Hello,
I changed the log path in shorewall.conf, LOGFILE=/var/log/messages to LOGFILE=/var/log/shorewall, and then I touched the shorewall file in /var/log, permission root:root 600, after shorewall restart, no logging messages appear in /var/log/shorewall. so how can I fix this problem ?
Thanks !!
_______________________________________
YM - 離線訊息
2010 Jul 15
1
Proper use of grep
I just need to confirm something with pattern matching folks. I have a factor with the following levels in a very large data set:
> levels(all$Classical.Statistic)
[1] "" "AB;ABD" "CollapsedSteps" "CR_P" "CR_Prop;CR_P;AB"
[6] "NMK"
2006 May 09
3
remove Punctuation characters
Hi,
I want to remove all punctuation characters in a string. I was trying it use
a regular expressions but it doesn't work.
Here is a sample os what i want:
str <- 'ABD - remove de punct, and dot characters.'
str <- gsub('[:punct:]','',str)
str
"'ABD remove de punct and dot characters"
is there any function that do this kind of thing?
Thanks to
2010 Aug 04
6
applying strsplit to a whole column
I am sorry, I'd like to split my column ("names") such that all the
beginning of a string ("X..") is gone and only the rest of the text is
left.
x<-data.frame(names=c("X..aba","X..abb","X..abc","X..abd"))
x$names<-as.character(x$names)
(x)
str(x)
Can't figure out how to apply strsplit in this situation - without
using a
2006 Jan 23
4
Transition between effects
Peepz,
I was looking into how script.aculo.us handles effect to write a
tutorial and for a current project I wanted to make transition between
PAIR effects possible. These PAIR effects are (Appear/Fade,
SlideUp/SlideDown, BlindUp/BlindDown) the effect that toggle can handle.
script.aculo.us calls queue.loop each 40 milliseconds, and that calls
all the effect.loop for all effects in the
2012 May 30
2
Sorting a data set
I am a novice user of R and am stumbling on how to order a dataset
produced during my session.
I have a 1863 row X 14 column dataset that I want to put out to a file.
I want the output sorted by the first column and then by the second
column both in ascending order. The first column is character and the
second is numeric (I hope). I used an "as.numeric" function to assign
that
2012 Jan 24
4
Question
We were looking at conducting a pilot program with Dell to virtualize our lab environments. We are specifically looking at Dell/Citrix provisioning servers. The OS in this setup is streamed from the server on every boot. I was curious if the R Project had any licensing stipulations in this type of setup. This is in the beginning phases and we wanted to answer some questions about licensing.
2003 Jul 17
3
how to divide a string into characters? - for comparing strings that is
Hi
I am searching for a way to do something like "ABC" -> c("A","B","C"). How can this be accomplished?
I tried cut() and split(), but they do something else, it seems.
The purpose for doing this is to find the number of common (and uncommon) characters, i.e. ultimately I want something like this:
> foo("ABD","ADE")
c(2,1) # 2
2006 Jan 20
5
Height problem after interrupting SlideDown/SlideUp effects
Hi,
i have a problem with the the SlideDown and SlideUp effects. Since a similiar
problem is also visible on the script.aculo.us homepage, i''m going to explain
it this way.
- Go to http://script.aculo.us/
- On the main site below "visual effects", click "Advanced options", the sub
panel will scroll down.
- Hit the close button, and while the panel is still
2006 May 11
1
[Globalize] Enhancement - zip code regexes for each country
Was just playing around with trying to sort out validation of zip/postcodes
depending on what country the user lived in, and was wondering if anyone has
done this in a nice way? Seems to me that it would be a relatively simple
addition to Globalize to add a regex for zip code validation to the things
already in there?
Or am I missing a trick?
Thanks
geoff
-------------- next part --------------
2014 Dec 02
2
[LLVMdev] Cloned Functions Are Not the Same
I am trying to use CloneFunction to clone every IR function in a program,
give the cloned versions a prefix and call the clones from the original
functions (redirect the calls).
Surprisingly, I see that after the LTO optimizations, the number of machine
basic blocks in the two functions differ in some cases.
Is this reasonable at all, given that the two functions must be exactly the
same in the
2014 Mar 30
2
[LLVMdev] Running an IR pass after all IR passes
Thank you very much John.
With an environment variable I need to take some special care, but it looks
like the only way to go.
On Sun, Mar 30, 2014 at 11:07 AM, John Criswell <criswell at illinois.edu>wrote:
> Dear Rahman,
>
> I think your best option is to modify the code in libLTO so that it runs
> your pass when you want it to run. I believe the file you want to modify
2015 Jan 12
2
[LLVMdev] LTO support on Mac
On Jan 12, 2015, at 2:45 PM, Rafael Espíndola <rafael.espindola at gmail.com> wrote:
> On 10 January 2015 at 17:43, Rahman Lavaee <r.lavaee at gmail.com> wrote:
>> Hi,
>> I'm building LLVM on Mac OS 10.10 and I'm having trouble making LTO work.
>> The system linker dumps the following information when I executed "ld -v"
>>
>>