similar to: Barplot with Sorted X-Axis

Displaying 20 results from an estimated 130 matches similar to: "Barplot with Sorted X-Axis"

2011 Jan 24
1
iproute2 custom tables and rules the CentOS way...
Hi all; I have a custom iproute2 table and a few rules to go along with it (CentOS 5) -- I have added the table to /etc/iproute2/rt_tables. if-up and friends doesn't seem to handle this real gracefully. How are those of you out there doing something similar managing this customization? I don't really want to muck with /etc/init.d/network or the if-up scripts to avoid breaking upgrades.
2012 Mar 27
1
RSqlite UPDATE command problem
All: I am using RSqlite and want to be able to update individual values in a record, such as with this simple example: library(RSQLite) drv<-dbDriver("SQLite") con<-dbConnect(drv,"test.db") my.data<-data.frame(countries=c("US","UK","Canada","Australia","NewZealand"),vals=c(52,36,74,10,98))
2011 Feb 04
2
Finding non-normal distributions per row of data frame?
This is my first attempt at this, so hopefully a few kind pointers can get me going in the right direction... I have a large data frame of 20+ columns and 20,000 rows. I'd like to evaluate the distribution of values in each row, to determine whether they meet the criteria of a normal distribution. I'd loop this over all the rows in the data frame, and output the summary results to a new
2010 Oct 22
1
RODBC: data base with decimal point ","
Dear R-users, I am working with R version 2.10.1 and package RODBC Version: 1.3-2 under windows. Say I have a table "testtable" (in an Access data base) with 3 columns and 1 row that looks like this: X Y Z 0012345 42 42,1 The columns are of these types: X - character, Y - Long Integer, Z - Decimal. I use RODBC to get these data into R: > library(RODBC) >
2005 Aug 11
2
Converting strings with internal delimiters into lists
Hi UserRs, I know that there has to be an easy way to do this in R (probably easy enough that once someone clues me in I'll smack myself on the forehead for not figuring it out myself), but my searches on my own have not yielded any hints. I have many fields in my dataset that participants entered as "free lists" - i.e., the field constitutes a varying number of names each
2010 Oct 13
1
RODBC: forcing a special column to be read in as character
Dear R-users, I am working with R version 2.10.1 and package RODBC Version: 1.3-2 under windows. Say I have a table "testtable" (in an Access data base), which has many different columns, among them a character column "X" with "integer-like" data as "0012345". Using sqlFetch, I'd like to assure that column X is read in as a character variable. So what
2005 May 24
2
writing to MYSQL database
Hi there I have been successfully using the asterisk command "MYSQL" to read information from a MySql database, but was wondering if there was any way of WRITING data (ie user input data) to the database ???, looking through the parameters of the MYSQL command it seems as though this function isn't available....is there another application for this??? Cheers
2005 Jun 22
3
Howto crosstable-ing......
I receive the following meteo dataset regularly, containing the average daily temperatures (tMedia) of a certain month for 24 selected meteo-stations (COD_WMO) whose human-readable names are in (NOME). str(tabella) `data.frame': 1038 obs. of 4 variables: $ COD_WMO: int 16045 16045 16045 16045 16045 16045 16045 16045 16045 16045 ... $ NOME : Factor w/ 24 levels
2012 Oct 10
4
own function: computing time
Hi all, I wrote a function that actually does what I want it to do, but it tends to be very slow for large amount of data. On my computer it takes 5.37 seconds for 16000 data points and 21.95 seconds for 32000 data points. As my real data consists of 18000000 data points it would take ages to use the function as it is now. Could someone help me to speed up the calculation? Thank you, Tonja
2015 May 14
3
comportamiento de data.table al hacer calculos por grupos
Estimada comunidad tengo un problema del que no encuentro datos que me ayuden mucho en la web. Estoy haciendo calculos por grupos con data,table. Tengo un archivo (zp.res) con tres columnas que clasifican los datos (sol, con, dia) y una columna de datos numericos (media), de la siguiente forma: sol con dia media 1: con 0 1 -22.6 2: con 0 1 -36.6 3: con 0 1 -35.6 y
2006 Apr 12
11
validate_presence_of not working for me
Hi all, I just begun with RoR and going through the Agile development w Rails depot example ATM. I did everything according to the book (i believe), and after 3 hours of googling, reading docs, making sure i did everything correctly i can not make the validate_presence_of() to work - at least not as it looks in the book. My Product model looks like: class Product < ActiveRecord::Base
2017 Aug 15
1
[Bug 1168] New: type nat hook output doesn't work anymore
https://bugzilla.netfilter.org/show_bug.cgi?id=1168 Bug ID: 1168 Summary: type nat hook output doesn't work anymore Product: nftables Version: unspecified Hardware: x86_64 OS: All Status: NEW Severity: normal Priority: P5 Component: kernel Assignee: pablo at netfilter.org
2006 Oct 10
1
Python/sqlite date time problems.
Bear with me, this is CentOS related. :) I have a python CGI that's behaving weirldy on Whitebox systems that've been switched over to CentOS 4 (ages ago, no other problems to speak of aside from this one). I've broken the problem down to a minimal test case... 1. Create a small database # sqlite3 /tmp/testcase.db 'CREATE TABLE testtable ( date date primary key unique, name
2007 Jan 23
11
dynamic tablenames
Hi List! May I tap into your combined common sense ? I have a legacy logging app that needs to be modernized. At the moment, Data is going to be stored in 5 tables, one table is going to contain more than 200 million and 2 others about 60 million rows. Mysql will be used, unless someone sees a major advantage in using something else (at the moment data is stored in a raw positioned file format,
2008 Jul 19
1
Rails:Using Insert statement in active record?
Hi, I know this would be a simple solution to provide for any one of you. I am new to active record and this is what I have currently done: require ''rubygems'' require ''active_record'' puts "connecting to db...." ActiveRecord::Base.establish_connection( :adapter => "mysql", :host => "localhost", # :username
2009 Feb 18
1
Plotting Binned Data
Dear all, I have a binned data that looks like this: > dat (-1,9] (9,19] (19,29] (29,39] (39,49] (49,59] (59,69] (69,79] 10063374 79 16 4 3 4 4 3 (79,89] (89,99] 6 2 I tried to plot a histogram overlayed with curve. With the following snippet: library(lattice) pdf("myfile.pdf") hist(dat)
2002 Jun 19
2
solve() doesn`t work
Hi, I tried to inverse a matrix but it doesn`t work. I hope somebody can help me. This is what I did. > kurse <- read.table("kurse.txt", header=T, dec=",") > x <- cbind(1,kurse[,-c(1)]) > y <- kurse$index > t(x) %*% x Error in t(x) %*% x : requires numeric matrix/vector arguments > x <- as.matrix(x) > xtxi <- solve(t(x) %*% x) Error in
2011 Sep 23
1
p values in coxph()
Hi, I'm interested in building a Cox PH model for survival modeling, using 2 covariates (x1 and x2). x1 represents a 'baseline' covariate, whereas x2 represents a 'new' covariate, and my goal is to figure out where x2 adds significant predictive information over x1. Ideally, I could get a p-value for doing this. Originally, I thought of doing some kind of likelihood ratio
2012 Mar 28
1
CI with confint
Hello all, I'm trying to use confint from the MASS package to compute confidence intervals for an nls object. When I plot the results, however, they don't make sense - lines cross over the fitted model or just don't match the data. Code is : Thanks for help dat<-data.frame(a,b) with(dat, plot(a,b)) model<-(nls(b~(1/exp(a*x))*n, data=dat, start=list(x=.001,n=20),
2008 Sep 19
0
Error message in lmer
Dear list I try to run a bootstrap with lmer. I often, but not always, get the error message: Error in objective(.par, ...) : Leading minor of order 6 in downdated X'X is not positive definite (with the number (here 6) varying) In R-archives I came across some threads that treated this problem, nevertheless they refer to lmer when using it with family = "binomial", so the