Displaying 20 results from an estimated 10000 matches similar to: "Summary of variables with NA, empty"
2011 Mar 30
2
[PATCH] xenstore-stat v2
The entries in xenstore have permission attributes. The
attributes can be easily altered by xenstore-chmod, however,
I cannot find a easy way to see them.
I''ve modified xenstore_client.c to raise a new utility.
The utility checks the permission and makes an easy-look output.
Please tell me any suggestions.
Thanks.
Signed-off-by: Frank Pan <frankpzh@gmail.com>
---
2012 Nov 25
1
Error : Error in if (antipodal(p1, p2))
Hey,
I'm trying to build something like this
http://flowingdata.com/2011/05/11/how-to-map-connections-with-great-circles/
but with my own data in csv files.
The code runs well if I use the same csv files as the author, but with mine
, this is what I get
*Code*
library(maps)
library(geosphere)
map("world")
xlim <- c(-180.00, 180.00)
ylim <- c(-90.00, 90.00)
2002 Apr 30
1
data.frame package?
Is there a library that is able for example to
1. merge 2 dataframes by row eg.: rbind(dataframe1, dataframe2):data.frame
2. delete a column from a dataframe del(dataframe, colname) or
del(dataframe, colindex= 1):data.frame?
3. Select lines from a dataframe by a specific function ?
select(dataframe, func=small(x){x<1}, colindex=3): data.frame?
4. converting all double columns of a data.frame
2013 Feb 09
1
R maps Help
I am fairly new to R and am plotting flight data on a map. Everything is
working well except the size of the map is really too small to show the data
effectively and I can't seem to figure out how to make the output map
larger. Do I need to change the device characteristics or is it a map.???
call. Here is the code:
library(maps)
library(geosphere)
airports <-
2011 May 19
2
trouble with summary tables with several variables using aggregate function
Dear all,
I am having trouble creating summary tables using aggregate function.
given the following table:
Var1 Var2 Var3 dummy
S1 T1 I 1
S1 T1 I 1
S1 T1 D 1
S1 T1 D 1
S1 T2 I 1
S1 T2 I 1
S1 T2 D 1
S1 T2 D 1
S2
2012 Jan 10
4
Sum of a couple of variables of which a few have NA values
Dear everyone,
I have looked all over the internet but I cannot find a way to solve my problem.
In my data I want to sum a couple of variables. Some of these
variables have NA values, and when I add them together, the result is
NA
dat <- data.frame(
id = gl(5,1),
var1 = rnorm(5, 10),
var2 = rnorm(5, 7),
var3 = rnorm(5, 6),
var4 = rnorm(5, 3),
var5 = rnorm(5, 8)
)
dat[3,3] <- NA
dat[4,5]
2006 Aug 02
0
[PATCH] xenstore-chmod
Hello,
I''ve modified tools/xenstore/xenstore_client.c to include a new utility,
xenstore-chmod. This utility permits developers and administrators to
manually change the permissions on arbitrary locations in XenStore from
the command line. This is often helpful if you''re trying to debug an
application that relies on XenStore and is encountering difficulties
with permissions.
2013 Sep 06
1
Java exception error (Jcheck) while running an R script
Dear all,
I am facing a problem with running a script that i have written in R and i hope
you can help me spot which exactly is the problem and how i can solve it.
The error I get is the following:
----
Error in .jcheck(silent = FALSE) :
Java Exception <no description because toString() failed>.jcall(row[[ir]],
"Lorg/apache/poi/ss/usermodel/Cell;", "createCell",
2012 Dec 20
2
how to make a table of summary statistics
Dear R-listers,
I am a newbie with R and I am struggling with something I consider very
basic. I wish to produce a table (to import in a latex file) of summary
statistics, but for as much as I've been looking around and trying various
alternatives (plyr, reporttools, pastecs and Hmisc) I haven't found what I
am looking for. Probably I am doing something wrong, but I can't figure out
2006 May 12
5
Bumping threads in a forum-type app
I have a forum-type application. The Board model has many comments, the
Comments model acts as a tree. So I have a board with multiple
comments, some comments are parent comments and there are comments that
belong to a parent comment, making up a thread.
Like most forums, I want it so that threads are sorted based on the date
of their last comment. But I have no idea how to specify this in
2008 Apr 28
1
error in summary.Design
Dear list,
after fitting an lrm with the Design package (stored as "mymodel") I
try running a summary, but I get the following error:
dim(mydata)
[1] 235 9
names(mydata)
[1] "id" "VAR1" "VAR2" "VAR3" "VAR4" "VAR5" "VAR6" "VAR7" "VAR8"
summary(mymodel)
Error in `contrasts<-`(`*tmp*`,
2007 Apr 02
1
RODBC, sqlQuery with NA:s
Hi R-users,
I'm trying to retrieve data from MS SQL database with RODBC's
sqlQuery-function:
temp <- sqlQuery(channel,"select *, (select text from table1 where
koodi='paa' and koodi2=paa) as tempor from table2")
str(temp)
…
$ var0 : num NA NA 1.6 NA NA 1.4 NA 1 NA NA ...
$ var1 : Factor w/ 45 levels "
2016 Apr 28
4
Interdependencies of variable types, logical expressions and NA
Hi All,
my script tries to do the following on factors:
> ## Check for case 3: Umsatz = 0 & Kunde = 1
> for (year in 2011:2015) {
+ Umsatz <- paste0("Umsatz_", year)
+ Kunde <- paste0("Kunde01_", year)
+ Check <- paste0("Check_U_0__Kd_1_", year)
+
+ cat('Creating', Check, 'from', Umsatz, "and", Kunde,
2008 Apr 11
4
Format regression result summary
Hello to the whole group.
I am a newbie to R, but I got my way through and think it is a lot easier to
handle than other software packages (far less clicks necessary).
However, I have a problem with respect to the summary of regression results.
The summary function gives sth like:
Residuals:
Min 1Q Median 3Q Max
-0.46743 -0.09772 0.01810 0.11175 0.42252
2016 Apr 28
0
Interdependencies of variable types, logical expressions and NA
Hi
Your script is not reproducible.
Creating Check_U_0__Kd_1_2011 from Umsatz_2011 and Kunde01_2011
Error in ifelse(Kunden01[[Umsatz]] == 0 & Kunden01[[Kunde]] == 1, 1, 0) :
object 'Kunden01' not found
>
This is interesting
x <- c(NA, FALSE, TRUE)
names(x) <- as.character(x)
outer(x, x, "&") ## AND table
<NA> FALSE TRUE
<NA> NA FALSE
2016 Apr 28
0
Antwort: RE: Interdependencies of variable types, logical expressions and NA
Hi
your initial ds
> str(ds)
'data.frame': 2 obs. of 3 variables:
$ var1: num 1 1
$ var2: logi TRUE FALSE
$ var3: logi NA NA
first result
> str(ds)
'data.frame': 2 obs. of 6 variables:
$ var1 : num 1 1
$ var2 : logi TRUE FALSE
$ var3 : logi NA NA
$ value_and_logical: logi TRUE TRUE
$ logical_and_na : logi TRUE NA
2013 Mar 13
5
string split at xth position
Hi,
I have a vector of strings like:
c("a1b1","a2b2","a1b2") which I want to spilt into two parts like:
c("a1","a2","a2") and c("b1","b2,"b2"). So there is
always a first part with a+number and a second part with b+number.
Unfortunately there is no separator I could use to directly split
the vectors.. Any idea
2016 Oct 11
3
Colapsar una matriz con NA en una única fila
Javier
Muchas gracias por su respuesta
Aunque no está funcionando, pues si ejecuto:
EncDTE1<- t.EncDTE1[ !is.na(t.EncDTE1$Var1),] obtengo Var1, Var2,
Var3,...Varn con datos "texto", NA, NA....NA
Pero al ejecutar
EncDTE1<- t.EncDTE1[ !is.na(t.EncDTE1$Var2),] obtengo Var1, Var2,
Var3,...Varn con datos NA,"texto", NA....NA
Estoy tratando de dar la vuelta con el loop
2003 Nov 12
4
column extraction by name ?
I have a data frame (df) with colums x, y and z.
e.g. df <- data.frame(x = sample(4), y = sample(4), z = sample(4))
I can extract column z by: df$z or df[3]
I can also extract columns x,y by: df[1:2] or by df[-3].
Is it possible to extract x,y columns in a "symbolic" fashion i.e.
by equivalent of df[-z] (which is illegal) ???
Or alternativeley, is there an equivalent of
2007 Jul 07
3
color scale in rgl plots
Hello,
I'm trying to make a 3d plot using rgl in which the size and color of
each point corresponds to certain attributes of each data point. The color
attribute, let's call it X, is scaled to go from 0 to 1. The
rainbow(64,start=0.7,end=0.1) palette is perfect for what I want but I
don't know how to take that palette and pick a color from it based on
the value of X for a given data