[R] Axis whitout all the row, that contains time

Rui Barradas ru|pb@rr@d@@ @end|ng |rom @@po@pt
Sun Feb 14 19:36:29 CET 2021


Hello,

Sorry, my typo now, see inline.

Às 16:56 de 14/02/21, Rui Barradas escreveu:
> Hello,
> 
> Please always cc the r-help mailing list, this might be helpful to 
> others in the future.
> 
> 1. You have a data file using the continental Europe convention of 
> marking the decimals with a comma, therefore you should read the data in 
> with read.csv2:
> 
> the columns separator is the semi-colon: sep = ";"
> the decimal point is comma: dec = ","
> the default value for argument header = TRUE
> 
> Like this you are reading in the numeric data as strings, I will take 
> care of that in the code but try read.csv.
here ------------------------------^^^^^^^^

I meant read.csv2.

Rui Barradas

> 
> 2. You have 2 typos.
> 
> factorsAsStrings instead of stringsAsFactors. But unless you have a good 
> reason to set this to TRUE, I suggest you do not. If it's just to plot 
> the data, then don't.
> 
> The times format string is missing the percent sign "%" before the H.
> 
> 
> 2. Now the code. Note that I don't set stringsAsFactors = TRUE and that 
> I replace the commas with periods in the 2nd instruction.
> Also, aes(..., color = variable) already groups the lines, there is no 
> need for group = variable.
> 
> 
> 
> liste_data_long <- melt(In_IL, id = "DateHeure")
> liste_data_long$value <- sub(",", ".", liste_data_long$value)
> liste_data_long$value <- as.numeric(liste_data_long$value)
> 
> library(ggplot2)
> 
> ggplot(liste_data_long, aes(x = DateHeure, y = value, color = variable)) +
>    geom_line() +
>    geom_point() +
>    scale_x_datetime(date_breaks = "60 secs", date_labels = "%H:%M:%S")
> 
> 
> 
> Hope this helps,
> 
> Rui Barradas
> 
> 
> Às 15:01 de 14/02/21, Informatique escreveu:
>> And the nentire code is :
>> ---
>> title: "TEST 3"
>> author: "BILLARD"
>> date: "08/02/2021"
>> output: pdf_document
>> ---
>>
>> ```{r setup, include=FALSE,echo=FALSE,warning=FALSE}
>> knitr::opts_chunk$set(echo = FALSE)
>> ```
>>
>>
>> ```{r echo=FALSE,warning=FALSE, message=FALSE}
>> library(ggplot2)
>> library(reshape2)
>> library(tidyverse)
>> library(lubridate)
>> ```
>>
>>
>> ```{r echo=FALSE,warning=FALSE}
>> listeMesuresComplete <- read.csv("./8331_141564RFH 
>> 2745_Enregistrement_BILL1_fromCA8331_BRUT.csv",skip = 1)
>>
>> listeMesuresPropres <- listeMesuresComplete[-c(1,2),]
>>
>> listeMesuresPropres$Date. <- as.character.Date(listeMesuresPropres$Date.)
>> listeMesuresPropres$Date. <- dmy(listeMesuresPropres$Date.)
>>
>> listeMesuresPropres$Heure. <- 
>> as.character.Date(listeMesuresPropres$Heure.)
>> listeMesuresPropres$DateHeure <- with(listeMesuresPropres, 
>> as.POSIXct(paste(Date., Heure.)))
>>
>>
>>
>> ```
>> # Courants dans une phase et le neutre
>>
>> ```{r echo=FALSE,warning=FALSE}
>> In_IL<- listeMesuresPropres[ , 
>> c("DateHeure","A2.RMS","AN.RMS")]                   # Subset by name
>>
>>
>> liste_data_long <- melt(In_IL, id="DateHeure",factorsAsStrings=TRUE)  
>> # convert to long format
>> #liste_data_long$Heure. <- hms(liste_data_long$DateHeure.)
>>
>>
>> ggplot(liste_data_long, aes(x =DateHeure    , y = value, color 
>> =variable, group=variable) )+
>>    geom_line() +
>>    scale_x_datetime(date_breaks = "60 secs", date_labels = "H:%M:%S")
>>    geom_point()
>>
>> ```
>>
>> On Sun, 14 Feb 2021 14:24:22 +0000
>> Rui Barradas <ruipbarradas using sapo.pt> wrote:
>>
>>> Hello,
>>>
>>> Merci pour les donnés, c'est beaucoup mieux comme ça.
>>>
>>> Create a column of class "POSIXct"
>>>
>>>
>>> listeMesuresPropres$DateHeure <- with(listeMesuresPropres,
>>> as.POSIXct(paste(Date., Heure.)))
>>>
>>>
>>> and then plot with this new column, DateHeure as x axis variable.
>>>
>>> Can you post the entire ggplot code, not just the scale_x_datetime
>>> instruction but the rest of the plotting code?
>>>
>>>
>>> Hope this helps,
>>>
>>> Rui Barradas
>>>
>>>
>>> Às 13:25 de 14/02/21, Informatique escreveu:
>>>> Hello,
>>>> Thank's for your help.
>>>>
>>>> i when i try this one
>>>>        geom_line() +
>>>>         scale_x_datetime(date_breaks = "20 secs", date_labels = 
>>>> "H:%M:%S")
>>>>         geom_point()
>>>>
>>>>
>>>> i have an error :
>>>>     Erreur : Invalid input: time_trans works with objects of class 
>>>> POSIXct only
>>>>
>>>> it's the reason i have try the scale_x_time after.
>>>>
>>>> The result of > dput(head(listeMesuresPropres, 20))  is
>>>>
>>>> dput(head(listeMesuresPropres, 20))  # or 30
>>>> structure(list(Date. = structure(c(18666, 18666, 18666, 18666,
>>>> 18666, 18666, 18666, 18666, 18666, 18666, 18666, 18666, 18666,
>>>> 18666, 18666, 18666, 18666, 18666, 18666, 18666), class = "Date"),
>>>>       Heure. = c("10:24:00", "10:24:05", "10:24:10", "10:24:15",
>>>>       "10:24:20", "10:24:25", "10:24:30", "10:24:35", "10:24:40",
>>>>       "10:24:45", "10:24:50", "10:24:55", "10:25:00", "10:25:05",
>>>>       "10:25:10", "10:25:15", "10:25:20", "10:25:25", "10:25:30",
>>>>       "10:25:35"), U12.RMS.MIN.1.2.période = structure(c(19L,
>>>>       18L, 18L, 20L, 20L, 20L, 23L, 3L, 19L, 16L, 12L, 26L, 14L,
>>>>       28L, 16L, 15L, 13L, 15L, 15L, 27L), .Label = c("", "401,1",
>>>>       "401,2", "401,5", "401,9", "402", "403", "403,1", "403,2",
>>>>       "403,3", "403,4", "403,5", "403,6", "403,7", "403,8", "403,9",
>>>>       "404", "404,1", "404,2", "404,3", "404,4", "404,5", "404,6",
>>>>       "404,7", "404,8", "404,9", "405", "405,2", "405,3", "V"), 
>>>> class = "factor"),
>>>>       U12.RMS = structure(c(14L, 13L, 12L, 14L, 14L, 14L, 17L,
>>>>       10L, 13L, 11L, 8L, 9L, 10L, 10L, 11L, 12L, 9L, 10L, 9L, 9L
>>>>       ), .Label = c("", "404,7", "404,8", "404,9", "405", "405,1",
>>>>       "405,2", "405,3", "405,4", "405,5", "405,6", "405,7", "405,8",
>>>>       "405,9", "406", "406,1", "406,2", "406,3", "V"), class = 
>>>> "factor"),
>>>>       U12.RMS.MAX.1.2.période = structure(c(14L, 12L, 11L, 13L,
>>>>       12L, 12L, 17L, 9L, 12L, 11L, 9L, 8L, 8L, 8L, 10L, 11L, 12L,
>>>>       8L, 9L, 7L), .Label = c("", "406,5", "406,6", "406,7", "406,8",
>>>>       "406,9", "407", "407,1", "407,2", "407,3", "407,4", "407,5",
>>>>       "407,6", "407,7", "407,8", "407,9", "408", "408,1", "V"), 
>>>> class = "factor"),
>>>>       U23.RMS.MIN.1.2.période = structure(c(19L, 16L, 17L, 17L,
>>>>       17L, 17L, 18L, 2L, 27L, 16L, 12L, 12L, 23L, 14L, 15L, 17L,
>>>>       12L, 24L, 12L, 14L), .Label = c("", "400,7", "400,8", "401,5",
>>>>       "401,6", "402,4", "402,8", "402,9", "403", "403,1", "403,2",
>>>>       "403,3", "403,4", "403,5", "403,6", "403,7", "403,8", "403,9",
>>>>       "404", "404,2", "404,3", "404,5", "404,6", "404,7", "404,9",
>>>>       "405", "405,1", "405,6", "V"), class = "factor"), U23.RMS = 
>>>> structure(c(14L,
>>>>       12L, 12L, 13L, 12L, 12L, 13L, 8L, 11L, 10L, 7L, 7L, 9L, 10L,
>>>>       9L, 11L, 8L, 8L, 8L, 9L), .Label = c("", "404,5", "404,6",
>>>>       "404,7", "404,9", "405", "405,1", "405,2", "405,3", "405,4",
>>>>       "405,5", "405,6", "405,7", "405,8", "405,9", "406", "406,2",
>>>>       "406,4", "V"), class = "factor"), U23.RMS.MAX.1.2.période = 
>>>> structure(c(16L,
>>>>       12L, 9L, 12L, 10L, 10L, 13L, 9L, 11L, 9L, 6L, 8L, 10L, 9L,
>>>>       9L, 11L, 9L, 7L, 6L, 9L), .Label = c("", "406,4", "406,5",
>>>>       "406,6", "406,8", "406,9", "407", "407,1", "407,2", "407,3",
>>>>       "407,4", "407,5", "407,6", "407,7", "407,8", "407,9", "408",
>>>>       "408,1", "408,3", "V"), class = "factor"), 
>>>> U31.RMS.MIN.1.2.période = structure(c(20L,
>>>>       27L, 20L, 17L, 16L, 16L, 16L, 2L, 15L, 15L, 15L, 15L, 24L,
>>>>       16L, 17L, 11L, 8L, 15L, 18L, 17L), .Label = c("", "401",
>>>>       "401,2", "401,3", "401,9", "402", "403,2", "403,5", "403,6",
>>>>       "403,7", "403,8", "403,9", "404", "404,1", "404,2", "404,3",
>>>>       "404,4", "404,5", "404,6", "404,7", "404,8", "404,9", "405",
>>>>       "405,1", "405,2", "405,3", "405,4", "405,5", "405,7", "V"
>>>>       ), class = "factor"), U31.RMS = structure(c(10L, 8L, 9L,
>>>>       9L, 6L, 6L, 10L, 7L, 10L, 9L, 6L, 5L, 6L, 6L, 7L, 7L, 4L,
>>>>       6L, 6L, 7L), .Label = c("", "405,3", "405,4", "405,5", "405,6",
>>>>       "405,7", "405,8", "405,9", "406", "406,1", "406,2", "406,3",
>>>>       "406,4", "406,5", "406,6", "406,7", "406,9", "V"), class = 
>>>> "factor"),
>>>>       U31.RMS.MAX.1.2.période = structure(c(10L, 10L, 12L, 7L,
>>>>       6L, 6L, 14L, 10L, 14L, 14L, 6L, 8L, 6L, 8L, 9L, 11L, 4L,
>>>>       4L, 6L, 5L), .Label = c("", "406,9", "407", "407,1", "407,2",
>>>>       "407,3", "407,4", "407,5", "407,6", "407,7", "407,8", "407,9",
>>>>       "408", "408,1", "408,2", "408,3", "408,4", "408,6", "V"), 
>>>> class = "factor"),
>>>>       V1.RMS.MIN.1.2.période = structure(c(12L, 11L, 9L, 9L, 9L,
>>>>       9L, 10L, 2L, 13L, 12L, 10L, 10L, 10L, 8L, 9L, 8L, 7L, 10L,
>>>>       10L, 11L), .Label = c("", "231,1", "231,8", "232,1", "232,3",
>>>>       "232,4", "232,5", "232,7", "232,8", "232,9", "233", "233,1",
>>>>       "233,2", "233,3", "233,4", "233,5", "233,6", "233,7", "233,8",
>>>>       "233,9", "234", "234,1", "234,2", "234,4", "234,6", "V"), 
>>>> class = "factor"),
>>>>       V1.RMS = structure(c(5L, 4L, 4L, 4L, 4L, 4L, 5L, 5L, 8L,
>>>>       7L, 5L, 5L, 5L, 3L, 3L, 3L, 2L, 5L, 5L, 5L), .Label = c("",
>>>>       "233,6", "233,7", "233,8", "233,9", "234", "234,1", "234,2",
>>>>       "234,3", "234,4", "234,5", "234,6", "234,7", "234,8", "234,9",
>>>>       "V"), class = "factor"), V1.RMS.MAX.1.2.période = structure(c(5L,
>>>>       4L, 4L, 4L, 2L, 2L, 5L, 6L, 7L, 6L, 5L, 4L, 5L, 4L, 2L, 3L,
>>>>       4L, 5L, 4L, 4L), .Label = c("", "234,6", "234,7", "234,8",
>>>>       "234,9", "235", "235,1", "235,2", "235,3", "235,4", "235,5",
>>>>       "235,6", "235,7", "235,8", "235,9", "V"), class = "factor"),
>>>>       V2.RMS.MIN.1.2.période = structure(c(15L, 14L, 14L, 16L,
>>>>       16L, 16L, 18L, 4L, 11L, 11L, 9L, 7L, 10L, 13L, 21L, 14L,
>>>>       12L, 10L, 10L, 10L), .Label = c("", "230,3", "231,3", "231,5",
>>>>       "231,7", "232,3", "232,4", "232,5", "232,6", "232,7", "232,8",
>>>>       "232,9", "233", "233,1", "233,2", "233,3", "233,4", "233,5",
>>>>       "233,6", "233,7", "233,8", "V"), class = "factor"), V2.RMS = 
>>>> structure(c(10L,
>>>>       10L, 9L, 11L, 11L, 11L, 12L, 5L, 6L, 6L, 4L, 4L, 5L, 8L,
>>>>       9L, 9L, 8L, 5L, 4L, 4L), .Label = c("", "233,3", "233,4",
>>>>       "233,6", "233,7", "233,8", "233,9", "234", "234,1", "234,2",
>>>>       "234,3", "234,4", "V"), class = "factor"), 
>>>> V2.RMS.MAX.1.2.période = structure(c(13L,
>>>>       11L, 11L, 12L, 12L, 12L, 13L, 6L, 8L, 8L, 5L, 6L, 6L, 10L,
>>>>       9L, 11L, 12L, 6L, 6L, 5L), .Label = c("", "234,3", "234,4",
>>>>       "234,5", "234,6", "234,7", "234,8", "234,9", "235", "235,1",
>>>>       "235,2", "235,3", "235,4", "V"), class = "factor"), 
>>>> V3.RMS.MIN.1.2.période = structure(c(18L,
>>>>       17L, 17L, 14L, 16L, 16L, 16L, 2L, 16L, 16L, 14L, 14L, 15L,
>>>>       15L, 14L, 14L, 9L, 14L, 15L, 16L), .Label = c("", "231,2",
>>>>       "231,5", "231,9", "232,5", "232,9", "233,1", "233,2", "233,3",
>>>>       "233,4", "233,5", "233,6", "233,7", "233,8", "233,9", "234",
>>>>       "234,1", "234,2", "V"), class = "factor"), V3.RMS = 
>>>> structure(c(14L,
>>>>       13L, 12L, 13L, 12L, 12L, 13L, 11L, 13L, 12L, 10L, 11L, 11L,
>>>>       11L, 11L, 12L, 9L, 10L, 11L, 12L), .Label = c("", "233,8",
>>>>       "233,9", "234", "234,1", "234,2", "234,3", "234,4", "234,5",
>>>>       "234,6", "234,7", "234,8", "234,9", "235", "V"), class = 
>>>> "factor"),
>>>>       V3.RMS.MAX.1.2.période = structure(c(15L, 13L, 12L, 16L,
>>>>       11L, 11L, 13L, 11L, 13L, 13L, 11L, 15L, 11L, 11L, 11L, 12L,
>>>>       12L, 10L, 12L, 12L), .Label = c("", "234,6", "234,7", "234,8",
>>>>       "234,9", "235", "235,1", "235,2", "235,3", "235,4", "235,5",
>>>>       "235,6", "235,7", "235,8", "235,9", "236", "V"), class = 
>>>> "factor"),
>>>>       A1.RMS.MIN.1.2.période = structure(c(7L, 6L, 7L, 5L, 7L,
>>>>       7L, 5L, 8L, 8L, 6L, 10L, 5L, 9L, 8L, 7L, 4L, 2L, 16L, 15L,
>>>>       14L), .Label = c("", "0,28", "0,32", "0,35", "0,36", "0,37",
>>>>       "0,38", "0,39", "0,4", "0,41", "0,42", "0,43", "3,15", "3,2",
>>>>       "3,21", "3,23", "3,47", "3,49", "3,5", "5,95", "6,02", "6,04",
>>>>       "6,06", "6,07", "6,4", "6,41", "6,45", "6,46", "6,47", "8,88",
>>>>       "8,91", "8,98", "8,99", "9,04", "A"), class = "factor"),
>>>>       A1.RMS = structure(c(2L, 3L, 3L, 3L, 3L, 3L, 3L, 4L, 4L,
>>>>       4L, 4L, 4L, 4L, 4L, 4L, 4L, 23L, 17L, 16L, 16L), .Label = c("",
>>>>       "0,45", "0,46", "0,47", "0,48", "0,49", "0,64", "1,45", "1,52",
>>>>       "11,09", "2,26", "2,37", "2,45", "3,37", "3,38", "3,39",
>>>>       "3,4", "3,57", "3,58", "3,59", "4,37", "4,51", "5,14", "5,23",
>>>>       "6,24", "6,25", "6,26", "6,27", "6,28", "6,53", "6,54", "6,55",
>>>>       "6,58", "6,61", "8,37", "9,23", "9,24", "9,25", "9,26", "9,29",
>>>>       "A"), class = "factor"), A1.RMS.MAX.1.2.période = structure(c(3L,
>>>>       5L, 4L, 6L, 4L, 4L, 8L, 4L, 4L, 6L, 2L, 9L, 4L, 5L, 6L, 9L,
>>>>       13L, 19L, 18L, 17L), .Label = c("", "0,5", "0,51", "0,52",
>>>>       "0,53", "0,54", "0,55", "0,56", "0,57", "0,58", "1,05", "1,71",
>>>>       "19,86", "20,25", "3,5", "3,56", "3,57", "3,6", "3,61", "3,64",
>>>>       "3,65", "3,66", "3,68", "3,7", "36,87", "38,73", "38,87",
>>>>       "6,46", "6,47", "6,48", "6,49", "6,5", "6,51", "6,65", "6,66",
>>>>       "6,69", "6,72", "6,75", "9,48", "9,5", "9,51", "9,55", "9,56",
>>>>       "A"), class = "factor"), A2.RMS.MIN.1.2.période = structure(c(2L,
>>>>       2L, 2L, 2L, 2L, 2L, 2L, 2L, 9L, 9L, 8L, 9L, 9L, 2L, 2L, 2L,
>>>>       2L, 7L, 5L, 4L), .Label = c("", "0", "2,96", "2,98", "2,99",
>>>>       "3,01", "3,02", "3,15", "3,17", "6,08", "6,11", "6,14", "6,16",
>>>>       "6,17", "6,18", "A"), class = "factor"), A2.RMS = structure(c(2L,
>>>>       2L, 2L, 2L, 2L, 2L, 2L, 18L, 16L, 15L, 15L, 14L, 14L, 6L,
>>>>       2L, 2L, 20L, 12L, 11L, 11L), .Label = c("", "0", "0,21",
>>>>       "0,24", "1,27", "1,65", "2,01", "2,03", "2,92", "3,13", "3,14",
>>>>       "3,15", "3,16", "3,22", "3,23", "3,24", "3,36", "3,6", "4,21",
>>>>       "5,32", "6,25", "6,26", "6,27", "6,28", "6,29", "6,3", "6,33",
>>>>       "8,14", "8,66", "A"), class = "factor"), 
>>>> A2.RMS.MAX.1.2.période = structure(c(3L,
>>>>       3L, 4L, 3L, 3L, 3L, 9L, 36L, 16L, 14L, 15L, 12L, 12L, 23L,
>>>>       4L, 3L, 11L, 15L, 15L, 14L), .Label = c("", "0", "0,07",
>>>>       "0,1", "0,13", "0,15", "1,14", "1,3", "1,74", "21,68", "23,7",
>>>>       "3,27", "3,28", "3,29", "3,3", "3,31", "3,33", "3,9", "37,01",
>>>>       "37,2", "37,98", "4", "5,58", "5,61", "6,35", "6,37", "6,38",
>>>>       "6,39", "6,4", "6,42", "6,43", "6,46", "6,47", "6,48", "6,51",
>>>>       "7,75", "A"), class = "factor"), A3.RMS.MIN.1.2.période = 
>>>> structure(c(2L,
>>>>       2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L,
>>>>       2L, 7L, 5L, 4L), .Label = c("", "0", "3", "3,02", "3,03",
>>>>       "3,04", "3,05", "3,06", "5,69", "6,21", "6,23", "6,24", "6,25",
>>>>       "6,26", "6,29", "A"), class = "factor"), A3.RMS = structure(c(2L,
>>>>       2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L,
>>>>       16L, 12L, 11L, 11L), .Label = c("", "0", "0,02", "0,03",
>>>>       "0,04", "0,7", "1,21", "1,93", "2,48", "3,18", "3,19", "3,2",
>>>>       "3,21", "3,22", "3,69", "4,81", "6,34", "6,36", "6,37", "6,39",
>>>>       "6,41", "6,42", "6,43", "7,82", "8,66", "A"), class = "factor"),
>>>>       A3.RMS.MAX.1.2.période = structure(c(4L, 4L, 3L, 4L, 4L,
>>>>       4L, 10L, 4L, 4L, 4L, 5L, 4L, 4L, 3L, 6L, 5L, 14L, 20L, 19L,
>>>>       18L), .Label = c("", "0", "0,07", "0,1", "0,13", "0,15",
>>>>       "0,17", "0,2", "0,21", "0,23", "0,24", "0,26", "19,83", "19,99",
>>>>       "3,3", "3,32", "3,34", "3,35", "3,36", "3,37", "3,4", "3,41",
>>>>       "36,44", "37,04", "38,12", "6,45", "6,47", "6,48", "6,51",
>>>>       "6,52", "6,53", "6,54", "6,6", "6,63", "6,69", "6,7", "A"
>>>>       ), class = "factor"), AN.RMS.MIN.1.2.période = structure(c(2L,
>>>>       2L, 2L, 2L, 3L, 3L, 3L, 15L, 14L, 13L, 12L, 12L, 11L, 3L,
>>>>       3L, 3L, 7L, 7L, 7L, 7L), .Label = c("", "0,46", "0,47", "0,48",
>>>>       "0,49", "0,5", "0,55", "0,6", "0,64", "3,18", "3,27", "3,28",
>>>>       "3,29", "3,3", "3,31", "3,64", "3,65", "3,68", "3,69", "3,7",
>>>>       "3,71", "3,73", "3,75", "3,76", "3,77", "3,78", "A"), class = 
>>>> "factor"),
>>>>       AN.RMS = structure(c(2L, 2L, 2L, 2L, 3L, 3L, 3L, 25L, 24L,
>>>>       23L, 22L, 22L, 21L, 16L, 3L, 4L, 18L, 8L, 8L, 8L), .Label = c("",
>>>>       "0,46", "0,47", "0,48", "0,49", "0,5", "0,52", "0,55", "0,58",
>>>>       "0,64", "0,85", "1,04", "1,21", "1,52", "1,72", "1,87", "1,97",
>>>>       "2,14", "2,3", "2,43", "3,27", "3,28", "3,29", "3,3", "3,64",
>>>>       "3,65", "3,68", "3,69", "3,7", "3,71", "3,77", "3,78", "3,79",
>>>>       "A"), class = "factor"), AN.RMS.MAX.1.2.période = structure(c(3L,
>>>>       2L, 2L, 2L, 3L, 3L, 3L, 37L, 21L, 20L, 19L, 18L, 18L, 24L,
>>>>       3L, 4L, 38L, 9L, 9L, 10L), .Label = c("", "0,47", "0,48",
>>>>       "0,49", "0,5", "0,51", "0,52", "0,53", "0,55", "0,56", "0,64",
>>>>       "0,65", "0,66", "1", "1,72", "2,28", "3,22", "3,28", "3,29",
>>>>       "3,3", "3,31", "3,33", "3,43", "3,57", "3,64", "3,65", "3,66",
>>>>       "3,69", "3,7", "3,71", "3,72", "3,77", "3,78", "3,79", "3,83",
>>>>       "4,2", "4,35", "5,08", "5,32", "A"), class = "factor"), U12.CF 
>>>> = structure(c(3L,
>>>>       3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L,
>>>>       3L, 3L, 3L, 3L), .Label = c("", "1,42", "1,43"), class = 
>>>> "factor"),
>>>>       U23.CF = structure(c(2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L,
>>>>       2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L), .Label = c("",
>>>>       "1,43", "1,44"), class = "factor"), U31.CF = structure(c(2L,
>>>>       2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L,
>>>>       2L, 2L, 2L, 2L), .Label = c("", "1,44"), class = "factor"),
>>>>       V1.CF = structure(c(2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L,
>>>>       2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L), .Label = c("", "1,41"
>>>>       ), class = "factor"), V2.CF = structure(c(2L, 2L, 2L, 2L,
>>>>       2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L,
>>>>       2L), .Label = c("", "1,4"), class = "factor"), V3.CF = 
>>>> structure(c(2L,
>>>>       2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L,
>>>>       2L, 2L, 2L, 2L), .Label = c("", "1,4"), class = "factor"),
>>>>       A1.CF = structure(c(23L, 28L, 29L, 31L, 27L, 27L, 31L, 31L,
>>>>       29L, 34L, 26L, 32L, 28L, 30L, 29L, 33L, 35L, 8L, 8L, 8L), 
>>>> .Label = c("",
>>>>       "1,44", "1,45", "1,46", "1,47", "1,48", "1,5", "1,51", "1,53",
>>>>       "1,66", "1,74", "1,86", "1,92", "1,94", "1,96", "2", "2,07",
>>>>       "2,08", "2,09", "2,1", "2,11", "2,12", "2,13", "2,14", "2,15",
>>>>       "2,16", "2,17", "2,18", "2,19", "2,2", "2,21", "2,23", "2,24",
>>>>       "2,25", "2,37", "2,8"), class = "factor"), A2.CF = 
>>>> structure(c(2L,
>>>>       2L, 2L, 2L, 2L, 2L, 2L, 16L, 6L, 6L, 5L, 5L, 5L, 6L, 2L,
>>>>       2L, 22L, 12L, 13L, 12L), .Label = c("", "- - -", "1,11",
>>>>       "1,13", "1,41", "1,42", "1,45", "1,46", "1,47", "1,48", "1,5",
>>>>       "1,52", "1,53", "1,54", "1,59", "1,62", "1,63", "1,88", "1,9",
>>>>       "1,96", "2,14", "2,6", "2,94", "5,33"), class = "factor"),
>>>>       A3.CF = structure(c(2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L,
>>>>       2L, 2L, 2L, 2L, 2L, 2L, 20L, 8L, 8L, 9L), .Label = c("",
>>>>       "- - -", "1,46", "1,47", "1,48", "1,49", "1,5", "1,53", "1,54",
>>>>       "1,55", "1,63", "1,7", "1,78", "1,79", "1,83", "1,94", "2,12",
>>>>       "2,18", "2,37", "2,45", "2,5", "2,54", "2,67", "5,42"), class 
>>>> = "factor"),
>>>>       AN.CF = structure(c(33L, 33L, 31L, 36L, 34L, 34L, 34L, 11L,
>>>>       3L, 3L, 3L, 4L, 2L, 13L, 32L, 37L, 21L, 22L, 19L, 21L), .Label 
>>>> = c("",
>>>>       "1,5", "1,51", "1,52", "1,53", "1,54", "1,55", "1,56", "1,57",
>>>>       "1,64", "1,7", "1,88", "1,94", "2,01", "2,04", "2,07", "2,08",
>>>>       "2,11", "2,12", "2,14", "2,15", "2,17", "2,18", "2,2", "2,21",
>>>>       "2,22", "2,23", "2,24", "2,25", "2,26", "2,27", "2,28", "2,3",
>>>>       "2,31", "2,32", "2,34", "2,36", "2,37", "2,44", "2,57", "3,68"
>>>>       ), class = "factor"), F = structure(c(4L, 4L, 4L, 4L, 4L,
>>>>       4L, 4L, 4L, 4L, 5L, 5L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L
>>>>       ), .Label = c("", "49,99", "50", "50,01", "50,02", "Hz"), 
>>>> class = "factor"),
>>>>       Vunb..u2. = structure(c(3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L,
>>>>       3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L), .Label = c("",
>>>>       "%", "100"), class = "factor"), Aunb..u2. = structure(c(2L,
>>>>       2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L,
>>>>       4L, 4L, 4L, 4L), .Label = c("", "- - -", "%", "100", "96,9",
>>>>       "97,8", "98,5", "99,4"), class = "factor"), Uunb..IEEE.112. = 
>>>> structure(c(3L,
>>>>       3L, 4L, 3L, 3L, 3L, 4L, 4L, 4L, 4L, 4L, 4L, 3L, 3L, 4L, 3L,
>>>>       3L, 4L, 4L, 4L), .Label = c("", "%", "0", "0,1"), class = 
>>>> "factor"),
>>>>       Vunb..IEEE.112. = structure(c(5L, 5L, 4L, 4L, 4L, 4L, 4L,
>>>>       5L, 5L, 4L, 4L, 5L, 5L, 4L, 4L, 5L, 4L, 4L, 5L, 5L), .Label = 
>>>> c("",
>>>>       "%", "0,1", "0,2", "0,3"), class = "factor"), Aunb..IEEE.112. 
>>>> = structure(c(18L,
>>>>       18L, 18L, 18L, 18L, 18L, 18L, 10L, 9L, 8L, 8L, 7L, 7L, 6L,
>>>>       18L, 18L, 35L, 29L, 29L, 29L), .Label = c("", "%", "100",
>>>>       "108,7", "12,7", "133,5", "161,8", "161,9", "162", "165,4",
>>>>       "17,1", "188", "188,2", "198,3", "2,4", "2,5", "2,6", "200",
>>>>       "22", "26,1", "26,2", "26,3", "26,4", "26,6", "3,6", "36,2",
>>>>       "38,6", "4,4", "4,6", "47,6", "48,3", "48,8", "48,9", "49,1",
>>>>       "5,5", "9,8"), class = "factor"), Pst1 = c(0L, 0L, 0L, 0L,
>>>>       0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L,
>>>>       0L), Pst2 = c(0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L,
>>>>       0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L), Pst3 = c(0L, 0L, 0L,
>>>>       0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L,
>>>>       0L, 0L), FHL1 = structure(c(43L, 38L, 42L, 39L, 40L, 40L,
>>>>       42L, 43L, 47L, 48L, 46L, 49L, 50L, 45L, 44L, 41L, 7L, 4L,
>>>>       4L, 4L), .Label = c("", "1,01", "1,02", "1,05", "1,06", "1,8",
>>>>       "1,83", "2,4", "2,42", "3,04", "3,15", "3,66", "3,71", "3,74",
>>>>       "4,27", "4,29", "4,3", "4,31", "4,32", "4,33", "4,35", "4,36",
>>>>       "4,39", "4,4", "4,41", "4,42", "4,43", "4,45", "4,46", "4,47",
>>>>       "4,48", "4,49", "4,54", "4,55", "4,56", "4,57", "4,61", "4,77",
>>>>       "4,82", "4,86", "4,89", "4,91", "4,92", "4,93", "4,95", "5,09",
>>>>       "5,1", "5,11", "5,15", "5,19"), class = "factor"), FHL2 = 
>>>> structure(c(2L,
>>>>       2L, 2L, 2L, 2L, 2L, 2L, 3L, 3L, 3L, 3L, 4L, 4L, 11L, 2L,
>>>>       2L, 4L, 4L, 4L, 4L), .Label = c("", "- - -", "1,02", "1,03",
>>>>       "1,04", "101,41", "11,34", "120,91", "29,83", "29,9", "46,19",
>>>>       "76,9"), class = "factor"), FHL3 = structure(c(2L, 2L, 2L,
>>>>       2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 4L, 4L,
>>>>       3L, 4L), .Label = c("", "- - -", "1,03", "1,04", "1,19",
>>>>       "111,16", "190,69", "285,28", "291,37", "292,12", "60,81",
>>>>       "81,71"), class = "factor"), FK1 = structure(c(9L, 8L, 9L,
>>>>       9L, 9L, 9L, 9L, 8L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 3L, 2L,
>>>>       2L, 2L), .Label = c("", "1", "1,01", "1,03", "1,04", "1,06",
>>>>       "1,07", "1,08", "1,09"), class = "factor"), FK2 = structure(c(2L,
>>>>       2L, 2L, 2L, 2L, 2L, 2L, 3L, 3L, 3L, 3L, 3L, 3L, 6L, 2L, 2L,
>>>>       3L, 3L, 3L, 3L), .Label = c("", "- - -", "1", "1,16", "1,29",
>>>>       "1,51", "1,82", "2,19", "2,31"), class = "factor"), FK3 = 
>>>> structure(c(2L,
>>>>       2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L,
>>>>       3L, 3L, 3L, 3L), .Label = c("", "- - -", "1", "1,48", "1,8",
>>>>       "1,91", "2,62", "3,34", "3,37"), class = "factor"), P1..W. = 
>>>> structure(c(38L,
>>>>       39L, 40L, 41L, 42L, 42L, 43L, 44L, 45L, 46L, 46L, 48L, 50L,
>>>>       47L, 47L, 49L, 30L, 28L, 27L, 26L), .Label = c("", "1088",
>>>>       "1319", "1321", "1325", "1331", "1338", "1350", "1417", "1420",
>>>>       "1421", "1423", "1427", "189,8", "191,1", "2032", "2034",
>>>>       "2036", "2041", "2244", "225,4", "394,7", "506,3", "695,5",
>>>>       "696,9", "699,3", "701,2", "702,7", "756,4", "782,1", "795,9",
>>>>       "833,7", "834,9", "835,8", "836,2", "837,9", "838,8", "86,5",
>>>>       "87", "87,5", "87,6", "88", "88,6", "89,2", "89,3", "89,5",
>>>>       "89,6", "89,7", "89,8", "89,9", "91,2", "91,3", "92,3", "93,3",
>>>>       "93,7", "93,8", "94", "94,2", "94,5", "94,6", "W"), class = 
>>>> "factor"),
>>>>       P2..W. = structure(c(2L, 2L, 2L, 2L, 2L, 2L, 2L, 33L, 38L,
>>>>       37L, 36L, 35L, 34L, 9L, 2L, 2L, 32L, 30L, 29L, 28L), .Label = 
>>>> c("",
>>>>       "0", "0,3", "0,4", "105,8", "1160", "1162", "1169", "117,6",
>>>>       "1170", "1176", "1178", "1180", "1184", "1190", "1229", "1465",
>>>>       "182,1", "425,6", "440,1", "567", "568,2", "568,6", "569,8",
>>>>       "570,7", "578,3", "580", "580,7", "582,6", "585,8", "637,3",
>>>>       "671,4", "719,1", "753,1", "753,5", "754,4", "757", "759,3",
>>>>       "94,4", "W"), class = "factor"), P3..W. = structure(c(2L,
>>>>       2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L,
>>>>       30L, 23L, 22L, 21L), .Label = c("", "0", "0,3", "1209", "1213",
>>>>       "1216", "1220", "1223", "1232", "1235", "1243", "1245", "1246",
>>>>       "1248", "1535", "191,9", "450", "456,6", "599,6", "600,2",
>>>>       "601,5", "602,2", "603,8", "612,3", "614,3", "614,9", "615,3",
>>>>       "618,6", "655,6", "683,7", "98,3", "99,5", "W"), class = 
>>>> "factor"),
>>>>       PT..W. = structure(c(45L, 46L, 47L, 48L, 49L, 49L, 50L, 33L,
>>>>       44L, 43L, 42L, 41L, 40L, 10L, 51L, 52L, 11L, 7L, 6L, 5L), 
>>>> .Label = c("",
>>>>       "1693", "1873", "1877", "1881", "1886", "1892", "1963", "2049",
>>>>       "207,1", "2137", "225,4", "2602", "2603", "2608", "2612",
>>>>       "3704", "3712", "3721", "3735", "3752", "3811", "382,5",
>>>>       "396,4", "4431", "4438", "4442", "4450", "4456", "506,3",
>>>>       "5244", "768,7", "808,3", "833,7", "834,9", "835,8", "836,2",
>>>>       "837,9", "838,8", "842,9", "843,3", "843,9", "846,4", "848,7",
>>>>       "86,5", "87", "87,5", "87,6", "88", "88,6", "89,6", "89,8",
>>>>       "91,2", "91,3", "92,9", "93,5", "93,8", "94", "94,2", "94,4",
>>>>       "94,5", "94,6", "94,9", "W"), class = "factor"), Q1..var. = 
>>>> structure(c(9L,
>>>>       10L, 11L, 11L, 9L, 9L, 9L, 6L, 8L, 8L, 7L, 7L, 6L, 8L, 8L,
>>>>       10L, 33L, 31L, 30L, 29L), .Label = c("", "-2,7", "-52,3",
>>>>       "-52,4", "-52,5", "-52,6", "-52,7", "-52,8", "-52,9", "-53",
>>>>       "-53,1", "-53,4", "-53,5", "-53,6", "-53,7", "-53,8", "-53,9",
>>>>       "-54", "18,1", "250,5", "258,4", "345,6", "349,3", "350,5",
>>>>       "351,7", "352,4", "369,7", "370,5", "370,6", "371,9", "373,2",
>>>>       "400,5", "425", "733,3", "736", "740,4", "741,2", "743,2",
>>>>       "76,8", "774", "774,3", "774,4", "774,9", "778,6", "808,4",
>>>>       "952,8", "var"), class = "factor"), Q2..var. = structure(c(3L,
>>>>       3L, 3L, 3L, 3L, 3L, 3L, 7L, 8L, 8L, 8L, 9L, 8L, 4L, 3L, 3L,
>>>>       23L, 15L, 13L, 14L), .Label = c("", "-7,6", "0", "1,9", "1110",
>>>>       "145,6", "2,3", "2,4", "2,5", "328,3", "347,2", "43,2", "446",
>>>>       "446,2", "446,8", "447", "467,3", "468,8", "469,6", "471,2",
>>>>       "476,2", "5,9", "502,5", "76,1", "865,6", "866,5", "866,9",
>>>>       "867,1", "868,6", "898", "901,3", "902,7", "903,7", "905,3",
>>>>       "var"), class = "factor"), Q3..var. = structure(c(3L, 3L,
>>>>       3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 19L,
>>>>       15L, 17L, 16L), .Label = c("", "-0,6", "0", "1054", "136,9",
>>>>       "318,4", "325,3", "41,1", "430,8", "431,4", "431,6", "432,1",
>>>>       "444,3", "444,5", "445,4", "445,5", "445,9", "471,7", "494",
>>>>       "75,6", "844,4", "846,2", "846,3", "847,4", "847,8", "859,1",
>>>>       "861,1", "861,5", "862,6", "865,4", "866,9", "var"), class = 
>>>> "factor"),
>>>>       QT..var. = structure(c(12L, 13L, 14L, 14L, 12L, 12L, 12L,
>>>>       5L, 4L, 5L, 4L, 4L, 3L, 6L, 11L, 13L, 32L, 30L, 29L, 28L), 
>>>> .Label = c("",
>>>>       "-47,9", "-50,2", "-50,3", "-50,4", "-50,9", "-52,3", "-52,4",
>>>>       "-52,5", "-52,6", "-52,8", "-52,9", "-53", "-53,1", "-53,3",
>>>>       "-53,5", "-53,6", "-53,7", "-53,8", "-53,9", "-54", "-61,2",
>>>>       "1248", "1250", "1251", "1252", "1261", "1262", "1264", "1265",
>>>>       "1348", "1421", "169,8", "2485", "2488", "2489", "2490",
>>>>       "2502", "2503", "2504", "2507", "2511", "2536", "3117", "359,3",
>>>>       "81,6", "897,2", "930,9", "var"), class = "factor"), S1..VA. = 
>>>> structure(c(4L,
>>>>       5L, 7L, 6L, 8L, 8L, 9L, 10L, 12L, 15L, 11L, 14L, 13L, 13L,
>>>>       13L, 16L, 31L, 59L, 58L, 57L), .Label = c("", "1024", "1056",
>>>>       "106,7", "107,7", "108", "108,2", "108,3", "109,2", "109,4",
>>>>       "109,5", "109,6", "109,9", "110,1", "110,2", "110,5", "111,3",
>>>>       "111,4", "112,7", "112,9", "113,5", "113,8", "113,9", "114",
>>>>       "114,1", "114,2", "114,3", "114,4", "114,5", "114,8", "1201",
>>>>       "1225", "1460", "1463", "1465", "1467", "1471", "151,1",
>>>>       "1530", "1532", "1535", "1541", "1549", "1958", "2161", "2164",
>>>>       "2167", "2172", "2594", "341,2", "356,5", "530,4", "556,3",
>>>>       "575,1", "789", "790,7", "792,7", "795", "797", "836", "837,3",
>>>>       "838,2", "838,5", "840,3", "841,2", "VA"), class = "factor"),
>>>>       S2..VA. = structure(c(2L, 2L, 2L, 2L, 2L, 2L, 2L, 38L, 36L,
>>>>       35L, 34L, 33L, 32L, 16L, 2L, 2L, 3L, 27L, 25L, 24L), .Label = 
>>>> c("",
>>>>       "0", "1246", "1461", "1463", "1465", "1468", "1469", "1470",
>>>>       "1472", "1474", "1479", "1898", "2023", "298,5", "387,2",
>>>>       "470,7", "475,8", "50,3", "58,2", "683,5", "732,2", "733,3",
>>>>       "733,4", "734,9", "737,1", "737,9", "738,3", "738,4", "738,8",
>>>>       "739,1", "753,1", "753,6", "754,4", "757", "759,4", "785,3",
>>>>       "842,9", "983,8", "VA"), class = "factor"), S3..VA. = 
>>>> structure(c(2L,
>>>>       2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L,
>>>>       4L, 29L, 28L, 26L), .Label = c("", "0", "10,2", "1130", "1486",
>>>>       "1489", "1492", "1497", "1499", "1501", "1506", "1507", "1509",
>>>>       "165,3", "1828", "2029", "284,5", "4,5", "4,6", "454,3",
>>>>       "5,7", "5,9", "583,6", "747,6", "748", "749,7", "750,3",
>>>>       "750,5", "751,5", "751,9", "752,2", "752,6", "753,9", "755,1",
>>>>       "8,6", "865,2", "VA"), class = "factor"), ST..VA. = 
>>>> structure(c(2L,
>>>>       3L, 5L, 4L, 6L, 6L, 7L, 68L, 67L, 66L, 65L, 64L, 63L, 47L,
>>>>       8L, 9L, 41L, 32L, 31L, 30L), .Label = c("", "106,7", "107,7",
>>>>       "108", "108,2", "108,3", "109,2", "109,9", "110,5", "111,3",
>>>>       "111,4", "113,5", "113,8", "113,9", "114", "114,1", "114,2",
>>>>       "114,3", "114,4", "114,8", "117,4", "118,6", "120,4", "1335",
>>>>       "1481", "171,5", "219,5", "2269", "2272", "2276", "2280",
>>>>       "2286", "2492", "2595", "2873", "2952", "2953", "2958", "2962",
>>>>       "356,5", "3577", "4477", "4484", "4492", "4506", "4523",
>>>>       "497,1", "5135", "5141", "5145", "5152", "5159", "530,4",
>>>>       "5683", "6647", "805,1", "836", "837,3", "838,2", "838,5",
>>>>       "840,3", "847", "863", "863,7", "863,9", "867,2", "869",
>>>>       "952,3", "VA"), class = "factor"), D1..var. = structure(c(7L,
>>>>       18L, 17L, 13L, 13L, 13L, 27L, 21L, 22L, 28L, 16L, 27L, 18L,
>>>>       25L, 22L, 29L, 50L, 33L, 32L, 36L), .Label = c("", "208,1",
>>>>       "216,1", "237,5", "299,5", "326,7", "33,3", "33,8", "34",
>>>>       "34,1", "34,2", "34,3", "34,4", "34,5", "34,6", "34,7", "34,9",
>>>>       "35", "35,1", "35,2", "35,3", "35,4", "35,5", "35,6", "35,7",
>>>>       "35,8", "35,9", "36,6", "36,7", "37", "43", "45,8", "45,9",
>>>>       "455,2", "46,1", "46,2", "46,3", "47,1", "47,2", "47,6",
>>>>       "47,7", "477,4", "49,9", "52,3", "538,2", "55,1", "55,4",
>>>>       "58,3", "61", "626,5", "63,6", "67,3", "84,1", "93,1", "987,8",
>>>>       "var"), class = "factor"), D2..var. = structure(c(2L, 2L,
>>>>       2L, 2L, 2L, 2L, 2L, 7L, 3L, 39L, 37L, 37L, 38L, 9L, 2L, 2L,
>>>>       36L, 15L, 16L, 13L), .Label = c("", "0", "10,6", "1023",
>>>>       "203,8", "219,5", "276,8", "301,9", "317,3", "332,6", "40",
>>>>       "40,4", "40,7", "40,8", "40,9", "41,3", "41,4", "41,5", "41,9",
>>>>       "42,1", "456,6", "46,4", "47,4", "49,5", "49,9", "506,8",
>>>>       "51,8", "53,1", "55,8", "57,7", "58,4", "592,8", "60,9",
>>>>       "62,8", "64,2", "774,5", "8", "8,9", "9,8", "var"), class = 
>>>> "factor"),
>>>>       D3..var. = structure(c(2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L,
>>>>       2L, 2L, 2L, 2L, 2L, 2L, 2L, 27L, 15L, 12L, 16L), .Label = c("",
>>>>       "0", "10,2", "100", "140,5", "172,9", "4,5", "4,6", "40,3",
>>>>       "40,8", "407,6", "41", "41,7", "41,8", "42,1", "42,2", "42,3",
>>>>       "42,6", "43", "441,4", "5,7", "5,9", "53,8", "55,7", "55,9",
>>>>       "558,4", "558,9", "57,5", "60,1", "60,5", "62,2", "63,6",
>>>>       "64", "67,8", "770,8", "8,6", "84,5", "var"), class = "factor"),
>>>>       DT..var. = structure(c(24L, 35L, 34L, 30L, 30L, 30L, 42L,
>>>>       47L, 9L, 10L, 6L, 8L, 7L, 46L, 38L, 44L, 11L, 14L, 15L, 16L
>>>>       ), .Label = c("", "107,9", "1376", "1492", "153,7", "177,9",
>>>>       "178,1", "179,8", "180,1", "181,7", "2036", "208,1", "2110",
>>>>       "212,9", "214,2", "215,5", "216,3", "252,9", "255", "259,2",
>>>>       "263,7", "267", "2879", "33,3", "33,8", "34", "34,1", "34,2",
>>>>       "34,3", "34,4", "34,5", "34,6", "34,7", "34,9", "35", "35,1",
>>>>       "35,2", "35,4", "35,5", "35,6", "35,8", "35,9", "36,6", "36,7",
>>>>       "37", "384,9", "406,6", "43,7", "44", "47,1", "525,2", "616,8",
>>>>       "617,6", "619,1", "619,5", "623,5", "72,8", "736,5", "737,1",
>>>>       "743,7", "747,3", "749,6", "819,3", "833,3", "847,7", "93,1",
>>>>       "var"), class = "factor"), PF1 = structure(c(14L, 11L, 13L,
>>>>       14L, 15L, 15L, 14L, 16L, 16L, 15L, 18L, 17L, 18L, 16L, 17L,
>>>>       15L, 7L, 30L, 31L, 31L), .Label = c("", "0,589", "0,593",
>>>>       "0,6", "0,622", "0,708", "0,721", "0,722", "0,766", "0,792",
>>>>       "0,807", "0,808", "0,809", "0,81", "0,812", "0,814", "0,815",
>>>>       "0,817", "0,819", "0,823", "0,825", "0,826", "0,827", "0,828",
>>>>       "0,829", "0,861", "0,862", "0,863", "0,864", "0,881", "0,882",
>>>>       "0,894", "0,906", "0,939", "0,94", "0,97", "0,971", "0,997"
>>>>       ), class = "factor"), PF2 = structure(c(2L, 2L, 2L, 2L, 2L,
>>>>       2L, 2L, 30L, 31L, 31L, 31L, 31L, 31L, 7L, 2L, 2L, 11L, 25L,
>>>>       24L, 23L), .Label = c("", "- - -", "0,006", "0,007", "0,178",
>>>>       "0,225", "0,295", "0,358", "0,458", "0,599", "0,604", "0,628",
>>>>       "0,699", "0,759", "0,768", "0,769", "0,77", "0,771", "0,772",
>>>>       "0,788", "0,789", "0,79", "0,791", "0,792", "0,793", "0,804",
>>>>       "0,805", "0,806", "0,808", "0,875", "1"), class = "factor"),
>>>>       PF3 = structure(c(2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L,
>>>>       2L, 2L, 2L, 2L, 2L, 2L, 14L, 20L, 19L, 19L), .Label = c("",
>>>>       "- - -", "0,001", "0,031", "0,033", "0,049", "0,059", "0,064",
>>>>       "0,208", "0,219", "0,366", "0,472", "0,629", "0,67", "0,689",
>>>>       "0,745", "0,792", "0,801", "0,802", "0,803", "0,814", "0,815",
>>>>       "0,816", "0,817", "0,819", "0,824", "0,825", "0,826", "0,827"
>>>>       ), class = "factor"), PFT = structure(c(19L, 17L, 18L, 19L,
>>>>       20L, 20L, 19L, 32L, 36L, 36L, 37L, 36L, 36L, 5L, 21L, 20L,
>>>>       7L, 27L, 27L, 27L), .Label = c("", "0,406", "0,518", "0,549",
>>>>       "0,552", "0,622", "0,663", "0,69", "0,699", "0,701", "0,704",
>>>>       "0,749", "0,763", "0,794", "0,8", "0,804", "0,807", "0,809",
>>>>       "0,81", "0,812", "0,815", "0,819", "0,823", "0,824", "0,825",
>>>>       "0,826", "0,827", "0,828", "0,829", "0,863", "0,864", "0,866",
>>>>       "0,881", "0,882", "0,906", "0,976", "0,977", "0,99", "0,997"
>>>>       ), class = "factor"), Cos.φ1..DPF. = structure(c(9L, 10L,
>>>>       11L, 12L, 13L, 13L, 14L, 15L, 15L, 15L, 16L, 16L, 17L, 16L,
>>>>       16L, 15L, 2L, 26L, 26L, 26L), .Label = c("", "0,735", "0,744",
>>>>       "0,8", "0,823", "0,83", "0,843", "0,851", "0,852", "0,853",
>>>>       "0,854", "0,855", "0,856", "0,857", "0,86", "0,861", "0,862",
>>>>       "0,863", "0,864", "0,865", "0,867", "0,868", "0,869", "0,875",
>>>>       "0,882", "0,883", "0,892", "0,916", "0,926", "0,939", "0,94",
>>>>       "0,97", "0,971", "0,998"), class = "factor"), Cos.φ2..DPF. = 
>>>> structure(c(2L,
>>>>       2L, 2L, 2L, 2L, 2L, 2L, 31L, 32L, 32L, 32L, 32L, 32L, 7L,
>>>>       2L, 2L, 12L, 26L, 25L, 24L), .Label = c("", "- - -", "-0,001",
>>>>       "-0,008", "0,216", "0,25", "0,348", "0,426", "0,6", "0,603",
>>>>       "0,655", "0,659", "0,741", "0,761", "0,768", "0,77", "0,771",
>>>>       "0,772", "0,773", "0,788", "0,789", "0,79", "0,791", "0,792",
>>>>       "0,793", "0,794", "0,804", "0,805", "0,806", "0,808", "0,965",
>>>>       "1"), class = "factor"), Cos.φ3..DPF. = structure(c(2L,
>>>>       2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L,
>>>>       13L, 20L, 19L, 19L), .Label = c("", "- - -", "-0,016", "0,201",
>>>>       "0,383", "0,448", "0,452", "0,476", "0,527", "0,561", "0,584",
>>>>       "0,606", "0,669", "0,678", "0,696", "0,745", "0,791", "0,802",
>>>>       "0,803", "0,804", "0,814", "0,815", "0,816", "0,817", "0,818",
>>>>       "0,82", "0,824", "0,826", "0,827"), class = "factor"), 
>>>> Cos.φT..DPF. = structure(c(10L,
>>>>       11L, 11L, 12L, 13L, 13L, 14L, 33L, 34L, 34L, 34L, 34L, 34L,
>>>>       27L, 16L, 15L, 7L, 5L, 4L, 4L), .Label = c("", "0,828", "0,829",
>>>>       "0,83", "0,831", "0,832", "0,834", "0,837", "0,846", "0,852",
>>>>       "0,854", "0,855", "0,856", "0,858", "0,86", "0,861", "0,862",
>>>>       "0,865", "0,867", "0,868", "0,869", "0,87", "0,871", "0,872",
>>>>       "0,873", "0,874", "0,89", "0,892", "0,893", "0,901", "0,902",
>>>>       "0,945", "0,997", "0,998"), class = "factor"), Tan.φ1 = 
>>>> structure(c(28L,
>>>>       27L, 26L, 25L, 24L, 24L, 23L, 21L, 22L, 22L, 20L, 19L, 17L,
>>>>       20L, 21L, 22L, 40L, 41L, 40L, 40L), .Label = c("", "-0,007",
>>>>       "-0,062", "-0,063", "-0,27", "-0,372", "-0,388", "-0,395",
>>>>       "-0,473", "-0,567", "-0,568", "-0,569", "-0,57", "-0,571",
>>>>       "-0,572", "-0,573", "-0,585", "-0,587", "-0,588", "-0,589",
>>>>       "-0,59", "-0,591", "-0,598", "-0,602", "-0,606", "-0,608",
>>>>       "-0,609", "-0,611", "0,079", "0,115", "0,244", "0,246", "0,247",
>>>>       "0,361", "0,362", "0,363", "0,364", "0,365", "0,407", "0,53",
>>>>       "0,531", "0,581", "0,582", "0,584", "0,586", "0,587"), class = 
>>>> "factor"),
>>>>       Tan.φ2 = structure(c(2L, 2L, 2L, 2L, 2L, 2L, 2L, 3L, 3L,
>>>>       3L, 3L, 3L, 3L, 4L, 2L, 2L, 13L, 16L, 18L, 19L), .Label = c("",
>>>>       "- - -", "0,003", "0,391", "0,487", "0,708", "0,727", "0,732",
>>>>       "0,734", "0,736", "0,737", "0,751", "0,752", "0,756", "0,757",
>>>>       "0,762", "0,763", "0,765", "0,768", "0,77", "0,771", "0,772",
>>>>       "0,773", "0,777", "0,779", "0,814", "0,818", "0,822", "0,823",
>>>>       "0,826", "0,831", "1,007"), class = "factor"), Tan.φ3 = 
>>>> structure(c(2L,
>>>>       2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L,
>>>>       25L, 26L, 27L, 28L), .Label = c("", "- - -", "-0,087", "0,026",
>>>>       "0,047", "0,107", "0,135", "0,136", "0,478", "0,544", "0,571",
>>>>       "0,678", "0,679", "0,682", "0,686", "0,696", "0,7", "0,701",
>>>>       "0,703", "0,705", "0,708", "0,709", "0,71", "0,712", "0,724",
>>>>       "0,738", "0,74", "0,741", "1,032"), class = "factor"), Tan.φT 
>>>> = structure(c(27L,
>>>>       26L, 25L, 24L, 23L, 23L, 22L, 4L, 2L, 2L, 2L, 2L, 2L, 10L,
>>>>       20L, 21L, 40L, 41L, 42L, 43L), .Label = c("", "-0,059", "-0,062",
>>>>       "-0,063", "-0,27", "-0,332", "-0,335", "-0,376", "-0,473",
>>>>       "-0,479", "-0,566", "-0,567", "-0,568", "-0,569", "-0,57",
>>>>       "-0,571", "-0,572", "-0,587", "-0,589", "-0,59", "-0,591",
>>>>       "-0,598", "-0,602", "-0,606", "-0,608", "-0,609", "-0,611",
>>>>       "-0,668", "0,101", "0,184", "0,268", "0,416", "0,479", "0,48",
>>>>       "0,558", "0,559", "0,56", "0,561", "0,577", "0,661", "0,669",
>>>>       "0,67", "0,671", "0,672", "0,673", "0,674", "0,675"), class = 
>>>> "factor"),
>>>>       V1.THDf = structure(c(4L, 4L, 4L, 4L, 4L, 4L, 4L, 3L, 4L,
>>>>       4L, 4L, 4L, 5L, 5L, 4L, 4L, 4L, 5L, 6L, 6L), .Label = c("",
>>>>       "% f", "1,2", "1,3", "1,4", "1,5", "1,6"), class = "factor"),
>>>>       V2.THDf = structure(c(3L, 3L, 4L, 3L, 3L, 3L, 3L, 3L, 3L,
>>>>       3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 4L, 3L, 4L), .Label = c("",
>>>>       "% f", "1,7", "1,8", "1,9", "2"), class = "factor"), V3.THDf = 
>>>> structure(c(4L,
>>>>       5L, 5L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L,
>>>>       4L, 4L, 4L, 4L), .Label = c("", "% f", "1,7", "1,8", "1,9",
>>>>       "2"), class = "factor"), U12.THDf = structure(c(3L, 4L, 4L,
>>>>       4L, 4L, 4L, 3L, 3L, 3L, 3L, 3L, 4L, 4L, 4L, 3L, 3L, 3L, 3L,
>>>>       3L, 3L), .Label = c("", "% f", "1", "1,1", "1,2", "1,3"), 
>>>> class = "factor"),
>>>>       U23.THDf = structure(c(3L, 3L, 4L, 3L, 3L, 3L, 3L, 3L, 3L,
>>>>       3L, 3L, 3L, 4L, 4L, 3L, 3L, 3L, 3L, 4L, 3L), .Label = c("",
>>>>       "% f", "1,2", "1,3", "1,4"), class = "factor"), U31.THDf = 
>>>> structure(c(4L,
>>>>       4L, 5L, 4L, 4L, 4L, 3L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L,
>>>>       4L, 4L, 4L, 4L), .Label = c("", "% f", "1,2", "1,3", "1,4"
>>>>       ), class = "factor"), A1.THDf = structure(c(25L, 25L, 28L,
>>>>       26L, 27L, 27L, 30L, 29L, 32L, 32L, 31L, 32L, 33L, 30L, 30L,
>>>>       29L, 38L, 34L, 34L, 35L), .Label = c("", "% f", "14", "14,1",
>>>>       "19,8", "19,9", "2", "2,1", "2,4", "2,5", "2,7", "2,8", "25",
>>>>       "25,1", "25,6", "30,3", "30,5", "30,6", "30,7", "30,8", "30,9",
>>>>       "31", "31,1", "31,3", "31,5", "31,7", "31,9", "32", "32,2",
>>>>       "32,3", "32,5", "32,6", "32,7", "4", "4,1", "4,3", "8,3",
>>>>       "9,6"), class = "factor"), A2.THDf = structure(c(2L, 2L,
>>>>       2L, 2L, 2L, 2L, 2L, 4L, 4L, 4L, 4L, 4L, 4L, 16L, 2L, 2L,
>>>>       15L, 14L, 9L, 9L), .Label = c("", "- - -", "% f", "1,9",
>>>>       "100,8", "2,6", "2,7", "2,8", "2,9", "20,4", "21,1", "29,8",
>>>>       "3", "3,2", "3,3", "48,5", "70,7", "86,7"), class = "factor"),
>>>>       A3.THDf = structure(c(2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L,
>>>>       2L, 2L, 2L, 2L, 2L, 2L, 2L, 7L, 9L, 6L, 6L), .Label = c("",
>>>>       "- - -", "% f", "169", "2,9", "3", "3,1", "3,2", "3,3", "315,7",
>>>>       "328", "361,5", "5,8", "57,7", "91,7", "97,1"), class = 
>>>> "factor")), row.names = 3:22, class = "data.frame")
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Sun, 14 Feb 2021 08:52:31 +0000
>>>> Rui Barradas <ruipbarradas using sapo.pt> wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> It's not scale_x_time with arguments breaks and labels.
>>>>>
>>>>> It's scale_x_datetime with arguments
>>>>>
>>>>> date_breaks and date_labels.
>>>>> If you also want the hour displayed in the x axis labels, change the
>>>>> format string in my previous post to
>>>>>
>>>>>
>>>>> scale_x_datetime(date_breaks = "20 secs", date_labels = "H:%M:%S")
>>>>>
>>>>>
>>>>> Can you post as data sample the output of dput?
>>>>>
>>>>> dput(head(listeMesuresPropres, 20))  # or 30
>>>>>
>>>>>
>>>>> Hope this helps,
>>>>>
>>>>> Rui Barradas
>>>>>
>>>>> Às 07:35 de 14/02/21, Informatique escreveu:
>>>>>> Hello,
>>>>>>
>>>>>> the time are in the first table like that :    10:24:00
>>>>>> and i use this for
>>>>>>     listeMesuresPropres$Heure. <- hms(listeMesuresPropres$Heure.
>>>>>> after time ar like that :         10H 24M 0S
>>>>>> and when i use  with ggplot
>>>>>>      scale_x_time(breaks = "20 secs",labels = "%H:%M:%S")
>>>>>>
>>>>>> it have the graphics but noting write on the X axis.
>>>>>>
>>>>>> I think it a problem with the format of the time, because if i try 
>>>>>> a ggplot without scale_x_time i don't have anything on the graphic.
>>>>>>
>>>>>> Thank's
>>>>>>
>>>>>> François-Marie BILLARD
>>>>>>
>>>>>> On Fri, 12 Feb 2021 18:24:35 +0000
>>>>>> Rui Barradas <ruipbarradas using sapo.pt> wrote:
>>>>>>
>>>>>>> Hello,
>>>>>>>
>>>>>>> In order to select every 20 s, set the date_breaks = "20 secs", 
>>>>>>> not the
>>>>>>> breaks.
>>>>>>> The axis labels are also formatted, with date_labels, standard 
>>>>>>> datetime
>>>>>>> format strings are used for this. And rotated, not part of the 
>>>>>>> question.
>>>>>>>
>>>>>>> # Create some data
>>>>>>> set.seed(2021)
>>>>>>> time <- seq(as.POSIXct("2021-02-11"), as.POSIXct("2021-02-11 
>>>>>>> 00:29:59"),
>>>>>>> by = "1 secs")
>>>>>>> y <- cumsum(rnorm(length(time)))
>>>>>>> df1 <- data.frame(time, y)
>>>>>>>
>>>>>>> # Plot the data
>>>>>>> library(ggplot2)
>>>>>>>
>>>>>>> ggplot(df1, aes(time, y)) +
>>>>>>>       geom_line() +
>>>>>>>       scale_x_datetime(date_breaks = "20 secs", date_labels = 
>>>>>>> "%M:%S") +
>>>>>>>       theme(axis.text.x = element_text(angle = 90, vjust = 0.5, 
>>>>>>> hjust=1,
>>>>>>> size = 5))
>>>>>>>
>>>>>>>
>>>>>>> Hope this helps,
>>>>>>>
>>>>>>> Rui Barradas
>>>>>>>
>>>>>>> Às 15:05 de 12/02/21, Informatique escreveu:
>>>>>>>> Hello,
>>>>>>>>
>>>>>>>> i'm using Rstudio from a few day, and i have some information in 
>>>>>>>> a CVS file, take every five second, format of the time is HH:MM:SS.
>>>>>>>> I use the hour on the X axis, but i don't want having all the 
>>>>>>>> time print. For example only every 10 values.
>>>>>>>>
>>>>>>>> I think it will be possible with   scale_x_datetime(breaks = 
>>>>>>>> date_breaks(XXX)
>>>>>>>>
>>>>>>>> but i don't understand how select every 20 s.
>>>>>>>>
>>>>>>>> Thank's for your help
>>>>>>>>
>>>>>>>> François-marie BILLARD
>>>>>>>>
>>>>>>
>>>>>>
>>>>
>>>>
>>
>>
> 
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list