similar to: Concatenate a Variable

Displaying 20 results from an estimated 3000 matches similar to: "Concatenate a Variable"

2008 Feb 14
3
contingency table
Hello! May you help me? I'm trying to do a contingency table using this > data(iris) > library(rpart) > modelo <- rpart(Species ~., iris) > prev <- predict(modelo, iris) Finally the contingency table > table(iris$Species, prev) But an error occurs: Error in table(iris$Species, prev) : all arguments must have the same length And I do not understand why, may you
2008 Feb 11
1
The function predict
Good Morning! May you help me? I need to understand the function predict. I need to understand the algorithm implemented, the calculations associated. Where can I find this information? Thank You!
2008 Mar 07
3
Error
Hello! I need some help, because I don't know how this error means: Error: variables ?Output1?, ?Output2?, ?Output3?, ?Output4?, ?Output5? were specified with different types from the fit Execution halted Can you help me? Thank You
2008 Jan 09
2
Two dependent variables in formula
Hello, I' m trying to change the formula in the rpart function. The format of a general formula is Answer ~ expression, where Answer is the dependent variable and expression is set of terms containing the independent variables and separated by operators. I want the response of the formula is more than one dependent variable. It is possible?
2008 Jan 25
2
How can I join two lists?
How can I join two lists? I have q1 and q2 and I want to merge them. I have tried to use the comand merge, but not work. Any solutions? Thanks! > q1 $Input1 7.84615384615385 0.5 $Input2 8.92307692307692 -3.2 $Input3 4.53846153846154 -5 > q2 $Input1 7.84615384615385 2 $Input2 8.92307692307692 -0.3125 $Input3
2012 Jun 26
5
chisq.test
Dear list! I would like to calculate "chisq.test" on simple data set with 70 observations, but the output is ''Warning message:'' Warning message: In chisq.test(tabele) : Chi-squared approximation may be incorrect Here is an example:         tabele <- matrix(c(11, 3, 3, 18, 3, 6, 5, 21), ncol = 4, byrow = TRUE)         dimnames(tabela) <- list(        
2008 Feb 27
7
Cross Validation
Hello, How can I do a cross validation in R? Thank You!
2001 Nov 28
17
problem of access with files accentuated
I need of helps for do backup of a server windows2000(english). In the files accentuated, presents to following message: ERRDOS - ERRbadfile (File not found.) opening remote file \f\adm\Arquivos diversos e tempor rios\Tabela Master de Importaao.xls (\f\adm\Arquivos diversos e temporarios\ They are more of 60 pages with this message. When I rename the name of the file to without accent, it
2012 Nov 20
2
Controlling the number of interactions of a lme
Hello everybody, i'm trying to run a lme but am having a problem. My model have many response variables and when i run the anova, the number of interactions (up to six) is great and the p-values of all variables not appear. I wanted to know if i could to control the number of interactions of the model, or if this method is the most advisable for so many variables. Thanks in advance!
2011 Jun 13
4
How to calculate the product of every two elements in two lists?
u<-c(0.1,0.2,0.3) v<-c(0.2,0.3,0.5) outer1<-outer(u,u,">=") outer2<-outer(v,v,">=") m<-nrow(outer1) j<-nrow(outer2) zz<-lapply(1:m, function(m) as.numeric(outer1[m,])) tt<-lapply(1:m, function(m) as.numeric(outer2[m,])) zz[[1]]*tt[[3]], e.g., is possible, but I want every products between two lists. Is there a way to do that? -- View this
2009 Jan 24
3
Problem with colormodel in pdf driver
I'm trying to create figures in PDF that use the 'gray' colormodel instead of the default 'RGB' model, by requirements of a publisher. My problem has to do with the fact that I'm not being able to get gray colors with this option on the pdf() driver. Here is a small example for problem replication: > R.version _ platform
2006 Jul 14
3
compare two tables and find the difference?
I need to compare a column in TableA to a column in TableB and then select 3 columns from TableA for all the records in TableA that don''t exist in TableB. TableA and TableB are different but do have one field in common that i am comparing. The tables are not related in anyway. right now I have a find_by_sql query located in a model that looks like this: def self.absent_charges
2007 Nov 03
1
Pearson residuals
Dear Sirs What is the best aproximation to the standardized normal distribution: necessidade = c("sem necessidade","com necessidade") tipo =c("CE-1", "CE-2", "CE-3") dados=c(20,34,44,69,9,3) Tabela =cbind(expand.grid(list(Necessidade=necessidade, Tipo=tipo)), count=dados) Tabela.array=tapply(Tabela$count, Tabela[,1:2], sum) ni =
2010 Aug 19
1
Composite primary keys and :joins=>
I have a legacy db with the following simplified structure: Table-A: type_key, code_key, name, ... # PKs are type_key and code_key, there is no id col and I cannot alter this db Table-B: # each row has only the code as a foreign_key, the type_key is hard-coded to "FOOKEY" an_id, code, ... Models: class TableB < AR::Base set_table_name ''table_b''
2006 Mar 15
4
help with DRY violation
I''m trying to be a good rails developer and fix DRY violations as i find them. However, i''m trying to fix this one, i cant seem to get it to work. I have two tables A and B that have a one-to-one relationship. Table B belongs_to Table A. Table A has_one Table B. I''m creating instances of Table A in different places, depending on the controller. However, for each
2012 Mar 24
0
Help ordinal mixed model!
Good afternoon, gentlemen! After several days studying and researching on categorical data (various forums with answers from the owner of the library - all incipient) how to interpret the output the function MCMCglmm, come to enlist the help of you, if someone has already worked with MCMCglmm function in the case of variables ordinal dependent. I've read and reread all the pdf's of the
2005 Feb 23
1
error when trying access internet.
Anyone can help? I continue without access from server: /etc/cron.daily/freshclam: ERROR: No servers could be reached. Giving up ERROR: No servers could be reached. Giving up ERROR: No servers could be reached. Giving up ERROR: No servers could be reached. Giving up ERROR: No servers could be reached. Giving up ERROR: No servers could be reached. Giving up ERROR: Update failed. Your network may
2006 Feb 23
9
Balancing multiple connections and NAT
Hi, I have a client connected to the ''net through 3 ISP''s. Have set up a Linux box to do routing and load sharing for the 3 connections. A fourth interface is connected to the LAN with private IP addresses. Am using iptables to SNAT traffic to the appropriate IP depending on the interface the packet gets routed onto. The setup looks something like this: Interface IP
2010 Sep 17
1
odfWeave UTF-8 error and latin characters
Hello R masters, I have sent this same message to other lists and none so far could give some light. I was trying to use odfWeave to generate a report from R and Im getting an error that I think is related to latin characters. I looked around and did find some stuff related to this problem about Sweave http://labmoluscos.wordpress.com/2010/02/18/sweave-latex-character-encoding/ but did not find a
2015 Oct 05
1
Dovecot don't erase mails from storage.
Hi, I have a dovecot installation with a strange problem: all the mails stays in storage after deleted from users mailbox. If user logon after the mails are deleted, they don't receive them any more, but the m.## files aren?t deleted. This happens with pop3 (default for this installation) and/or imap. The dovecot is installed along postfix with mysql and multi-domains support Here's the