search for: newtabl

Displaying 15 results from an estimated 15 matches for "newtabl".

Did you mean: newtable
2006 Apr 15
1
Removing Rows/Records from a Table
I would like to selectively remove rows from a table. I had hoped that I could create a table and selectively add rows with something like > NewTable<-table(nrow=100, ncol=4) > NewTable[1,]<-OldTable[10,] but that doesn't work. The former call gives > NewTable ncol nrow 4 100 1 while the latter call gives a table the length of OldTable. Making a matrix, m, with the desired table entries and doing >NewTable-table(...
2010 Dec 01
3
How to pass selection criteria in a function
...  77 stored a  table called myData. I want to write a function that will create a table which is a subset of myData containing those have a score > 75. I know I can do this with the following command: subset(myData, score > 75) But I would like to do this via a function, something like: newTable <- function( data,  criteria){                     subset( data, criteria) } and then calling:     newTable(myData, score > 75) But this doesn't work. I am sure there is a simple way to do this, but I am stuck! Please help. Thanks! Chris McCarthy, PhD Department of Mathematics BMCC...
2006 Oct 22
1
disaggregating table
Hi all, This should be easy, but I can't seem to figure it out. I have a table like this named newtable a1 a2 a3 a4 Cnts Score 1 1 0 0 4 3.28 1 0 1 1 2 2.63 I want the following: a1 a2 a3 a4 Cnts Score 1 1 0 0 4 3.28 1 1 0 0 4 3.28 1 1 0 0 4 3.28 1 1 0 0 4 3.2...
2011 Oct 17
5
Install the rugarch-package
Hi, i am unable to install the rugarch package. More than that i do not even find this package in my list of possible packages. Its possible than the name has changed, or the package is not longer availiable? Is there a similar package avaliable for garch modelling except the fGarch what i am using now? many Thanks Roland -- View this message in context:
2009 Jan 27
2
working with tables -- was Re: Mode (statistics) in R?
...3 3 8 2 8 5 5 Rgames> tbag[dimnames(tbag)$bag=="3"]->bagmode Rgames> bagmode 3 8 Related to this, since bag2 is now bereft of threes, Rgames> table(bag2) bag2 1 2 4 5 6 7 8 9 10 3 5 3 3 8 2 8 5 5 I was able to make the same table with Rgames> newtable<-tbag[c(dimnames(tbag)$bag)!="3"] Rgames> newtable bag 1 2 4 5 6 7 8 9 10 3 5 3 3 8 2 8 5 5 Is there a cleaner syntax to do these things? Thanks for your help--and feel free to point me to the Inferno or other paper on the philosophy and use of factors and ta...
2003 Oct 23
1
Can you create a MySQL database with RMySQL?
Is it possible to create a database in MySQL via RMySQL? Also, is the format for the authorization field 'userName/password at databasename'? I saw an example like this somewhere in the documenation, but I haven't found the actual specification. Thanks, Barnet Wagman
2006 Mar 14
2
Multi-line paste function
...else "" else { for (i in seq(along = args)) args[[i]] <- gsub("\n","",as.character(args[[i]])) .Internal(paste(args, sep, collapse)) } } Example with a SQL command on multiple lines: multi.line.paste(" SELECT * FROM estimates a, newtable b WHERE a.Ticker=b.Ticker AND a.Fiscal_Year=b.Fiscal_Year AND a.EPS<>b.EPS AND a.Date_Last_change-1.9>b.Date_Last_change ") Regards, Pierre ************************************************** AVIS DE NON-RESPONSABILITE: Ce document transmis par courrie...{{dropped}}
2005 Aug 22
3
read a table ignoring specific rows ?
...arched on the R site but was unable to find by myself). I have a table, called infile : 1 2 3 4 5 6 7 8 9 I would like to read it and ignore the rows with 1st element > 3 I do it now with a for loop, and it's ok, but I was expecting something simpler, like : intable = read.table(infile); newtable = intable[isgoodrow(intable)]; where : isgoodrow = function(therow) {if (therow$V1 > 3) return(F) else return(T);}; (... but this don't work). So, could somebody please tell me if there is a way to read a table ignoring specific rows, without using a for loop ? ... and if yes how ? Th...
2006 Sep 14
4
Massive data insert during migration
Hello all, I''ve got a site that will be used by people (hopefully) all over the world. One of the requirements of registration is country and province of residence. I have a list of all the countries in the world and all their subnational entities. Currently, the two lists are divided between a pair of comma-delimited text files. If this were something less dynamic and cool, I''d
2006 Mar 07
7
m:n or multiple 1:n?
I have a Newbee question: i have three tables and want to connect them. so is it stupid to make a triple m:n (rails style xs_ys_zs) or do i have to make a new table (newtable) where i got multiple 1:n? the habtm (has and belongs to many) do only work proper to join two tables, or i am wrong? -jens -- Posted via http://www.ruby-forum.com/.
2005 Dec 15
3
<no subject>
Dear all, I am still fairly new to R and try to analyze large tables of data generated from genomic experiment. Currently, I am trying to plot pair of experiments coming from different file, trying to look at the behavior of individual feature in pair of experiment. My problem is that I have independent list from different source and I would like to plot the pair of value using a common key. As
2007 Feb 23
1
help with RMySQL
...hen 141 stack imbalance in {, 138 then 139 stack imbalance in standardGeneric, 126 then 127 stack imbalance in class, 121 then 122 stack imbalance in <-, 119 then 120 stack imbalance in {, 117 then 118 stack imbalance in <-, 111 then 112 stack imbalance in {, 109 then 110 [1] "newtable" "ravi" Could somebody tell me why it shows a stack imbalance? 2)For this command testcmd1<-fetch(dbSendQuery(con,"select ticker from ravi where banks>=100")) > dim(testcmd1) The output is [1] 500 1 However when I give the same command direct...
2010 Apr 25
1
Problem loading MLInterfaces
I have been using R 2.10.1. and Bioconductor but the package "MLIntrefaces" is not being loaded on my platform. the error message Error in loadNamespace(i[[1L]], c(lib.loc, .libPaths())) : there is no package called 'coin' Error in as.environment(pos) : no item called "newtable" on the search list Error: package/namespace load failed for 'MLInterfaces' In addition there is an error message showing in R which is creating some problem during installaiton I have tried chanign the data directory path using in environment variable(R_LIBS= C:\\Users\\sm\\Docume...
2006 Feb 11
2
Route all LAN traffic through eth2 and keep web/mail traffic on eth0
Hi, I have the following config: 1 PC with 3 NICs, that shares internet connection to LAN. eth0 uses a public IP ($public_ip_1) eth1 uses a private IP ($private_ip) eth2 uses a public IP ($public_ip_2) I have a webserver and a mailserver accesible by $public_ip_1 (eth0) I have a LAN with all terminals using private IPs, and $private_ip (eth1) as gateway. $public_ip_1 and $public_ip_2 are from
2005 Apr 21
1
Fwd: (KAME-snap 9012) racoon in the kame project
FYI, looks like support for Racoon is ending. Does anyone have any experience with the version in ipsec-tools ? ---Mike >Racoon users, > >This is the announcement that the kame project will quit providing >a key management daemon, the racoon, and that "ipsec-tools" will become >the formal team to release the racoon. >The final release of the racoon in the