similar to: polylog

Displaying 20 results from an estimated 3000 matches similar to: "polylog"

2001 Oct 30
2
extracting object names as strings
Hi, I'm looking for a function which returns the name of the argument object as a string: >vect <- 1:3 >function(vect) "vect" I've looked at 'name', 'names', 'objects', none seem to do exactly what I want. ls/objects comes close, but I can't figure out how to force it to give me only one object name. daver
2001 Sep 28
3
evaluating the contents of a string
Hi, suppose I do: b <- matrix(1:9,3,3) bname <- "b" now dim(b) returns [1] 3 3 and dim(bname) returns NULL is there a function to pass bname to such that dim returns the dimensions of b? like dim(somefunc(bname)) returns [1] 3 3 does 'somefunc' exist? daver +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |David Richmond It
2001 Oct 09
3
find indices of nonzero elements
Hi, Is there a function func(x) where x is an array such that it returns a list of the indices of all non-zero elements of the array? for example: a: 1 0 0 0 0 1 0 1 0 func(a) returns two vectors r and c: r c 1 1 2 3 3 2 daver +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |David Richmond It works on a | + Dept. of Sociology complex scientific
2001 Nov 29
3
pause/get input
Hi, Is there a simple command to pause a script until the user hits return? Alternatively, is there a command which prompts the user for some input and assigns the input into a variable? dave +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |David Richmond It works on a | + Dept. of Sociology complex scientific + |Saint Mary's College
2001 Sep 29
1
how much memory does one need...
to allocate 7.8 MB to a vector? (on R running on MacOS 8.6 with a 100MB partition) I get this error from a function which is trying to create a 1000x1000 matrix: Error: cannot allocate vector of size 7812 Kb the error occurs here: dist <- as.single((t(pos)-pos)/n) where pos is a matrix of integers, and n is the size of the first dimension. It appears to first create a double with
2002 Feb 28
1
postscript output sideways
Hi, My plots are all coming out sideways! If I do the following: > postscript("plot1.ps",horizontal=TRUE,paper="letter") > plot(ns,meanpl/maxvec) > dev.off(2) The output file has "ns" on the left and the "meanpl/maxvec" on the top! It doesn't matter if I change the horizontal flag to FALSE. I have noticed, however that If I create my own
2001 Oct 14
1
recursive functions and global variables
Hi, I am trying to write a recursive routine which passes some variables through the function calls but also refers to some global variables. I need the global variables because they are very big (n by n matrices where n is <= 1000) and I don't have the huge amount of memory needed to spawn dozens of copies of these matrices. The problem seems to be that while variables in the root
2001 Sep 14
3
stuff I used to do in Matlab
Hi, I'm new to R, and trying to map stuff I knew how to do in Matlab to R. For instances, in matlab, sum(x) gave the column sums of matrix(/vector) x. In R it just gives the sum of all the elements, regardless of their form (vector or matrix). Is there a simple way to return a vector of column sums for a matrix? Also, in Matlab binary operators exist for concatenating a matrix onto the end or
1998 Jul 28
4
problems with samba 1.9.18p8
I recently installed samba 1.9.18p8. Since then, we get the following error: "No domain server was available to validate your password. You may not be able to gain access to some network resources." after the server has been running for >48 hours. If I stop and restart the server, everything is ok again. Our samba server is a Sun Ultra 2170 running Solaris 2.5.1. Any help will
2005 May 07
1
Incorrect libxml2.2.dylib version on Tiger install
Hi all, I have just installed OSX Server 10.4 and R comes up with the incompatible libxml library message reported by Dan Kelley a few messages ago. Xcode 2 does not ship with Tiger Server. I installed the X-Windows code. I can report that the version of libxml2.2 that is installed in this case is the version 8.0.0 dylib. [6]sboker at munimula:/usr/lib % ls -l libxml2.2* -rwxr-xr-x 1
2002 Mar 20
7
how does while work
i am having some problems with a program that i am writing and i think that knowing how the while command works will help me to figure out where i am going wrong *when do you get kicked out of a while loop?* (i.e., in the following example what would the final value of 'a' be?) i thought it would be 99 but running it in R i get 101 (and 101 for x too!) while (x <100) { for (i in
2004 Nov 25
2
logistic regression and 3PL model
Hello colleagues, I am a novice with R and am stuck with an analysis I am trying to conduct. Any suggestions or feedback would be very much appreciated. I am analyzing a data set of psi (ESP) ganzfeld trials. The response variable is binary (correct/incorrect), with a 25% base rate. I've looked around the documentation and other online resources and cannot find how I can correct for
2005 Feb 20
1
logistic regression and 3PL model
Hello colleagues, This is a follow up to a question I posed in November regarding an analysis I was working on. Thank you to Dr. Brian Ripley and Dr. John Fox for helping me out during that time. I am conducting logistic regression on data set on psi (ESP) ganzfeld trials. The response variable is binary (correct/incorrect), with a 25% guessing base rate. Dr. Ripley suggested that I
1997 Oct 09
0
R-alpha: [sboker@calliope.psych.nd.edu: Re: S-PLUS on UNIX plans]
--Multipart_Thu_Oct__9_10:41:03_1997-1 Content-Type: text/plain; charset=US-ASCII In case you did not realize how much this is related to R : --Multipart_Thu_Oct__9_10:41:03_1997-1 Content-Type: message/rfc822 Return-Path: s-sender@utstat.toronto.edu From: "Steven M. Boker" <sboker@calliope.psych.nd.edu> Date: Wed, 8 Oct 97 16:37:05 -0500 To: s-news@utstat.toronto.edu Subject:
2003 May 13
0
bug in promax?
I was wondering whether the following inconsistency of the promax rotation function with the results of a promax rotation using SAS should be considered a bug in the promax function of R. Any comments will be highly appreciated. The following is a loading matrix obtained from a varimax rotation in SAS: # Factor loadings after varimax rotation x <- t(array(c(0.78107, 0.35573,
1999 Mar 22
0
Visual Studio C++ problems
Since upgrading samba to version 2.0.3, we're now unable to create new Visual C++ files, projects and build executables in network home directories. No other problems are reported! When creating a new Project an error message occurs: "The specified filename is invalid", except C++ goes ahead and creates the directory. It does create the necessary directory, but never seems to find
2003 May 01
0
factanal
# I have a question about how factanal is calculating the regression factor # scores based on an oblique rotation (promax) of the factors. # # As is explained in the help file, regression factor scores are # obtained as # # hat f = Lambda' Sigma^-1 x # # However, according to Harman's "Modern Factor Analysis" (e.g. second # edition, pp. 351-352) the formula is # # hat f = Phi
2001 Sep 17
5
Samba 2.2.1a
I just loaded Samba 2.2.1a (previously running 2.0.7) and am having major problems. The load on my server keeps climbing (got as high as *95* this morning. Relevant info following: Manufacturer is Sun (Sun Microsystems) System Model is Enterprise 250 Model 2400 Main Memory is 2.0 GB Virtual Memory is 4.3 GB OS Version is 5.7 This machine is
1998 Jul 13
0
Making DOS Boot Disks for Samba
Thanks to several very helpful souls on this list we have been able to replace ndis2 NIC drivers and boot successfully in DOS, map a Samba drive ... permitting us to use a DOS Ghost to build lab systems. The guy who figured this stuff out last year has left the college and I don't understand what protocols, or clients he used to support a DOS-Samba connection. (I'ld be lost if I had to
2004 Sep 23
0
followup: Re: Issue with predict() for glm models
Could you just use lines(newX, myPred, col=2) -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch]On Behalf Of Paul Johnson Sent: Thursday, September 23, 2004 10:3 AM To: r help Subject: followup: Re: [R] Issue with predict() for glm models I have a follow up question that fits with this thread. Can you force an overlaid plot