similar to: Find and remove elemnts of a data frame

Displaying 20 results from an estimated 1000 matches similar to: "Find and remove elemnts of a data frame"

2010 Nov 20
2
Merge two ggplots
Hello everyone. I am using ggplot and I need some help to merge these two plots into one. plot_CR<-function(x,y,agentid,CRagent){   library(ggplot2)     agent<-CRagent[[agentid]] # To make following expression shorter   ggplot((data.frame(x=CRX,y=CRY,sr=agent$sr)))+   geom_point(aes(x,y,colour=cut(sr,c(0,-10,-20,-30,-40,-50,-60,-70,-80))))+   geom_text(aes(x,y,color=cut(sr,
2010 Oct 22
2
create sequence of numbers
Hello. I want to create some sequence of numbers . So far I used sequence which does not work always seq(CRagent[[1]]$xy[1],CRagent[[2]]$xy[1],by=0.01) Error in seq.default(CRagent[[1]]$xy[1], CRagent[[2]]$xy[1], by = 0.01) : wrong sign in 'by' argument Calls: seq -> seq.default if the parameters are in descending form. The ideal would be to be able to use seq like this
2011 May 09
3
Recursive Indexing Failed
Dear all, I would like to ask your help concerning an error message I get. I have the following struct str(CRagentInTime[[1]]) List of 2 $ timelag: int 0 $ CRagent:List of 50 ..$ :List of 3 .. ..$ CRmap: num [1:256, 1:256] NA NA NA NA NA NA NA NA NA NA ... .. ..$ xy : num [1:2] 10 177 .. ..$ sr : num [1:49] -94.9 -92.8 -79.5 -97.6 -78.4 ... and I wanted to select all the sr fields
2010 Nov 17
1
Give me all operator
Hello is there in R any operator that give you all the data of a matrix for example in matlab x(2,3) returns the 2ndth row and 3rdth column x(2,:) returns all the columns of the 2nd row. In R now I would like to print all the  CRagent[[i]][2]  CRagent[[:]][2] doesnot work of course. Other option is to make a loop with an index i that spans from 1:last element of CRagent[[]] but this is not
2010 Oct 05
3
Make a loop more efficient
Hello everyone I need some advice if the following might be easier implemented. There are n matrixes each matrix needs to calculate one value for the rest n-1 matrixes (but not for itself). I implemented this one by two nested loops for (i in c(1:length(CRX))) { for (j in c(1:length(CRX))) if (i!=j) # where i and j are the two indexes. If i==j then is the same matrix.
2010 Nov 22
1
plot inside function does not work
Hello everyone, when I commit a plot using console(command line?) plot works fine. I have created a function that plots based on the input. This function is called plot_shad. When I call this function alone in the command line I get my plot. Then I tried to use another function as depicted_below to do some calculation before calling the function that does the plotting.
2012 Jan 03
0
Create and Initialize List values
Dear all, seasons greetings, I had made a list of elements that I want to have  # list generator Agent<-list(id=NA, position=list(x=NA,y=NA)) # Make list of Agents AgentList<-rep(list(CRAgent),5) # Initialization. Is it shorter to do that with a lapply statement? for (i in c(1:length(CRAgentList))){   AgentList[[i]]$id=i } The created struct looks like > str(AgentList) List of 5  $
2013 Mar 26
2
Counting various elemnts in a vactor
Dear R forum I have a vector say as given below df = c("F", "C", "F", "B", "D", "A", "D", "D", "A", "F", "D", "F", "B",    "C") I need to find (1) how many times each element occurs? e.g. in above vector F occurs 4 times, C occurs 2 times etc. (2)
2016 Jan 07
1
Permissions Problem on a share
try with an unc path and not a drive letter. if you get the admin auth you loose the drive letter. greetz, louis > Op 7 jan. 2016 om 20:37 heeft Mike <1100100 at gmail.com> het volgende geschreven: > > Version 4.1.19-SerNet-RedHat-11.el7 on CentOS 7.1503 > > Trying to install a software app on a domain user's windows client (Win 7 > Pro). > The user and
2004 Sep 15
2
smbclient's tar_re_search broken?
Hi all, My old and stable backup script don't work anymore. It's based on smbclient's tar command using crX parameters for creating archive, excluding files based on basic regular expressions. The box is running Fedora core 2, fully updated: kernel-2.6.8-1.521 samba-common-3.0.7-2.FC2 samba-client-3.0.7-2.FC2 The error is easily reproducible: smbclient //ntpdc/share -A credfile \ -c
2016 Jan 07
2
Permissions Problem on a share
that was a stupid answer, sorry, i did read it correctly. post your smb.conf (sanitized) so we can have a look what we are talking about. > Op 7 jan. 2016 om 20:56 heeft L.P.H. van Belle <belle at bazuin.nl> het volgende geschreven: > > try with an unc path and not a drive letter. > if you get the admin auth you loose the drive letter. > > greetz, > louis >
2005 Aug 23
1
openssh-unix-dev Digest, Vol 28, Issue 10
On Tue, Aug 23, 2005 at 03:10:45PM +1000, openssh-unix-dev-request at mindrot.org wrote: > Date: Fri, 19 Aug 2005 17:56:19 +1000 > From: Darren Tucker <dtucker at zip.com.au> > Subject: Re: OpenSSH sget/sput suggestion > To: CRX Driver <crxssi at hotmail.com> > Cc: openssh-unix-dev at mindrot.org > Message-ID: <430590A3.1090506 at zip.com.au> > Content-Type:
2005 Mar 22
2
Error: Can not handle categorical predictors with more than 32 categories.
Hi All, My question is in regards to an error generated when using randomForest in R. Is there a special way to format the data in order to avoid this error, or am I completely confused on what the error implies? "Error in randomForest.default(m, y, ...) : Can not handle categorical predictors with more than 32 categories." This is generated from the command line: >
2012 Jun 11
1
[LLVMdev] anti-dependency breaking and mask/shift dependencies
On Mon, 11 Jun 2012 08:56:21 -0700 Jakob Stoklund Olesen <stoklund at 2pi.dk> wrote: > > On Jun 11, 2012, at 8:07 AM, Hal Finkel wrote: > > > Also, I think the following might work well: If we add a special > > kind of register dependency called a 'remembered' register. This is > > not a real dependency meaning that that the instruction does not >
2005 Mar 23
1
Gini's Importance Value Variable = Inf
Hi All, In the script below, the importance measure for column 4 (ie MeanDecreaseGini) indicated "Inf" for V7. Running the getTree command showed that "V7" had been selected at least twice in one of the trees for Random Forest. So the "Inf" command was not generated as a result of dividing the sum of the decreases by 0. Any suggestions on what may be causing the
2016 Jan 07
0
Permissions Problem on a share
Currently away from my desk. Will post smb.conf as soon as I get to ssh terminal. Thanks for your help. On Jan 7, 2016 3:05 PM, "L.P.H. van Belle" <belle at bazuin.nl> wrote: > that was a stupid answer, sorry, i did read it correctly. > > post your smb.conf (sanitized) so we can have a look what we are talking > about. > > > > Op 7 jan. 2016 om 20:56 heeft
2010 Nov 17
2
How to catch warnings
Hello when my code executes I receive the message that were some warnings. I want to catch warning messages at run time so to print some local variables and try to understand why this warning happens. I searched on internet and I tried withCallingHandlers( which seems to work but as I used Rkward the result is awful. I get a prompt to copy paste a value only while at the same time my background
2005 Aug 17
3
OpenSSH sget/sput suggestion
Not sure if this has ever been suggested before as a feature request, but I am getting off my lazy a** and sending this Email to your list. Hopefully you will think it is a wonderful idea. I am forever using the wonderful OpenSSH on many systems and have done so for many years. But I often find myself wanting to transfer files while ssh'ed into another system. If I could just have a
2005 Mar 23
0
Question on class 1, 2 output for RandomForest
The `1' and `2' columns are the error rates within those classes. E.g., the last row of the `1' column should correspond to the class.error for "-", and the last row of the `2' column to the class.error for "+". (I would have thought that that should be fairly obvious, but I guess not. It mimics what Breiman and Cutler's Fortran code does.) I suspect
2012 Jul 30
6
Convert variable to STring
Dear all, I have a variable that I would like also to use it as a string. The reasons is that I want to collect results from different function to one table.. So when I use the  colnames(mymatrix) <-c(function1.function2,function3) the function1, function2, function3 to be "converted" to simple strings so as  colnames(mymatrix)