Displaying 20 results from an estimated 4000 matches similar to: "Clustering newbie question"
2006 Apr 12
0
fixtures advanced question
Hello,
in my database i have tables models,marques,cars. I wrote fixtures for
models f1:
id: 1
marque_id: 1
name: 100 NX
f2:
id: 2
marque_id: 1
name: 200 SX
f3:
id: 3
marque_id: 1
name: Almera
f4:
id: 4
marque_id: 1
name: Patrol
f5:
id: 5
marque_id: 1
name: Primera
f6:
id: 6
marque_id: 2
name: CLK
f7:
id: 7
marque_id: 2
name: CLS
f8:
id: 8
marque_id:
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',
2006 Jul 18
5
SQL query question
Hello,
I know it''s off-topic. But I''m sure you are using SQL and can help me ;)
I''ve a table CARS and a table KEYS and a LOCKS table.
CARS
id|name
1|audi
2|ford
3|mazda
4|porsche
...
KEYS
id|car_id|lock_id
1|1|1
2|2|1
3|2|2
4|3|1
5|3|2
6|4|1
7|4|2
8|4|3
...
LOCKS
id|name
1|main
2|spare
3|engine
...
A car can have many keys. Keys are for different locks.
How can I
2010 Aug 13
6
Can't install program from CDROM / DVD
I'm having trouble installing a program from the CDROM / DVD drive. I've checked to see that the mapping of the d: drive is correctly pointing to the
right place - it is:
~/.wine/dosdevices$ ls -l
total 0
lrwxrwxrwx 1 cosmo cosmo 10 2009-10-04 18:46 c: -> ../drive_c
lrwxrwxrwx 1 cosmo cosmo 13 2010-08-12 20:19 d: -> /media/cdrom0
lrwxrwxrwx 1 cosmo cosmo 8 2010-07-25 19:12 d::
2008 Mar 09
1
Two sample t-test
Hi,
I want to perform t-test in R for each individual car. Here is what i have.
Is there a way i can test each car?
The original table (test.csv)
Car Tester2 Tester2 Controller1 Controller2
Audi 0.56 0.9 0.5 0.9
Toyota 0.2 0.9 0.9 0.2
Honda 0.5 0.9 0.1 0.5
BMW 0.2 0.3 0.5 0.7
> cars<-read.table("c://test.csv",header=T,sep=",",
+ skip=2,comment.char="")
2008 Mar 11
2
Replacing text
Sorry, another newbie question :-(
I loaded a data set with 10 rows and 30 columns. The first column is
characters for names of car manufacturers:
Jeep
Nissan
Toyota1
Toyota2
Etc.
How can I replace "Toyota2" with "Scion"?
Thanks again
[[alternative HTML version deleted]]
2007 Jun 05
3
read table
Hi,
I'm a novice of R.
I want to read the following table into R:
names mpg cyl disp hp drat
Mazda RX4 21.0 6 160.0 110 3.90
Mazda RX4 Wag 21.0 6 160.0 110 3.90
The command I used is:
> test <- read.table(file.choose(),header=T)
The result is:
Error in read.table(file.choose(), header = T) :
more columns than column names
2017 Jun 01
0
odfWeave - A loop of the "same" data
On Thu, 1 Jun 2017, POLWART, Calum (COUNTY DURHAM AND DARLINGTON NHS FOUNDATION TRUST) via R-help wrote:
> Before I go and do this another way - can I check if anyone has a way of
> looping through data in odfWeave (or possibly sweave) to do a repeating
> analysis on subsets of data?
>
> For simplicity lets use mtcars dataset in R to explain. Dataset looks like this:
>
2011 Dec 01
1
transform data.frame holding answers --> data.frame holding logicals
Hello
Hello
I have a data frame, x, holding 5 persons answering the question which
cars they have used:
# the data frame
x <- as.data.frame(
matrix(
c('BMW', '', '',
'Mercedes', 'VW', '',
'Skoda', 'VW', 'BMW',
'', '', '',
'VW', 'Skoda',
2017 Jun 01
3
odfWeave - A loop of the "same" data
Before I go and do this another way - can I check if anyone has a way of looping through data in odfWeave (or possibly sweave) to do a repeating analysis on subsets of data?
For simplicity lets use mtcars dataset in R to explain. Dataset looks like this:
> mtcars
mpg cyl disp hp drat wt ...
Mazda RX4 21.0 6 160 110 3.90 2.62 ...
Mazda RX4 Wag 21.0 6 160 110 3.90
2003 Mar 08
0
RE: Text Rotation (was: Take care with codes()!)
I've just uploaded gregmisc_0.8.2.tar.gz to CRAN. It should show up in the
package repository in a day or two.
This version of the gregmisc package provides an enhanced 'balloonplot'
function with 'rowsrt', 'colsrt' arguments to control rotation of the
labels, and 'rowmar', 'colmar' to control the amount of space reserved for
the labels.
Here's
2013 Apr 12
3
Why copying columns of a data.frame becomes numeric?
Dear list,
I want the 1st, 2nd, 5th, and 6th columns of mtcars. After copying them,
the columns become numeric class rather than data frame.
But, when I copy rows, they data frame retains its class. Why is this? I
don't see why copying rows vs columns is so different.
> class(mtcars)
[1] "data.frame"
> head(mtcars)
mpg cyl disp hp drat wt qsec vs
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
2020 Jul 23
0
Issue with Keytab memory
On 23/07/2020 11:28, Georg.Biberger--- via samba wrote:
> Hello,
>
> I am using Samba as file server as member of a windows domain.
> Kerberos is configured with kerberos method = secrets and keytab
>
> Currently some (not all) users get issues when connecting to samba shares from windows.
> In the corresponding samba logs I found entries:
> ....
> [2020/07/23
2020 Jul 23
0
Issue with Keytab memory
Try
net ads keytab add_update_ads cifs/$(hostname -f) -U Administrator
And i hope this is not your hostname : lpeda1.muc
Because thats a domainname.
Also make sure you check the resolving of the A and PTR records
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
> Georg.Biberger--- via samba
> Verzonden:
2020 Jul 23
5
Issue with Keytab memory
Hello,
I am using Samba as file server as member of a windows domain.
Kerberos is configured with kerberos method = secrets and keytab
Currently some (not all) users get issues when connecting to samba shares from windows.
In the corresponding samba logs I found entries:
....
[2020/07/23 12:08:06.697678, 1] ../../source3/librpc/crypto/gse.c:660(gse_get_server_auth_token)
2013 May 08
1
[LLVMdev] [lld] contentHash in the Reader ?
On Wed, May 8, 2013 at 9:13 PM, Owen Anderson <resistor at mac.com> wrote:
> On May 8, 2013, at 10:50 AM, Chandler Carruth <chandlerc at google.com>
> wrote:
>
>
>>
>>> What are the SHA-3 variants that you think would suite these needs ?
>>
>>
> I want to look at the implementation complexity. The winner (and the
> official SHA3 algorithm),
2013 Nov 05
1
Opus Stereo for Speech
Hi,
I have a question regarding the stereo capabilities of Opus. I would like to establish a connection between two ends via Wi-Fi and the signals that are to be transmitted are of speech kind. It mean on both ends speech is both recorded and played back as stereo. Now would the delay and loss characteristics of the speech transmission at a certain bitrate be the same as Mono voice transmission?