Displaying 6 results from an estimated 6 matches for "messier031".
2017 Oct 05
4
dealing with a messy dataset
dear R-users,
I am facing a quite regular and basic problem when it comes to dealing
with datasets, but I cannot find any satisfying answer so far.
I have a messy dataset of galaxies like that :
And XVIII 000214.5+450520 0.69 17 9 0.00 -8.7 26.8 6.44
6.78 < 6.65 -44 0.5 MESSIER031 0.6 1.54
PAndAS-03 000356.4+405319 0.10 17 0.00 -3.6 27.8
4.38 2.8 MESSIER031 2.8 1.75
PAndAS-04 000442.9+472142 0.05 22 0.00 -6.6 23.1
5.59 -108 2.5 MESSIER031 2.5 1.75
PAndAS-05...
2017 Oct 05
0
dealing with a messy dataset
It looks like fixed width. I just used the last position of each
field to get the size and used the 'readr' package;
> input <- "And XVIII 000214.5+450520 0.69 17 9 0.00
-8.7 26.8 6.44 6.78 < 6.65 -44 0.5 MESSIER031 0.6
1.54
+ PAndAS-03 000356.4+405319 0.10 17 0.00 -3.6 27.8
4.38 2.8 MESSIER031 2.8 1.75
+ PAndAS-04 000442.9+472142 0.05 22 0.00 -6.6 23.1
5.59 -108 2.5 MESSIER031 2.5 1.75
+ PAnd...
2017 Oct 05
3
dealing with a messy dataset
...bl) (chr)
(chr) (int) (chr) (chr) (chr) (chr) (dbl) (chr)
1 UGC12894 000022.5+392944 2.78 33 21 0 -13.3 25.2 7.5 8
8.1 7 7.9 2 61 9 -1. 3 NGC7640 -1 0 0.12
2 WLM 000158.1-152740 3.25 90 22 0 -14.1 24.8 7.7 0
8.2 7 7.8 4 -1 6 0. 0 MESSIER031 0 2 1.75
3 And XVIII 000214.5+450520 0.69 17 9 0 -8.7 26.8 6.4 4
6.7 8 < 6.6 5 -4 4 0. 5 MESSIER031 0 6 1.54
4 PAndAS-03 000356.4+405319 0.10 17 NA 0 -3.6 27.8
4.3 8 NA NA NA 2. 8 MESSIER031 2 8 1.75
5 PAndAS-04 000442.9+4721...
2017 Oct 05
0
dealing with a messy dataset
...;
> I am facing a quite regular and basic problem when it comes to dealing with datasets, but I cannot find any satisfying answer so far.
> I have a messy dataset of galaxies like that :
>
> And XVIII 000214.5+450520 0.69 17 9 0.00 -8.7 26.8 6.44 6.78 < 6.65 -44 0.5 MESSIER031 0.6 1.54
> PAndAS-03 000356.4+405319 0.10 17 0.00 -3.6 27.8 4.38 2.8 MESSIER031 2.8 1.75
> PAndAS-04 000442.9+472142 0.05 22 0.00 -6.6 23.1 5.59 -108 2.5 MESSIER031 2.5 1.75
> PAndAS...
2017 Oct 05
0
dealing with a messy dataset
...gt; (chr) (int) (chr) (chr) (chr) (chr) (dbl) (chr)
> 1 UGC12894 000022.5+392944 2.78 33 21 0 -13.3 25.2 7.5 8 8.1
> 7 7.9 2 61 9 -1. 3 NGC7640 -1 0 0.12
> 2 WLM 000158.1-152740 3.25 90 22 0 -14.1 24.8 7.7 0 8.2
> 7 7.8 4 -1 6 0. 0 MESSIER031 0 2 1.75
> 3 And XVIII 000214.5+450520 0.69 17 9 0 -8.7 26.8 6.4 4 6.7
> 8 < 6.6 5 -4 4 0. 5 MESSIER031 0 6 1.54
> 4 PAndAS-03 000356.4+405319 0.10 17 NA 0 -3.6 27.8 4.3 8
> NA NA NA 2. 8 MESSIER031 2 8 1.75
> 5 PAndAS-...
2017 Oct 05
1
dealing with a messy dataset
...(chr) (chr) (chr) (chr) (dbl) (chr)
>> 1 UGC12894 000022.5+392944 2.78 33 21 0 -13.3 25.2 7.5 8 8.1
>> 7 7.9 2 61 9 -1. 3 NGC7640 -1 0 0.12
>> 2 WLM 000158.1-152740 3.25 90 22 0 -14.1 24.8 7.7 0 8.2
>> 7 7.8 4 -1 6 0. 0 MESSIER031 0 2 1.75
>> 3 And XVIII 000214.5+450520 0.69 17 9 0 -8.7 26.8 6.4 4 6.7
>> 8 < 6.6 5 -4 4 0. 5 MESSIER031 0 6 1.54
>> 4 PAndAS-03 000356.4+405319 0.10 17 NA 0 -3.6 27.8 4.3 8
>> NA NA NA 2. 8 MESSIER031 2 8 1.75...