similar to: Binding objects with a similar name

Displaying 9 results from an estimated 9 matches similar to: "Binding objects with a similar name"

2003 Mar 25
2
locfit troubles
Dear R experts, We've been playing with the locfit package and are experiencing a problem I am hoping for some help on. We have a dataset of 13k points, one dimension of which is "judgment", either 0 or 1, and the other "score", an arbitrary scalar (in this case it's between .65 and .85). We use
2012 Dec 02
2
How to re-combine values based on an index?
I am able to split my df into two like so: dataset <- trainset index <- 1:nrow(dataset) testindex <- sample(index, trunc(length(index)*30/100)) trainset <- dataset[-testindex,] testset <- dataset[testindex,-1] So I have the index information, how could I re-combine the data using that back into a single df? I tried what I thought might work, but failed with:
2010 Aug 03
1
adding FORTRAN code to a package
Dear R People: Hello! I'm putting together another RcmdrPlugin package and need to add a FORTRAN subroutine to speed things up a bit. I've never added compiled code to a package. Anyhow, I put my code into a /src directory. Here are the statements: * using log directory 'c:/R/R-2.11.1/bin/RcmdrPlugin.push.Rcheck' * using R version 2.11.1 (2010-05-31) * using session charset:
2005 Jan 27
1
Is glm weird or am I?
Hi, I've written a script that checks all bivariate correlations for variables in a matrix. I'm now trying to run a logistic regression on each pair (x,y) where y is a factor with 2 levels. I don't know how (or whether I want) to try to fathom what's up with glm. What I wrote is attached. Here's what I get. *****************************************************
2011 Jun 01
1
Replacing variables in one dataset with those from another
Hoping someone out there can help me...this seems like an easy task but I can't figure it out... I want to replace variables in one dataset (Dataset1) with a variable from another dataset (Dataset2). All the values for variables x1 and x2 in Dataset1 have a unique match to the variable uniquenum in Dataset2. For example, in Dataset1 grpnum A has a value of 343 for variable x1. In Dataset2,
2008 Apr 15
1
Predicting ordinal outcomes using lrm{Design}
Dear List, I have two questions about how to do predictions using lrm, specifically how to predict the ordinal response for each observation *individually*. I'm very new to cumulative odds models, so my apologies if my questions are too basic. I have a dataset with 4000 observations. Each observation consists of an ordinal outcome y (i.e., rating of a stimulus with four possible
2000 Nov 06
5
Aggregate
Hello to all, I recently downloaded R to my PC and am enjoying getting acquainted with it. Thank you to everyone involved in the R-project! I am interested in doing a log-linear analysis with R on a data set with dichotomous variables. There are 11 variables (columns) and around 1000 subjects (rows). How do I aggregate my data, i.e. how do I make a new dataset that includes the variable giving
2009 Aug 10
1
building a package
Dear R People: I'm trying to build a package and am stuck on the last part; I keep getting "there is no library". Here are my statements: erin at erin-laptop:~/Desktop/R-2.9.1/bin$ R CMD check RcmdrPlugin.qual * checking for working pdflatex ... OK * using log directory '/home/erin/Desktop/R-2.9.1/bin/RcmdrPlugin.qual.Rcheck' * using R version 2.8.1 (2008-12-22) * using
2005 Jun 23
0
Error in stepAIC function using a survival model
I keep getting the same error in my survival analysis. I have access to a very large database but am just using small subsets to get some results. In this particular subset there is 50 explanatory variables(both factors of many levels and covariates) and 117 data pieces with some of the data being censored. I am using the stepAIC command to find my model. My initial model is built from all