Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
4001cb7
Delete .gitignore
The-illuminated-statistician Oct 10, 2025
a6f71c4
Delete LICENSE
The-illuminated-statistician Oct 10, 2025
457bb99
Delete Modélisation.R
The-illuminated-statistician Oct 10, 2025
ad095b4
Delete README.md
The-illuminated-statistician Oct 10, 2025
1f020df
Delete analyses_descriptives.R
The-illuminated-statistician Oct 10, 2025
c05e94b
Delete bricolageR.R
The-illuminated-statistician Oct 10, 2025
75fbed7
Delete corrplot_ou_ggplot_representer_correlations.R
The-illuminated-statistician Oct 10, 2025
c139230
Delete exemple_powerpoint.Rmd
The-illuminated-statistician Oct 10, 2025
bcc6dae
Delete exemple_powerpoint_2.Rmd
The-illuminated-statistician Oct 10, 2025
4d3eed8
Delete exemple_word.Rmd
The-illuminated-statistician Oct 10, 2025
93b867d
Delete ggplot.R
The-illuminated-statistician Oct 10, 2025
21786f8
Create README.md
The-illuminated-statistician Oct 10, 2025
8e8e817
fichier session du 9-10-2025
The-illuminated-statistician Oct 10, 2025
5f6f0bb
Create data
The-illuminated-statistician Oct 10, 2025
dd5ce0e
Create references
The-illuminated-statistician Oct 10, 2025
007adb9
Delete data
The-illuminated-statistician Oct 10, 2025
2ccece4
Delete references
The-illuminated-statistician Oct 10, 2025
ade5ffb
Create __donnees
The-illuminated-statistician Oct 10, 2025
a80a14b
Create references
The-illuminated-statistician Oct 10, 2025
6dc9af2
Delete references
The-illuminated-statistician Oct 10, 2025
1585064
Create references
The-illuminated-statistician Oct 10, 2025
9296059
Add files via upload
The-illuminated-statistician Oct 10, 2025
00851ed
Add files via upload
The-illuminated-statistician Oct 10, 2025
32199d5
Add files via upload
The-illuminated-statistician Oct 10, 2025
bb4fb95
Add files via upload
The-illuminated-statistician Oct 10, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .RData
Binary file not shown.
39 changes: 0 additions & 39 deletions .gitignore

This file was deleted.

69 changes: 69 additions & 0 deletions .rprofile
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
print ("Bonjour")

# library (FactoMineR)
# library (car)
# library (doBy)
library (openxlsx)
library(rstatix)
# library (Factoshiny)

#######################################################
# la fonction coller permet de faire une importation par
coller = function ()
{
read.table("clipboard", header=TRUE, sep="\t", dec = ",")
}
#######################################################
# permet d'importer de l'Excel
ie = function ()
{
read.xlsx( file.choose() )
}

#######################################################
# Extraction des colonnes numériques d'un dataframe
DfNum = function(DataFrameEntree)
{
DataFrameSortie = DataFrameEntree [ sapply ( X = DataFrameEntree, is.numeric ) == TRUE]
return(DataFrameSortie)
}

############################################################################################
# Fonction qui effectue le test du Khi Deux des combinaisons des variables d'un dataframe
FKhiDeux = function (DataFrameEntree)
{
# Récupère le nom du DataFrame passé en entrée
NomDataFrame = deparse(substitute(DataFrameEntree))

# Récupère les noms des colonnes du dataframe
DataFrameEntree = DfTexte(DataFrameEntree)
NomVariables = names (DataFrameEntree)

# Crée un dataframe avec 2 colonnes contenant toutes ls combinaisons croisées des Noms des variables
DataFrameSortie = as.data.frame(t(combn(x=NomVariables, m = 2)))

i = 1
while (i<=nrow(DataFrameSortie))
{
# Récupération de la p-value
PValueLocale =
chisq.test(
DataFrameEntree [,DataFrameSortie [i,1]],
DataFrameEntree [,DataFrameSortie [i,2]]
)$p.value

# Stockage de la p-value du test du Khi ²
DataFrameSortie$PValueKhiDeux [i] = PValueLocale
i = i + 1
}

# Ajout de la colonne SIGnificatif ou pas (avec un alpha de 0.05)

DataFrameSortie$Sig = ifelse(DataFrameSortie$PValueKhiDeux<0.05, "SIG", "NON SIG")

# Retour du dataframe de synthèse
return (DataFrameSortie)
}
#####################################################################################

print ("A Bientôt!!")
Loading