Displaying 20 results from an estimated 1700 matches similar to: "cannot allocate vector of size... restructuring suggestion please..."
2008 Dec 08
3
Transforming a string to a variable's name? help me newbie...
Dear all,
I'm a newbie in R.
I have a 45x2x2x8 design.
A dataframe stores the metadata of trials. And each trial has its own
data file: I used "read.table" to import every trial into R as a
dataframe (variable).
Now I dynamically ask R to retrieve trials that fit certain selection
criteria, so I use "subset", e.g.
tmptrialinfo <- subset(trialinfo, (Subject==24 &
2009 May 21
3
index to select rows of a large matrix
Dear R Users,
I have created a 1500 x 20000 data frame - DataSeq. Each of the 1500
rows represents a data sequence.
I have another data frame iData that stores the information of these
1500 data sequences in the same order, for example, condition, gender,
etc.
If I use "subset" to select certain groups within iData according to
some criteria that I have set, e.g. condition, gender
Then
2009 Apr 22
4
read.table or read.csv without row index?
Hello all,
Probably my concepts about the data.frame and matrix and array in R
are not clear, I need some clarification to help me understand them
better.
>M <- read.table("test1.csv",sep=",",row.names=NULL,header=T)
gives me: M as
M1 M2 M3 M4 M5 M6 M7 M8 M9 M10
1 9 11 14 15 18 20 20 20 20 20
2 3 4 8 9 11 12 14 15 15 15
3 4 5 8 8 9 9 9 9 9 9
4 4
2018 Mar 17
0
[NFC] Restructuring LoopRoration.cpp to create Loop Rotation Pass with Loop Rotation Utility Interface
NFC: Restructuring LoopRoration.cpp to create Loop Rotation Pass with Loop Rotation Utility Interface
=============================================================================
Why this NFC change?
=================
The existing LoopRotation.cpp is implemented as one of loop passes instead of being a utility. The user cannot easily perform the loop rotation selectively (or on demand) under
2007 Jun 28
2
restructuring matrix
Hi all,
let's say I have matrix
People Desc Value
Mary Height 50
Mary Weight 100
Fanny Height 60
Fanny Height 200
Is there a quick way to form the following matrix?
People Height Weight
Mary 50 100
Fanny 60 200
(Assuming I don't know the length of people/desc and let's say these are
characters matrix.. I tried
2009 May 20
2
Too large a data set to be handled by R?
Dear R users,
I have been using a dynamic data extraction from raw files strategy at
the moment, but it takes a long long time.
In order to save time, I am planning to generate a data set of size
1500 x 20000 with each data point a 9-digit decimal number, in order
to save my time.
I know R is limited to 2^31-1 and that my data set is not going to
exceed this limit. But my laptop only has 2 Gb and
2009 Mar 09
1
Data Restructuring Question
I think I am overlooking a call or concept in R to help me easily and quickly restructure my data.frame:
Sometimes the data I receive looks like:
VariableName, Run1, Run2, Run3, Location
temp, 15.0, 16.0, 17.0, There
And other times it looks like:
VariableName, Run, Location
temp, 17.0, There
I would like to use the header information in order to be able to
2017 Aug 04
1
Restructuring Star Wars data from rwars package
I'm having trouble restructuring data from the rwars package into a
dataframe. Can someone help me?
Here's what I have...
library("rwars")
library("tidyverse")
# These data are json, so they load into R as a list
people <- get_all_people(parse_result = T)
people <- get_all_people(getElement(people, "next"), parse_result = T)
# Look at Anakin
2006 Sep 22
1
gnome-window-decorator -> gtk-window-decorator and some restructuring
The current name of gnome-window-decorator is wrong. There's nothing
gnome specific in that code. I'll go a head and change the name to
gtk-window-decorator later today.
I'm also going to split the gnome configure option into a gtk and a
gnome option as the only gnome specific code that exist in the tree is
the compiz-window-manager module which is used to integrate with the
gnome
2010 Jun 08
1
restructuring "by" output for use with write.table
Hello,
vegMeans <- by(SoilVegHydro[3:37] , SoilVegHydro$Physiogomy, mean)
vegSD <- by(SoilVegHydro[3:37] , SoilVegHydro$Physiogomy, sd)
write.table(vegMeans,
file="A:\\Work_Area\\Steve\\Hydrology_Data\\data\\vegMeans.txt")
Error in as.data.frame.default(x[[i]], optional = TRUE, stringsAsFactors =
stringsAsFactors) :
cannot coerce class '"by"' into a
2009 May 19
2
Replace / swap values of subset of a data.frame
Dear R users,
I have 1 data.frame of 1500x80 - data1. I found out that there are a
few cells of data that I have misplace, and I need to fix the ordering
of them.
In an attempt trying to swap column 22 & 23 of the Subject with
misplaced data, I did the following:
> data2 <- data1
> subset(data1,(Subject==25 & Session==1))[,22] <- subset(data2,(Subject==25 &
2007 Jul 15
1
Restructuring data
Hi folks,
I am new to the list and relatively new to R. I am trying to unstack data
"arraywise" and could not find a convenient solution yet. I tried to find a
solution for the problem on help archives. I also tried to use the reshape
command in R and the reshape package but could not get result. I will
illustrate the case below, but the real dataset is quite large so that I
would
2011 Sep 26
1
Restructuring data - unstack, reshape?
Hi all,
I'm having a problem restructuring my data the way I'd like it. I have data
that look like this:
Candidate.ID Specialty Office Score
110002 C London 47
110002 C East 48
110003 RM West 45
110003 RM
2009 Jun 01
3
Within Subject ANOVA question
Dear R users,
I have copied for following table from an article on "Using confidence
intervals in within-subject designs":
Subject 1sec 2sec 5sec
1 10 13 13 12.00
2 6 8 8 7.33
3 11 14 14 13.00
4 22 23 25 23.33
5 16 18 20 18.00
6 15 17 17 16.33
7 1 1 4 2.00
8 12 15 17 14.67
9 9 12 12 11.00
10 8 9 12 9.67
I rearranged the data this way:
2008 Sep 07
2
restructuring datset problem
Hi,
I've got a question regarding the restructering of a data set. What I have are municipality zip-codes and the names of 5'000 built-up areas within municipalities. The following example shows, what I would like to do:
Input (Zip-Codes and Names):
# CODE NAME
#1 3 aaa
#2 3 aab
#3 3 aac
#4 4 bba
#5 4 bbb
#6 4
2008 Dec 10
2
Multpile (45x8) graphs of the same page / device: titles crammed
Dear R users,
I'm trying to plot 45x8 graphs on the same pdf / device for the sake
of visual comparison.
par(mfcol=c(45,8))
par(mai=c(0,0,0,0))
In ?title, I can see there are cex and font settings: I set cex = 0.01
and font = 1: it is still very large, and then I tried setting font <
1, e.g. font = 0.5, Then I get an error:
Error in title(paste(Ppercent, "% ",
2023 Sep 20
1
[centos-artwork] Restructuring the website homepage layout
Hey folks,
Could we have a talk about the website homepage layout?
Here is a tentative sketch I am working on for the a new website theme:
https://centos.gitlab.io/artwork/centos-web/jekyll-theme-centos-base/documentation/#the-page-basehome-layout
In this layout:
Are "News and Events" and "Blog Posts" redundant sections??
Does it make sense to present only extracts from
2008 Dec 11
3
Resampling physiological data using R?
Dear all R users,
I am going to use R to process some of my physiological data about eye.
The problem is the recording machine does not sample in a reliably
constant rate: the time intervals between data sampled can vary from
9msec to ~120msec, while most around in the 15-30msec range.
The below is a fraction of a single data file of a trial:
Time CursorX CursorY Pupilsize
1811543 -1 -1 -1
2012 Sep 13
1
problem creating an array
Hello,
I am having trouble creating a (1000,3,201) array in R from a data set
created within the same script. My problem is that I want to take a matrix
that is 1000x603
(called "landmat") and separate this into 201 separate (1000x3) matrices.
My problem is when I try to do particular combinations of the columns. I
want to take the first 3 columns of "landmat" and create
2023 Sep 20
1
[CentOS-devel] [centos-artwork] Restructuring the website homepage layout
Alain,
That looks great and the sections make sense as you've described them. As
far as News and Events and Blog, I do think they're the same thing but I
kind of like the idea of calling it News and Events vs Blog.
Amy
*Amy Marrich*
She/Her/Hers
Principal Technical Marketing Manager - Cloud Platforms
Red Hat, Inc <https://www.redhat.com/>
amy at redhat.com
Mobile: