similar to: Read a dataset with different lengths

Displaying 20 results from an estimated 30000 matches similar to: "Read a dataset with different lengths"

2004 Oct 18
2
why package gregmisc did not work
Dear useR I want to know why package gregmisc did not work very well. I did not find this package in my library directory. > local({a <- CRAN.packages() + install.packages(select.list(a[,1],,TRUE), .libPaths()[1], available=a, dependencies=TRUE)}) trying URL `http://cran.r-project.org/bin/windows/contrib/2.0/PACKAGES' Content type `text/plain; charset=iso-8859-1' length 21630 bytes
2005 Dec 30
4
Count or summary data
Dear all, I want to summary and count my data something like > te.Ce [,1] [,2] [1,] -1 0.05 [2,] 1 0.05 [3,] 1 0.00 [4,] 0 0.05 [5,] -1 0.00 [6,] 0 0.10 [7,] 1 0.10 [8,] -1 0.00 [9,] -1 0.10 [10,] 0 0.05 [11,] 0 0.10 [12,] -1 0.10 [13,] 1 0.00 [14,] -1 0.05 [15,] 1 0.00 How could I count (summary) all my data which I need the result like
2005 Aug 15
2
How to get a list work in RData file
Dear R-Helper, I want to know how I get a list work which I saved in RData file. For example, > test.xy <- function(x,y) { + xy <- x+y + xy + } > > xyadd <- test.xy(x=2, y=3) > xyadd [1] 5 > x1 <- c(2,43,60,8) > y1 <- c(91,7,5,30) > > xyadd1 <- test.xy(x=x1, y=y1) > xyadd1 [1] 93 50 65 38 > save(list = ls(all=TRUE), file =
2005 Mar 21
1
Convert numeric to class
Dear all, I have a script about iteration classification, like this below data(iris) N <- 5 ir.tr.iter <- vector('list',N) ir.tr <- vector('list',N) for (j in 1:N) { ir.tr[[j]] <- rpart(Species ~., data=iris) ir.tr.iter[j] <- ir.tr[[j]]$frame result <- list(ir.tr=ir.tr, ir.tr.iter=ir.tr.iter) } as.data.frame(as.matrix(ir.tr.iter))
2000 Sep 02
1
R INSTALL *.tgz fails (minor docs/feature bug) (PR#652)
R Team, I was attempting to install Lindsey's rmutil.tgz and other non-CRAN packages using 'R INSTALL', for example 'R INSTALL rmutil.tgz' after downloading 'rmutil.tgz' from Lindsey's page (as linked from r-project.org page). Directly using the compressed file as 'R INSTALL rmutil.tgz' failed, though the shell help from 'R INSTALL --help'
2004 May 28
3
gauss.hermite?
The search at www.r-project.org mentioned a function "gauss.hermite{rmutil}". However, 'install.packages("rmutil")' produced, 'No package "rmutil" on CRAN.' How can I find the current status of "gauss.hermite" and "rmutil"? Thanks, Spencer Graves
2004 Sep 27
1
random discrete from the first tuple
Dear UseR I have a dataset, for instance x1(A, B, C), x2(M,F), x3(X1,X2,X3,X4) and x4(W,F,P). I want to make a small dataset with the random tuple. I know package e1071 can handle a random discrete, > library(e1071) > x1 <- rdiscrete(6, c(2,2,2), c("A","B","C")) > x2 <- rdiscrete(6, c(3,3), c("M","F")) > x3 <-
2005 Jul 14
1
Fwd: Re: Problem installing R packages
Hi, I am trying to install the R libraries "rmutil" and "repeated" on a Mac OS X version 10.4.1 (which has the latest version of the Mac Developer tools installed) and I am having trouble compiling the libraries. The error message I receive is as follows (I have only included the error message when I try and install the rmutil library): ............................ *
2009 Apr 16
2
Count data with several numbers separated by commas
Dear all, I have a data file with 3 variables (x1, x2, x3) where variable x1 have data that consists of several numbers separated by commas. id name x1 x2 x3 aa101 1,4,5 2 1 aa102 1,2,5 1 2 aa103 1,2,5 1 1 aa104 1,2,3 1 2 aa105 1,5 2 2 aa106 1,2,5 2 2 aa107 1,2,5 2 1 aa108 1,4,5 2 1 aa109 1,2 1 2 aa110 3,5 1 2 I want to count the number of data for each
2003 Oct 29
2
Where is rmutil package?
Pursing my earlier question, when I tried loading Lindsey's gnlm, I got a message Loading required package: rmutil Warning message: There is no package called 'rmutil' in: library(package, character.only = TRUE, logical = TRUE, warn.conflicts = warn.conflicts, According to the R documentation http://finzi.psych.upenn.edu/R/doc/html/packages.html rmutil is in the standard
2005 May 02
1
Reading in a dataset with uneven variable lengths
Suppose I have a text file that I want to read into R like the following: X Y 649 699 657 891 714 632 849 727 721 597 791 868 874 652 405 978 733 549 790 This is a simple example -- I could have a huge file with many columns of unequal lengths. What is the best way to do it? I can't see how a data frame can be used. I checked the FAQ and did a web search on the topic but I came up
2009 Sep 15
1
rmutil
Hello, I have downloaded the rmutil package in the form of *.tar.gz compressed file (I would like to use the runge-kutta() function). The package rmutil does not appear in the list of available packages. Can any one help? Massoud Boroujerdi PhD [[alternative HTML version deleted]]
2009 Jan 14
1
Ordinal Package Errors
I'm trying to install the ordinal package (http://popgen.unimaas.nl/~plindsey/rlibs.html). I downloaded ordinal03.tgz and untarred it. rmutil was previously installed (and appears to work ok.) Then I installed ordinal: [root at localhost ~]# R CMD INSTALL /home/chippy/Download/ordinal * Installing to library '/usr/lib/R/library' * Installing *source* package 'ordinal' ... **
1999 Sep 14
2
Problems with compilation of R packages.
Hello I want to compile some R-packages under windows (rmutil and revent for instance from Pr Lindsey) I followed the instrictions given in the help. The compilation succeeded, but I can't run the programs. I receive the message: "error in dyn.oad(file): unable to load shared library "C:\R\Rwo650/library/rmutil" LoadLibrary failure. I found the given path quite strange!!
2007 Jan 11
1
Treatment for Unequal Column Lengths?
Fellow R Users: I have a .csv dataset that I have brought into R via read.table (and also via read.csv). The dataset has columns that are not equal in length. Essentially, this data file has vectors/columns in which I plan to use different analyses on, hence they are unequal in length. Also, the columns are either numeric or calendar dates. Is there a way to prevent R from appending
2017 Nov 01
0
beta binomial distribution installation
Hello, Thank you for your response. I need to install RankTail package since it contains the beta binomial distribution, CDF and inverse CDF in the usual form which I need to use. However rmutil package contain unusual forms for these functions. So it is easier for me to deal with the forms are contained in RankTail. I tried to install bioconductor package, using the following commands but I
2006 Oct 07
1
Installing Lindsey's packages
Dear r-helpers, I downloaded http://popgen.unimaas.nl/~jlindsey/rcode/rmutil.tar (it was originally .tgz, but got unzipped by my browser). Can anyone give me detailed instructions on installing this and Lindsey's other packages on R version 2.4.0 (2006-10-03)---(powerpc- apple-darwin8.7.0, locale: C)? _____________________________ Professor Michael Kubovy University of Virginia
2017 Aug 24
1
rmutil parameters for Pareto distribution
In https://en.wikipedia.org/wiki/Pareto_distribution, it is clear what the parameters are for the pareto distribution: *xmin *the scale parameter and *a* the shape parameter. I am using rmutil to generate random deviates from a pareto distribution. It says in the documentation that the probabilty density of the pareto distribution The Pareto distribution has density f(y) = s (1 + y/(m
1999 May 12
1
Memory crash. (PR#194)
I just had a memory crash with R-0.64.1. I am running under intel pentium 200mhz under slackware linux 2.0.30. 1/home/plindsey >gdb /usr/local/src/R/bin/R.binary core GDB is free software and you are welcome to distribute copies of it under certain conditions; type "show copying" to see the conditions. There is absolutely no warranty for GDB; type "show warranty" for
2010 Aug 21
1
How to find residual in predict ARIMA
Dear All, I have a model to predict time series data for example: data(LakeHuron) Lake.fit <- arima(LakeHuron,order=c(1,0,1)) then the function predict() can be used for predicting future data with the model: LakeH.pred <- predict(Lake.fit,n.ahead=5) I can see the result LakeH.pred$pred and LakeH.pred$se but I did not see residual in predict function. If I have a model: [\ Z_t =