similar to: Tabulation and missing values

Displaying 20 results from an estimated 1000 matches similar to: "Tabulation and missing values"

2006 Oct 05
2
VGAM Package ?
Hi! R users I would like to ask you where could we find the VGAM Package. I don't find it in the list of packages. Thak you for your help Lassana KOITA Etudes de S?curit? et d'Exploitation a?roportuaires / Safety Study & Statistical analysis Service Technique de l'Aviation Civile (STAC) / Civil Aviation Technical Department Direction G?n?rale de l'Aviation Civile (DGAC) /
2006 Oct 13
4
Log-scale in histogramm
Hello My data looks ugly in a normal histogramm. How can I create a histogramm with a Y-axis in log-scale? Thanks for your help! David Graf --
2006 Sep 01
2
Lattice plot with fitted curves
I have some data which consists of time series for a number of sites. It appears that there is not much autocorrelation in the data and I have fitted a cubic for each site using lm. I would like to obtain a lattice plot with one panel for each site and showing the original data, and the fitted cubic. The closest I have got to doing what I want is: fit <- fitted(paraslm1) temp <-
2008 Jan 09
1
pairwise cross tabulation tables
Hi, I have a huge number of categorical variables, say at least 10000, and I put them into a matrix, each column is one variable. The question is: how can I make all of the pairwise cross tabulation tables efficiently? The straightforward solution is to use for-loops by looping two indexes on the table() function, but it was just too slow. Is there a more efficient way to do that? Any guidance
2012 Dec 08
4
read.table()
Hi List, I have spent more than 30 minutes, but failed to read in this file using the read.table() function. I could not figure out how to fix the following error. Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, : line 1 did not have 6 elements Any help would be be appreciated. Thanks, Pradip Muhuri ####### below is the reproducible example xd1 <-
2009 Oct 10
2
Tabulation
Hi all, I have a data set x1 x2 x3 1 2 1 1 2 3 2 1 2 1 2 1 3 1 1 I want to tabulate in the following way. 1 2 3 x1 3 2 1 x2 2 3 0 x3 3 1 1 It is just like frequency distribution Any help is highly appreciated [[alternative HTML version deleted]]
2002 Dec 02
1
advanced tabulation
i make me thoughts about a "advanced tabulation" package similar to commercial software products like Quantum or Wincross. Before i'm beginning to fight with coding - is in the mailing-List anybody doing something similar in the past and have a good starting point and/or suggestions for me ? My purpose ist to define for a dataset headers (i.e. sex,age-groupes..) which should
2009 Aug 14
1
cross tabulation for frequency distributions
Hi every one, how to get frequency distributions for one variable across other variable. ex: var1=age, var2=height i need frequency distribution of age across height. Thanks in Advance. -- View this message in context: http://www.nabble.com/cross-tabulation-for-frequency-distributions-tp24968531p24968531.html Sent from the R help mailing list archive at Nabble.com.
2003 Oct 31
1
solve.Matrix() not found (PR#4887)
# Your mailer is set to "none" (default on Windows), # hence we cannot send the bug report directly from R. # Please copy the bug report (after finishing it) to # your favorite email program and send it to # # r-bugs@r-project.org # ###################################################### Dear R developers, this morning I started experiencing a bizarre problem with the
2009 Feb 27
1
cross tabulation: convert frequencies to percentages
Hello, might be rather easy for R pros, but I've been searching to the dead end to ... twsource.area <- table(twsource, area, useNA="ifany") gives me a nice cross tabulation of frequencies of two factors, but now I want to convert to pecentages of those absolute values. In addition I'd like an extra column and an extra row with absolute sums. I know, Excel or the
2008 Feb 25
1
efficient is.na tabulation?
I am aware of table(is.na(df$var)) but is there an efficient way of create a table that shows the number of missing values in each variable of a data frame? Right now I am forced to create a new variable, varna<-is.na(df$var), for each variable of the data frame, bind them to a new data frame and tabulate it, but surely there is a simpler way? any help is greatly appreciated, angelo
2008 Sep 29
3
Cross-tabulation Question
Hi R, This is a cross tabulation question. Suppose that, > d=read.table("clipboard",header=F) > d V1 V2 V3 A One Apple A One Cake A One Cake B One Apple B One Apple B One Apple > table(d$V2,d$V3) Apple Cake One 4 2 But, I don't want the count to be like the above. Here, it is counting the
2011 Nov 01
0
package descr: create weighted cross tabulation
hello, using the package "descr" i created a crosstab e.g.: Table <- crosstab(age,question,weight=pond) "age": being a variable that consists of the surveyed data of the ages of children: the values are "6 years", "7 years" and "8 years". "question": is a variable that consists of the answers of these children to a question: the
2012 Apr 09
1
binned tabulation
Hi, I am attempting to tabulate binned data. The '1' represents the appearance of the focal mouse pup, and '2' represents the disappearance of the focal mouse pup. The code written below is intended to calculate the total time spent appeared out of 3600s. For Sample 1, both the hand calculation and R code yield the same result, 50. A problem seems to occur when '1' is the
2012 Mar 01
1
Need help using Melt and cast to compute correlation for a cross tabulation
I have a data frame with a number of observed and predicted values by classification as shown below: Count Volume FCLASS 1 55000 60000 Grade Separated 2 43000 39000 Grade Separated 3 26000 26500 Major Arterial 4 19500 20000 Major Arterial ... There are four classes here: Grade Separated, Major Arterial, Minor Arterial, and Collector I am looking
2009 Oct 28
1
Aggregate and cross tabulation
R-helpers: I have a data frame containing 4 factor variables (let's say A,B,C, and D) and 1 numerical variable (N). I would like to produce a cross-tabulated data frame in which A,B,C are individual columns, each factor of D is its own column, and the field is calculated as a given function of N (I would like to have two output data frames, one with the mean(N) and one with the
2008 May 09
2
Tabulation of aggregated data.frame
Hi useRs! I would like to know how to make aggregated data.frame with aggregate() tabulated. For example, I run the following command to aggregate re with respect to group1 and group2. > (aggr <- with(final, aggregate(re, group1, group2, mean))) Group.1 Group.2 x 1 1992 15 0.16392 2 1993 15 0.15467 3 1994 15 0.15456 4 1995 15 0.15391
2010 Sep 08
5
Newbie cross tabulation issue
hi, i'm new in R and i need some help. Please, ¿do you know a function how can process cross tables for many variables and show the result in one table who look like this?: +----------------------------------------------------+ |------------------ | X variable | |----------------- | Xop1 | Xop2 | Xop3|.....| +----------------------------------------------------+ |Yvar1 |
2008 Jan 23
3
How to do more advanced cross tabulation in R?
Hi, I am trying to reproduce some functionalities of Excel pivot table in R, sadly, I couldn't figure out how to do it. I am wondering if this is even possible in R. Does anyone know? Here is an example: year=rep(2003,16) quarter=rep(1:4,each=4) sales=1:16 company=rep(c("a","b","c","d"),4) df=data.frame(year,quarter,sales,company) #this is the
2018 Aug 21
2
different output with fast-math flag
Why the output is different for this below program when compiled using clang with fast-math optimization #include<stdio.h> int main() { double d = 1.0; double max = 1.79769e+308; d /= max; printf("d:%e:\n", d); d *= max; printf("d:%e:\n", d); return 0; } prints 0 with fast math but 1 without fast math. -------------- next part -------------- An