similar to: Output of row and column names

Displaying 20 results from an estimated 500 matches similar to: "Output of row and column names"

2007 Apr 19
1
"tree-ID" in any segmentation package available?
Dear R-helpers, I am looking for a segmentation package that gives some "tree identifier" as output for every observation in the data set (my response variable is binary). I have skimmed through "rpart", "ada" and "adabag": The output "trees" gives you the formula, but I have to run several thousand segmentations on different data sets and it
2006 Sep 12
0
Problem with geweke.diag
Dear R-users, I have some problems with the geweke.diag-Function of the coda-package. I try to obtain the Geweke-diagnostic by using the following, simple code: library(coda) input.geweke = as.mcmc(input.matrix) #input.matrix is a 25.000 x 35 matrix with the 25.000 saved draws of the 35 parameters of interest output = geweke.diag(input.geweke) However, I get the following
2003 Apr 04
2
biplot
Dear list, I want to perform a biplot, using customized titels for the x and y axis. Setting xlab="" and ylab="" resulted in an error, e.g.: > data(USArrests) > biplot(princomp(USArrests),xlab="",ylab="") Error in biplot.default(t(t(scores[, choices])/lam), t(t(x$loadings[, : length of dimnames[1] not equal to array extent > How do I
1999 Nov 23
3
problems with postscript device
Hi! The postscript device in 0.90 does not produce symbols (pch=) as it should. E.g.: postscript(file="test.ps",width=8,height=6.4,horizontal=FALSE) plot(1:10,1:10,pch=1:5) legend(1,9,letters[1:5],pch=1:5) dev.off() The result looks quite different compared to the X-windows version. The symbol 1 (pch=1) is much to small, while the other symbols seem to big. Is it a bug? How can I
2000 Jun 15
2
dataframes and factors
Dear R-List, I have a dataframe X containing factor f and numeric variable x1, x2, ... I want to create a new dataframe (or possibly a matrix) that gives statistics (e.g. sum) for the variables x1, x2, ... in each group defined by factor f. What is the simplest way to do this? I tried: attach(X) Z <- data.frame(f=levels(f),x1=as.vector(lapply(split(x1,f),sum))) and stumbled on: Error
1999 Jul 06
2
eval(), expression()
Dear R-Users! My aim is to produce boxplots without the outliers included in the plot. I started to write a function that looks something like: myboxplot <-function(x,fa) { bpdata <- boxplot(x~fa,plot=FALSE) bpnames <- names(bpdata) for (JJ in bpnames) { command <- paste("bpdata$",JJ,"$out <- numeric(0)",sep=""); eval(command) }
1999 Dec 07
1
using weights in lm()
Hello! When I know the vector of the variance of the disturbances (i.e. the structure of heteroskedasticity), say Var(u_{i})=v_{i}, what is the weights I should use as argument to lm(): M <- lm(y~x,weigths=1/v) or M <- lm(y~x,weights=1/(v^0.5)) ??? In the help pages I did not find a clear answer to this question, so please could someone help me! Thanks, Wolfgang Koller
2009 Mar 11
1
Using a NAMESPACE or the Imports field in DESCRIPTION?
Hello list, I am writing a package which builds on a function ("foo") of another package. I only need that particular function. What is the state of the art to do this? Do I need a NAMESPACE file in my package? Currently I still don't have one. Or can I do this with the Imports field in my DESCRIPTION file? Reading chapter 1 of the "Writing R Extensions" manual I do
2000 Apr 03
1
window(): feature request
Dear R-developpers, currently the function window shows the following behaviour, if start or end is out of range: > x <- ts(1:14,start=c(1950,2),frequency=4) > y <- window(x,start=c(1950,1),end=c(1953,4)) Warning messages: 1: start value not changed in: window.default(x, ...) 2: end value not changed in: window.default(x, ...) Instead of this I would like it to fill with NAs the
1999 Dec 07
1
Bug list summary (automatic post)
================================================= This is an automated summary of the status of the R-bugs repository. Note that this may be neither complete nor perfectly correct at any given instance: Not all bugs are reported, and some reported bugs may have been fixed, but the repository not yet updated. Some bug fixes are difficult to verify because they pertain to specific hardware or
2000 Apr 03
1
cbind.ts(),ts.union() (PR#508)
Full_Name: Wolfgang Koller Version: 1.0.0 OS: linux Submission from: (NULL) (137.208.7.48) > data(UKLungDeaths) > ts.union(mdeaths, fdeaths,dframe=TRUE) Error in names<-.default(*tmp*, value = nmsers) : names attribute must be the same length as the vector > cbind(mdeaths, fdeaths,dframe=TRUE) Error in names<-.default(*tmp*, value = nmsers) : names attribute
1999 Jul 28
1
skewness, kurtosis
Dear R-Users and Developpers, Currently R does not include functions to compute the skewness and kurtosis. I programmed it myself in the following way, but probably *real* programmers/statisticians can do that better: mykurtosis <- function(x) { m4 <- mean((x-mean(x))^4) kurt <- m4/(sd(x)^4)-3 kurt } myskewness <- function(x) { m3 <- mean((x-mean(x))^3) skew <-
2017 Jun 28
0
Missing dependencies in pkg installs SOLVED
So apparently (being a linux novice) I didn't realize it was insufficient to simply have the file marked as executable. It turns out the default TMP directory on my machine is mounted with a noexec flag so no files in that directory are allowed to be executed. The solution is to set an environment variable TMPDIR=some new directory I created (eg. /home/myusername/tmp) Then R uses that
2017 Jun 22
0
Missing dependencies in pkg installs
On 22/06/2017 5:02 PM, Conklin, Mike (GfK) wrote: > I am using debug on the .install_packages function...stepping through. Once the temporary folder is created and the tar file expanded I run file_test and get a FALSE back indicating that the configure file is not executable. I don't know what is causing this bug. Perhaps a Linux user can reproduce it and fix it. Here's what I see:
2017 Jul 17
0
dbplyr error updating database
I am trying to use a shiny app to update records in an sqlite database. I keep running into the following error: unable to find an inherited method for function 'dbSendQuery' for signature '"src_dbi", "character"' The query I am trying to send is: [1] "update kpquestions set mrisupercat = 'Demographics - Respondent' , set mricategory =
2012 Sep 17
1
Compiling R2.15.1 on ubuntu with x86-64 architecture and shared library
I am sure I am providing insufficient information, please ask for more. I installed R 2.14.2 on my Ubuntu laptop with and AMD64 processor and also installed RStudio and everything worked fine. Now, I tried to build R 2.15.1 from source and installed it using defaults. RStudio now complained that R was not built as a shared library. Went back and uninstalled, and configured with -enable-R-shlib
2017 Jun 22
0
Missing dependencies in pkg installs
> On Jun 21, 2017, at 1:39 PM, Conklin, Mike (GfK) <Mike.Conklin at gfk.com> wrote: > > I have a Ubuntu server with an R installation that has 384 packages installed. We are trying to replicate the system on a Red Hat Enterprise server. I downloaded the list of packages from the Ubuntu machine and read it into an R session on the new machine. Then I ran
2017 Jun 22
2
Missing dependencies in pkg installs
I am using debug on the .install_packages function...stepping through. Once the temporary folder is created and the tar file expanded I run file_test and get a FALSE back indicating that the configure file is not executable. [1] "/tmp/RtmpMM6iC1/R.INSTALLc5ca415e4310/stringi" Browse[2]> dir(new) [1] "DESCRIPTION" "INSTALL" "LICENSE"
2017 Jun 22
0
Missing dependencies in pkg installs
On 22/06/2017 3:42 PM, Conklin, Mike (GfK) wrote: > Not much progress..... I step through debug and it gets to the do.install() function which immediately errors with the same "configuration not executable" error. I believe that is a locally defined function, which means you can set a breakpoint within it but only if R is compiled with source info, or you can manually call
2017 Jun 23
0
Missing dependencies in pkg installs
I had the same thought in the shower this morning but I was disappointed to find that SElinux was disabled on the system. My next step will be to install a previous version of R on the system. My problem is that I am planning a shiny server installation and at least half of the apps on the current system depend on these libraries that will not install. -- W. Michael Conklin EVP Marketing &