Description Usage Arguments Value Examples
View source: R/tpk-read_data.R
The power_loss_bat function makes use of a dataframe containing the first several days of psuedo-IV curves. This function creates that dataframe for the user from the raw dataframe containing IV Curve measurement data.
1 | select_init_df(df_raw, days = 21)
|
df_raw |
The raw dataframe containing request input columns the same as the example df_wbw dataset and the column of day, which starts from 1 and column of n_period, which is the index of the period, decided by how many days to be grouped as one period, the column of day and n_period can be generated from the function read_df_raw |
days |
The number of initial days to subsample. Default: 21 |
Subset of input dataframe within the first several days decided by the input parameter "days".
1 2 | df <- read_df_raw(df_wbw, 1, 7)
df_init <- select_init_df(df, days = 21)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.