Displaying 20 results from an estimated 1000 matches similar to: "RE: Text Rotation (was: Take care with codes()!)"
2003 Mar 08
0
RE: Text Rotation (was: Take care with codes()!)
You can use the graphics parameter "srt" to rotate displayed text by a
specified number of degrees, e.g. srt=45 to put it on an angle, srt=90 to
put it vertical.
If you do this, may need to modify the call to text to increase ylim and
change the plot location to give you more room.
I'm working to update the 'balloonplot' function in the gregmisc package now
to handle this
2003 Jan 03
1
Take care with codes()! (was type of representation)
Ahh yes, sorry about that.
Here's the corrected snippet:
# Create an Example Data Frame Containing Car x Color data
carnames <- c("bmw","renault","mercedes","seat")
carcolors <- c("red","white","silver","green")
datavals <- round(rnorm(16, mean=10, sd=4),1)
data <- data.frame(Car=rep(carnames,4),
2006 Mar 18
0
No subject
Normally `codes' is not the appropriate function to use with an
unordered factor. Use `unclass' or `as.numeric' to extract the
codes used in the internal representation of the factor, as these
do not assume that the codes are sorted.
and this is one of the `normally' cases. Your code will only work
correctly if the levels are in alphabetical order (in the locale
2003 Jan 03
2
type of representation
Hi
I have some data that i want to plot but i don't find how to do it. I have car
types (bmw,renault,mercedes,seat ...), colors and a number for each car
type-color relation.I want to come up with a matrix representation of cars vs
colors where in each intersection i could set a dot proportional in size to my
third variable.
Can anybody give me a clue of hoe to come up with such
2003 Dec 30
4
Assignments in loops
Greetings all. Any help with the following would be appreciated.
I want to create a data frame for each file in a directory. The following
code does not work but it may show what I am trying to do:
carmakes <- c('BMW','Chrysler','Citroen','Fiat','Ford','Holden','Honda',
2009 Oct 28
1
Is there a faster way to do it?
#Mdarts is a matrix 2343x788
#frequencia is a vector 2343x1
# 9 in Mdarts[fri,frj] stands for my missing values which i want to replace
by the value in the vector frequencia
Mdarts<-t(matrix(scan("C:/GWS/CNB/dartg.txt"),ncol=nindT,nrow=nm, byrow=T))
frequencia <- matrix(scan("C:/GWS/CNB/freq.txt"),ncol=1)
for (fri in 1:nindT){
for (frj in 1:nm){
Mdarts[fri,frj] <- if
2012 Nov 21
0
BiodiversityR and box cox transformation
Hi all:
I am trying to use the BiodiversityR package in Rcommander since I need to
box-cox transform some data. However, even when trying with the example
files, I get this error just after selecting the box cox transformation in
the Menu, and Rcommander and Rstudio just shut down. What is it? What
could I do? Thanks a lot
The instruction at "0x00000001" referenced memory at
2003 Nov 02
1
Not reading quota under 3.0.0
Hi,
I'm using samba 3.0.0 under redhat 9.0. Quota is assinged to user but they
can't see their used space on windows explorer. The used space reported is
only 8.0k, no matter what they have in ther home.
I used the samba rpm downloaded from samba site. For a smbd -b command i
get this (extract):
--with Options:
WITH_ADS
WITH_PAM
WITH_QUOTAS
WITH_SENDFILE
WITH_SMBMOUNT
1999 Apr 13
0
(?) Samba 2.03 on IRIX 6.2 and Share Memory PB
Can someone help me finding the cause of this pb
Samba server started Ok but when client logging
[1999/04/06 20:50:51, 2] lib/interface.c:interpret_interfaces(176)
Added interface ip=193.56.119.123 bcast=193.56.119.255
nmask=255.255.255.0
[1999/04/06 20:50:51, 2] lib/interface.c:interpret_interfaces(176)
Added interface ip=194.146.54.80 bcast=194.146.54.255
nmask=255.255.255.0
[1999/04/06
2008 Apr 28
1
error in summary.Design
Dear list,
after fitting an lrm with the Design package (stored as "mymodel") I
try running a summary, but I get the following error:
dim(mydata)
[1] 235 9
names(mydata)
[1] "id" "VAR1" "VAR2" "VAR3" "VAR4" "VAR5" "VAR6" "VAR7" "VAR8"
summary(mymodel)
Error in `contrasts<-`(`*tmp*`,
2005 Jul 01
0
how to ignore the arp request for the alias ip in freebsd
I want only to ignore the arp request for alias ip ,at the same time I don't want disable the arp function of the interface ? How do ? thanks!
---------------------------------
DO YOU YAHOO!?
ÑÅ»¢Ãâ·ÑGÓÊÏä£ÖйúµÚÒ»¾øÎÞÀ¬»øÓʼþɧÈų¬´óÓÊÏä From vova at fbsd.ru Fri Jul 1 13:12:10 2005
From: vova at fbsd.ru (Vladimir Grebenschikov)
Date: Fri Jul 1 13:12:12 2005
Subject: how to ignore
2014 Sep 08
2
Samba4 AD -- Mac OS X clients uid:gid numbers not consistent
I have setup a Zentyal 3.2 Samba4 AD. I am using RSAT to administer
the AD server.
Windows7 and Linux (CentOS) clients are able to join the AD; uid/gid
of directories/files show up as per the definitions in Samba4.
With Mac OS X clients, there is a problem. The OS X nodes are able
to join the domain (quite a few blogs on this subject). The AD
connection shows green button.
The AD user is
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.
*****************************************************
2010 Feb 03
3
to convert a character string in time
hi,
I have my data time expressed in character string exple "5:20" (hour:min) and i want to convert these in times recognized by R. I have tried the POSIXct function:
balise07$Hour <- as.POSXIct(balise07$Hour)
but it didn't work.
Do you know why? Do you know how i can convert my string character in a real time?
Thanks
Karine HEERAH
Master 2 mention
2011 Mar 19
2
persuade tabulate function to count NAs in a data frame
Hi,
I'd like to ask you a question again. It is basically about data frames, NAs and tabulate function.
I have this data frame. I already used this in one of the previous questions of mine. It intentionally looks this simple, my real 'df' dataframe is much bigger actually and again, I am not willing to annoy anyone with huge databases... So, my database:
id
2001 Oct 10
1
Wrong df in bartlett.test when subsetting data (PR#1124)
Full_Name: Jens Lund
Version: 1.3.1
OS: Windows
Submission from: (NULL) (194.239.194.210)
When we subset a dataset bartlett.test does not calculate the df correctly:
X <- rnorm(50) # Generate simulated samples
f <- gl(10,5) # Generate a factor with 10 levels and
# 5 replications of each level
# Works correctly
bartlett.test(X,f) # Correct number of df = 9
#
2005 Nov 23
1
assign() problem
I've written a piece of code (see below) to do a wavelet image
decomposition, during the evaluation of this code I would like to write
the results of some calculations back to the R root directory. I used
assign() to do so because the names should vary when going thrue a
while() loop. For some unknown reason I get an error that says:
Error in assign(varname[i], imwrImage) :
2006 Mar 23
0
Writing a function to fit ALSOS models. problem with normalization?
Dear all,
Below is my attempt at a function to fit Alternate Least Squares
Optimal Scaling models, as described in Young (1981) "Quantitative
Analysis of Qualitative Data" and Jacoby (1999) "Levels of Measurement
and Political Research: An Optimistic View".
I would welcome any comments on coding style, tips & tricks etc.
I also have a specific problem: the output tends
2011 Dec 22
1
overlaid filled contour plots
I'm trying to make a set of contour plots of bivariate kernel density
estimates, showing three such plots overlaid,
similar to this plot
http://euclid.psych.yorku.ca/SCS/Private/Test/ridge-boot2.pdf
except that I would like to have the contours *filled* (using
transparent colors). To make this reproducible, I've
saved the results of KernSmooth::bkde2D() in the following file:
2007 Aug 06
3
Error in using nlevels in apply function
Dear R users,
I am currently trying to create my first personnal function and use it
with the apply function. The purpose of this function is to create a
vector summarizing the number of levels in a given selection of
data.frame columns.
I tried to transpose the indexation method used by the nlevels function
but it doesn't seem to work. I did not find anything uesful in the
archives so