blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 327 | content_id stringlengths 40 40 | detected_licenses listlengths 0 91 | license_type stringclasses 2
values | repo_name stringlengths 5 134 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 46
values | visit_date timestamp[us]date 2016-08-02 22:44:29 2023-09-06 08:39:28 | revision_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | committer_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | github_id int64 19.4k 671M ⌀ | star_events_count int64 0 40k | fork_events_count int64 0 32.4k | gha_license_id stringclasses 14
values | gha_event_created_at timestamp[us]date 2012-06-21 16:39:19 2023-09-14 21:52:42 ⌀ | gha_created_at timestamp[us]date 2008-05-25 01:21:32 2023-06-28 13:19:12 ⌀ | gha_language stringclasses 60
values | src_encoding stringclasses 24
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 7 9.18M | extension stringclasses 20
values | filename stringlengths 1 141 | content stringlengths 7 9.18M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a86eaa02de22fd7910bacb609af40fb05aae82dc | f84a075495fd8ca5e799b82e5b40f1896fa4e901 | /extra/encoderExample.r | 774a9d344690ad29b0e8471375005ceb54aedd03 | [] | no_license | ABMI/RadiologyFeatureExtraction | d388212277af4609cad6ce6e4c7d08cae49163a7 | 898069202864331e84876395817c8818d7324023 | refs/heads/master | 2020-04-17T16:22:33.975421 | 2019-01-25T05:38:36 | 2019-01-25T05:38:36 | 166,737,629 | 2 | 1 | null | 2019-01-25T05:38:37 | 2019-01-21T02:44:02 | R | UTF-8 | R | false | false | 24,351 | r | encoderExample.r | ####VAE####
library(dplyr)
library(keras)
buildRadiologyVae <- function(dataPaths = imagePaths, vaeValidationSplit = 0.2, vaeBatchSize = 200L,
vaeLatentDim = 1000L, vaeIntermediateDim = 10000L,
vaeEpoch = 500L, vaeEpislonStd = 1.0, dimensionOfTarget = 2,
... |
fcfe10daed18a5df8736bc21c2dfa122ead649a0 | 2bcd0393bd4a98f415e3ed1353e8213d226fa6dc | /clustering.R | 133e351961ce521bdacd5a5e2ef9604f2734f93c | [] | no_license | kabalord/clustering | ae96e5ede932933942334232a43a1a50693a72a3 | 5e6b630277949a3b88dba108d41dc12e2545820c | refs/heads/master | 2023-02-02T07:25:02.347324 | 2020-12-18T10:39:14 | 2020-12-18T10:39:14 | 319,901,731 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,734 | r | clustering.R | #installation des packages avec une fonction pour la gestion des packages
list_packages_names <- c("fpc", "clusteval", "cluster")
for (packname in list_packages_names){
if(packname %in% rownames(installed.packages()) == FALSE){
install.packages(packname)
}
}
library(fpc)
library(clusteval)
library(cluster)
#... |
582ec2cf23bbcf2d94f18d0f87687f3def524643 | 2487dfa8bb23d3e1a9000dba265c416cccb69939 | /man/df2matrix.Rd | 82cbd967762586937cf7d7d0bdaec943d370b0cb | [] | no_license | cran/R2MLwiN | f2c5694b60e3a392ad516ab63689c642f3fc72bb | 593d94db244d3fc07538aedf83fc183859b9f5fd | refs/heads/master | 2023-03-21T15:14:11.554599 | 2023-03-14T04:40:02 | 2023-03-14T04:40:02 | 17,681,793 | 3 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,208 | rd | df2matrix.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/df2matrix.R
\name{df2matrix}
\alias{df2matrix}
\title{Translates a data.frame, formatted for use in multiple membership
modelling in MLwiN, to a matrix.}
\usage{
df2matrix(data, idcols, weightcols)
}
\arguments{
\item{data}{A \code{\link[base... |
59451e197d068e1d67ac59b737f525a2bfa558c2 | d69ce1ab7f083da591cb8608f1ebd77588d3fa5a | /man/list_accession.Rd | c09aa3404a917896c71dd3de5eea2f602d8a1c66 | [] | no_license | YosefLab/ImpulseDE2 | 6da580082878c2a8c2913c9d378623e844388cb4 | ab5282464d92ea7c06d211e42af1cbdfbe127b73 | refs/heads/master | 2022-10-04T18:12:18.080047 | 2022-09-14T09:27:18 | 2022-09-14T09:27:18 | 55,623,543 | 29 | 13 | null | 2022-09-14T09:27:19 | 2016-04-06T16:45:41 | R | UTF-8 | R | false | true | 1,826 | rd | list_accession.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/srcImpulseDE2_classImpulseDE2Object.R
\docType{methods}
\name{list_accession}
\alias{list_accession}
\alias{names.ImpulseDE2Object}
\alias{names,ImpulseDE2Object-method}
\alias{$,ImpulseDE2Object-method}
\alias{[[,ImpulseDE2Object,character,m... |
85c280cab0e21c1b3da06999e098a6c5767330b6 | c5f0075dbf7a226beca7d2cac63ef70bca921f8d | /Data-Mining/regression/one_useful_variable.r | 0ea5cc57fe6768c12356c2cc7993a3508c344a18 | [] | no_license | jaeyoung-jane-choi/2019_Indiana_University | 23a271ce5294f69e08775f06437d2125c789c419 | c9a7604147d9efee5bc2386cc9ae8d5240eaf450 | refs/heads/main | 2023-06-07T07:56:20.466645 | 2021-07-02T03:49:19 | 2021-07-02T03:49:19 | 382,091,809 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,311 | r | one_useful_variable.r | # Have a single useful variable and 99 garbage variables for prediction response
# when we fit the model we see y = yhat indicating very good predition on training data.
# But model performs badly when we look at new data FROM THE SAME MODEL
# Ridge regression adds complexity penalty to "complexity" of regression coe... |
9ea7a2b13201d885a41f1fe68aaf1c6b091db15f | 3fbd8c5078d5ebb28e23558b158ab74ec0f2ed6b | /man/lutInfo.Rd | 0632d88ef1644c29f04e486ad7a5b37b4d08417e | [
"MIT"
] | permissive | envima/envimaR | 161cf2e8a0569292ae18b0edfbb0f99900f97bd4 | c8854cd06203a12cf923818728f9cff9a2e41a3d | refs/heads/master | 2021-07-23T23:29:35.948757 | 2021-07-13T22:40:40 | 2021-07-13T22:40:40 | 156,347,896 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 427 | rd | lutInfo.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/helpMa.R
\name{lutInfo}
\alias{lutInfo}
\title{Get values of default environment from internal look-up table}
\usage{
lutInfo()
}
\value{
List containing lut content.
}
\description{
Get values of default environment look-up table (not requir... |
eb6763b35ccd36a67e2646018a7fc0c711b2c7dd | a0d90bd3ecde3cbeab475095c889ac3f3c2afe05 | /man/sk_utils.Rd | f63a05200cd0cc4bc8e89cae3dbf64ebe339e17b | [
"MIT"
] | permissive | abresler/sklearn | 2ad843933019ed69cd7b1e12df4a2fbcd3de57e0 | e51874420bb75eebd8e49aa677a30b7ec8f5bd3d | refs/heads/master | 2023-08-03T18:05:48.101569 | 2023-07-19T13:09:25 | 2023-07-19T13:09:25 | 174,732,352 | 7 | 0 | null | null | null | null | UTF-8 | R | false | true | 416 | rd | sk_utils.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sklearn.R
\name{sk_utils}
\alias{sk_utils}
\title{SK Utilities
\href{https://scikit-learn.org/stable/modules/classes.html#module-sklearn.utils}{utility functions}}
\usage{
sk_utils()
}
\value{
python object
}
\description{
SK Utilities
\href{... |
762d250f7a3d5675d1690c0adbe3c21125ae3a77 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/glycanr/examples/glyco.outliers.Rd.R | 193fdee011d18dd930806ea02592cd0801dd84b4 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 228 | r | glyco.outliers.Rd.R | library(glycanr)
### Name: glyco.outliers
### Title: Discover outliers in glycan data
### Aliases: glyco.outliers
### ** Examples
data(mpiu)
glyco.outliers(mpiu)
# outliers per plate
glyco.outliers(mpiu, group="Plate")
|
a585017b5526bf141a0a3f21112a21b163869955 | 6c616664e83c91416219efcf9050fa65e8c50a66 | /distamp_tangara.R | 50c65abcb4ae0c16eab86f0037cab9a8ad494134 | [
"CC-BY-4.0",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-public-domain"
] | permissive | biodiego88/Population-density-of-the-Multicolored-Tanager | 16137aa1d0f5c399217c086a695c1b954e969614 | ea5c78d79575c690c7b892c82b17fd7d4700c6f7 | refs/heads/main | 2023-03-30T18:11:54.801207 | 2021-04-01T16:41:35 | 2021-04-01T16:41:35 | 353,763,329 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 6,525 | r | distamp_tangara.R | # TUTORIAL
vignette("distsamp")
install.packages("unmarked")
install.packages("AICcmodavg")
library(unmarked)
library(AICcmodavg)
# setiamos la carpeta donde se encuenhtran nuestros archivos
setwd("C:/RAnalysis/Unmarked/distsamp/tangara")
# le damos el nombre de "dists" al archivo que contiene nue... |
3d412e5d07ca817a45d669ab726d31013e33e581 | 81ff4f78af4de923a71b1ac05cfebc82fb01818d | /CRAN/contrib/spaMM/R/LR.R | a2eb290447fa5965d3eba65ff538084d36a10854 | [] | no_license | PRL-PRG/dyntrace-instrumented-packages | 9d56a2a101c4bd9bee6bbe2ababe014d08cae1a0 | 6c586a26b8007dc6808865883e1dd7d2a1bf6a04 | refs/heads/master | 2020-03-08T15:45:59.296889 | 2018-04-06T09:41:52 | 2018-04-06T09:41:52 | 128,220,794 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,349 | r | LR.R | .compare_model_structures <- function(object,object2) {
if (inherits(object,"HLfitlist") || inherits(object2,"HLfitlist")) {
stop("This does not yet work on HLfitlist objects")
}
X1 <- colnames(object$`X.pv`)
X2 <- colnames(object2$`X.pv`)
if (length(X1)==0L) {
REML1 <- NULL ## compatible with ... |
9e198fcff35c70b65a2ba1d77c7cc4a177cc9000 | 16cbcd4b55e9df1e91f2d69702790023c9cf6780 | /252286816.r | 4dbf7be97b366dc44af745c1094aec27dec09548 | [] | no_license | erex/MT3607-peer-review | 3f65c9a168f34e947fe0e531e773029384c19314 | bc0750e9a7fb5f2d0a7c7e35b34b3a80213d9fde | refs/heads/master | 2020-06-03T06:12:34.093705 | 2014-10-10T09:49:51 | 2014-10-10T09:49:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,156 | r | 252286816.r | #I confirm that the attached is my own work, except where clearly indicated in the text.
# Normal RV generator
# purpose: my.rnorm is a random number generator to simulate random normal variables.
# Simulated by the uniform RV command "runif" then transformed by an algorithm into Normal random variables.
# i... |
dd575c47e9c9df6c6a6773e2e8cd7680ea96485e | 8858836e281c2624d097fe62f73fa4a648f72f72 | /empirical.R | a8abc7efa2aef44030712effce7a7d28ad94f5e8 | [] | no_license | aripurwantosp/psoks_fit_lognormal_wafm | 19e2032fcc739fcb388bd25b3baee16254eb0644 | e6412dfa8aef7129b28e2e8e0e7b7527460f6bdf | refs/heads/master | 2021-07-08T18:28:23.657143 | 2020-07-24T13:11:52 | 2020-07-24T13:11:52 | 169,533,768 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,478 | r | empirical.R | #PSO-KS Empirical Study Fromm IDHS 2017 Data
#Fitting Lognormal Distribution to Women Age at First Marriage Data
#
#Ari Purwanto Sarwo Prasojo & Puguh Prasetyoputra (2019)
#Research Center for Population, Indonesian Institute of Sciences
#________________________________________________________________
#Load pa... |
c91ba9d797599fc6d98d80b5862707a0d206a8f7 | 992b927610cfd0528def7a7a2a440058f22b6828 | /man/ovun.sample.Rd | 12247e2991912e2fab92a8df1339d00b7a0738d6 | [] | no_license | ramnathv/ROSE | 1a15478e7a846fdca459e970595997efe311caa4 | 6e6e32cd79515887920d65857dfb929254500ee6 | refs/heads/master | 2020-04-01T21:52:57.067164 | 2018-10-18T19:57:54 | 2018-10-18T19:57:54 | 153,679,959 | 1 | 0 | null | 2018-10-18T19:57:06 | 2018-10-18T19:57:05 | null | UTF-8 | R | false | false | 3,321 | rd | ovun.sample.Rd | \name{ovun.sample}
\alias{ovun.sample}
\title{
Over-sampling, under-sampling, combination of over- and under-sampling.
}
\description{
Creates possibly balanced samples by random over-sampling minority examples, under-sampling majority examples or combination of over- and under-sampling.
}
\usage{
ovun.sample(formula... |
c8ad64e143f549d7b5ec1bcc63025cedf7ecbf67 | be3adc68f32d8ab896996a7236325dea700ff416 | /run_analysi.R | a4d148385fcb38034419f136652b354c768fcbc2 | [] | no_license | santiagoferriere/Coursera-Getting-and-Cleaning-Data-Course-Project | 9e790ad7ae40b47c6eb0f07f0692bf94e73349af | 68548c60c99f0f69c33de3eb470662c66d6d0f74 | refs/heads/master | 2022-11-25T23:20:31.615560 | 2020-07-27T03:58:06 | 2020-07-27T03:58:06 | 282,745,855 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,247 | r | run_analysi.R | #reading features and activity data #Acordarse que la carpeta esta un nivel abajo del wd
library(dplyr)
features <- read.table("./UCI HAR Dataset/features.txt")
activities <- read.table("./UCI HAR Dataset/activity_labels.txt")
test <- read.table("./UCI HAR Dataset/test/X_test.txt")
train <- read.table("./UCI HAR ... |
cb774fe280c5c635be084e9ec693557cf6207f8d | a8f98c245c02fa7741cbdba001f5e71a0069e7a8 | /total_jobs/plot.R | 847308ae3053f79f1ae082ceedc51cce943ccd31 | [] | no_license | schelcj/biostat-cluster-reports | b4d6aa711921c8989ae7a0c9f7ac4880becae75f | 0f6a03e4058df0f9380f13450acca3f65a96d241 | refs/heads/master | 2021-01-22T11:38:21.289928 | 2015-01-20T14:35:22 | 2015-01-20T14:35:22 | 2,601,256 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 420 | r | plot.R | data <- read.table('report.dat', header=T, sep=",")
u_range <- range(0, data$total_jobs)
pdf('report.pdf')
plot(data$total_jobs, type="o", lwd=2, lty=1, pch=NA, col="blue", ann=F, axes=F, ylim=u_range)
axis(1, 1:52, lab=T)
labels <-seq(0, length(axTicks(2))^2, length(axTicks(2)))
axis(2, at=axTicks(2), labels=labe... |
6c81baf712f977181d4e7ce98b3021ea03f9a605 | aa06ef73c7eabdeb93b93bbb02d1f5e05758b728 | /Multivariate_Analysis/Vegan_Demo3_20190208.R | 83388a7a58d77a6b4f0288a2401e5a86a5b6671e | [
"BSD-3-Clause"
] | permissive | lehostert/Stream_Ecology_Lab_Stats_Workshop | a0b82e6aa91c3a2e982b1136064261f2b3ed6c60 | f1767f7096573f719b3722193b72bdbf2fe86bde | refs/heads/master | 2021-07-21T14:57:43.822246 | 2020-05-12T04:08:18 | 2020-05-12T04:08:18 | 161,689,145 | 1 | 1 | BSD-3-Clause | 2020-05-12T03:59:26 | 2018-12-13T20:04:27 | R | UTF-8 | R | false | false | 2,048 | r | Vegan_Demo3_20190208.R | library(tidyverse)
library(vegan)
### Ordination Techniques Continued
fish <- read.csv("~/Documents/Github/Stats_Workshop_SEL/Multivariate_Analysis/five_assemblages.csv", header = T, na = ".", row.names = 1)
fish.evi <- read.delim2("~/Documents/Github/Stats_Workshop_SEL/Multivariate_Analysis/TV.txt", sep = ",", head... |
2698bb3022c9cf5f8e244cbc1af5480293591a9f | f25acfa44ded4602f844422ef93c8233ea400039 | /plot2.R | 9ce8d737f7ddbb9ded3cd76f43c40f00f5da859f | [] | no_license | irving/ExData_Plotting1 | d6f2d16c9f0d3384e9c1b01285d335a852483569 | 0095f0ac46b0b429dce2365e56afed835e818c72 | refs/heads/master | 2021-01-16T12:19:50.002003 | 2015-06-07T01:13:38 | 2015-06-07T01:13:38 | 36,740,862 | 0 | 0 | null | 2015-06-02T15:00:56 | 2015-06-02T15:00:56 | null | UTF-8 | R | false | false | 1,291 | r | plot2.R | # Project 1 for Coursera Exploratory Data Analysis course
# June 2015 section.
#
# This program reads a data file, selects the small portion of it to be used
# And generates an exploratory plot from it.
library(data.table)
library(dplyr)
library(lubridate)
library(sqldf)
# Check for file before reading. It should be... |
8bd55f3977ba86aba894a75787b3b93a6c5ac44a | 03f2c9c3e7d87c11400511a2994536efa8eba6de | /R/submissions/glm_0.58566_june_14_2014/avs_models_submission.R | 7842f0bf037d940baeb02db188d5c5e3083ebcb6 | [] | no_license | lorenzol/kaggle_avs | 43dc9b16ad8be1a2726ecae7a5ebdddf8031247e | c61d2d43562dad2411bc22994f84b968f68e4ab5 | refs/heads/master | 2021-01-10T22:09:55.147687 | 2014-09-18T00:46:23 | 2014-09-18T00:46:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,141 | r | avs_models_submission.R |
load(file="test.RData")
# Create Submission File on Test Data (must have test data ready)
########################################################
# name of test file = test
# use the model to generate predictions
repeater_glm <- predict(glm.tune, newdata = test, type="prob")
repeater_gbm <- predict(gbm.tune, newdat... |
2b917081095186cf2998a923a34e54c6028a68d9 | ca88f343307390ee7854779d5a6d3d7797eefbf2 | /nomear_paises.R | 681dea8c2515c0e1291e87a052a3141c4271392b | [] | no_license | FlavioMarchi/Mapeamento-Tecnologico | 570f84e34aaa210184ca650702ea1ee0f599d8c9 | 072d3356fc8ef663742b20ea946f1dd78a2493d2 | refs/heads/master | 2021-09-01T21:17:24.669599 | 2017-12-28T17:04:27 | 2017-12-28T17:04:27 | 115,642,464 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,022 | r | nomear_paises.R | nomear_paises <- function(country, flag = TRUE){
if(flag == TRUE){
custom_match01 <- c(WO = "World Office", EP = "European Union", SU = "Soviet Union",
AP = "NA", EA = "NA", OA = "NA",
UK = "UK")
country <- countrycode(country, "iso2c",
... |
ffb723f4f8f283e0657ca4d226147e463d4f3a35 | 22e937ad20cc8b4609d7e4b883c2c1dc5c701a27 | /man/plot.shotperformance.Rd | 57c579617504e65351bc045f00b3569db0782378 | [] | no_license | sndmrc/BasketballAnalyzeR | becf8ac9f302b6fb02a6ee901e5656d90d2568f3 | 9e8a01f0bece63442c30348d24205244a1c6aa76 | refs/heads/master | 2023-06-10T14:13:01.684480 | 2023-05-31T20:17:42 | 2023-05-31T20:17:42 | 142,006,460 | 34 | 7 | null | null | null | null | UTF-8 | R | false | true | 1,645 | rd | plot.shotperformance.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot.shotperformance.R
\name{plot.shotperformance}
\alias{plot.shotperformance}
\title{Plots a bubbleplot representing the data contained in the dataframe produced by the function 'shotperformance'}
\usage{
\method{plot}{shotperformance}(x, t... |
d8c0e8fa512249a0f1acc04d6b867ac782e5475d | 63c5a1fcadd2d4a94fb81678bdc5f3e45df01855 | /R/segment.R | 44747c0d3253e2100826b6d6998637acbe6bd113 | [] | no_license | aoles/EBImage | 884709162b60b93b75a0fdf6ec937d535a8ab7ef | d0f7973ac05a96914c63570e450730abd326aef5 | refs/heads/devel | 2023-06-23T11:26:44.695456 | 2023-04-09T20:52:13 | 2023-04-09T20:52:13 | 22,993,924 | 67 | 35 | null | 2023-06-15T13:36:39 | 2014-08-15T15:25:54 | R | UTF-8 | R | false | false | 2,071 | r | segment.R | ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
watershed = function (x, tolerance=1, ext=1) {
validImage(x)
tolerance = as.numeric(tolerance)
if (tolerance<0) stop( "'tolerance' must be non-negative" )
ext = as.integer(ext)
if (ext<1) stop( "'ext' must be a positive integer" )
... |
dfd77d4126b2c4029e1c297e9aaccb86e7f3ffb8 | 29585dff702209dd446c0ab52ceea046c58e384e | /RSDA/R/sym.cor.R | 511176b9eea190ac6461d8efb00f5e694ad63112 | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 878 | r | sym.cor.R | sym.cor <-
function(sym.var.x,sym.var.y,method=c('centers','interval','billard','histogram'),na.rm=FALSE, ...) {
method<-match.arg(method)
if(method=='centers') {
if((sym.var.x$var.type=='$C')&&(sym.var.y$var.type=='$C'))
return(cor(sym.var.x$var.data.vector,sym.var.y$var.data.vector))
if((sym.var.x... |
b3ab6dfd31e5abaa64db58fcbed40e1c0656c742 | c5138fb9dacb509d778881d2ad97ab056dbc16a3 | /R/neural-nets.R | 82fffa27321278bb5dff0aeecc289975cf431d2c | [] | no_license | cran/deep | 8f5c142e5e2aef91a14ded9b9b2f80af0eabd067 | 1a3c7676464430b245b9f092649c87202c606aad | refs/heads/master | 2020-12-21T22:24:49.733218 | 2019-12-20T10:50:03 | 2019-12-20T10:50:03 | 236,581,866 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,740 | r | neural-nets.R | #' deep: A Neural Networks Framework
#'
#' The deep package provides classes for layers, types of neurons and the
#' neural network as a whole.
#'
#' @docType package
#' @name deep
NULL
#' The main NeuralNetwork class, that holds the layers.
#'
#' @field eta The learning tax, representes the size of the weight adjustm... |
6ec6971b11622ea65ed7f6fa14c32498360358c4 | 350f369998282044eeff0794540189c89ad8710c | /inst/doc/qle_with_R.R | 413f60b26c7cfc7262c89e4fe04c68db935220fd | [] | no_license | cran/qle | 26b2edf6e372d4a966aa85754ba4c88377036290 | 857a96cfcf8dbbf116c944c23924f6cedb37abd8 | refs/heads/master | 2021-09-24T10:39:46.030022 | 2018-10-08T11:00:03 | 2018-10-08T11:00:03 | 110,973,979 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 24,022 | r | qle_with_R.R | ### R code from vignette source 'qle_with_R.Rnw'
### Encoding: UTF-8
###################################################
### code chunk number 1: qle_with_R.Rnw:1083-1085
###################################################
options(useFancyQuotes="UTF-8")
options(digits=4, prompt="R> ")
##############################... |
25d32961e0235ee365e936d70142d4bf007c4798 | b7b87a80d60ae83d4789e9e2df1be3cb87676ba5 | /other/crosstalk.R | 8e4ea1518c0572e455abbc714be448c2145ba42f | [] | no_license | malvikarajeev/misc_code | ff169c87586ba3583c38893cb7c5eccce03318eb | 6e603a015cc5cdb0343f7a0518912bd7e8fe0239 | refs/heads/master | 2023-04-21T13:58:40.716294 | 2021-04-20T07:08:49 | 2021-04-20T07:08:49 | 270,853,898 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 994 | r | crosstalk.R | #####experimenting with crosstalk
#devtools::install_github("rstudio/crosstalk")
#devtools::install_github("jcheng5/d3scatter")
#devtools::install_github("rstudio/leaflet")
library(d3scatter)
library(crosstalk)
library(leaflet)
library(sf)
library(sp)
library(rgdal)
library(rgeos)
library(ggplot2)
library(ggthemes)
l... |
62c3e4f7047553806eb015ad18d81890fe8c64fd | 6b987d7b5663bd70e2cd902a99deb3feb5741c5d | /R/param.R | 6dd84c4619b1a5d289938d707d01778f8cd99dde | [
"Apache-2.0"
] | permissive | NicolasDurrande/gpflowr | 081e67d52f5c863c04340ef4330177a2f428a6d0 | c82aead1a82883af49c619962147a8e83c809a39 | refs/heads/master | 2021-01-12T18:16:27.999422 | 2016-11-22T16:10:57 | 2016-11-22T16:10:57 | 71,359,140 | 1 | 0 | null | 2016-10-19T13:17:46 | 2016-10-19T13:17:46 | null | UTF-8 | R | false | false | 25,295 | r | param.R | # define R6 classes: Parentable, Param, DataHolder, Parameterized and ParamList
# port of GPflow/GPflow/param.py
# ' @title Parentable class
# '
# ' @description A very simple class for objects in a tree, where each node contains a
# ' reference to '_parent'.
# '
# ' @details This class can figure out its own name (by... |
97f25911f28a71d375aae3a23b8ccbbf64d7d73c | a15bafa2b845fff694d5428c27796ae02fc04b17 | /man/distanceheatmaps.Rd | 22e7257351207978fa6ad68a265d8ddb32150f14 | [] | no_license | cran/IntClust | 741db502112c3407aefa5eb5d08b92e2d2a75f7a | 235fe4a67855c96b48247aa2f02895604caf507e | refs/heads/master | 2018-10-30T23:12:34.173124 | 2018-07-30T11:10:15 | 2018-07-30T11:10:15 | 55,162,571 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 610 | rd | distanceheatmaps.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Functions.R
\name{distanceheatmaps}
\alias{distanceheatmaps}
\title{Determine the distance in a heatmap}
\usage{
distanceheatmaps(Data1, Data2, names = NULL, nrclusters = 7)
}
\arguments{
\item{Data1}{The resulting clustering of meth... |
cb320cd5423587ea5c995ccc87df4664c417ef34 | 86061b2a5b230a1f30f8bf361b4a22b5e73623c4 | /Green_Values.R | b6b9242a161a232717e0df0b15b865e9328f69f0 | [] | no_license | C-WWU/Seminar | f1e0f0ee10bdfbbe8f185bcc2239de63cd663c83 | 30d0f3f545a3b7117abf80f3e7b8dfd401d9f9a0 | refs/heads/master | 2023-03-06T15:42:34.040389 | 2021-02-17T15:00:42 | 2021-02-17T15:00:42 | 324,803,807 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 18,065 | r | Green_Values.R |
#----------------------FINAL CODE IN SOCIALLY IRRESPONSIBLE ALGORITHMS------------------------------
#install and load relevant packages
install.packages("cowplot")
install.packages("randomForest")
install.packages("pROC")
install.packages("readr")
install.packages("caret")
install.packages("e1071")
install.packages... |
f330389081bab83b63905ad911a2776e81e39112 | 92e597e4ffc9b52cfb6b512734fb10c255543d26 | /man/firstElement.Rd | 96af7264d5b2ce4ccdc15e8f00e52b3394770cb8 | [
"MIT"
] | permissive | KWB-R/kwb.utils | 3b978dba2a86a01d3c11fee1fbcb965dd15a710d | 0930eaeb9303cd9359892c1403226a73060eed5b | refs/heads/master | 2023-05-12T15:26:14.529039 | 2023-04-21T04:28:29 | 2023-04-21T04:28:29 | 60,531,844 | 9 | 1 | MIT | 2023-04-21T04:28:30 | 2016-06-06T13:52:43 | R | UTF-8 | R | false | true | 303 | rd | firstElement.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/vector.R
\name{firstElement}
\alias{firstElement}
\title{First Element}
\usage{
firstElement(x)
}
\arguments{
\item{x}{object}
}
\value{
first element: x[1]
}
\description{
Returns the first element using the function head
}
|
3e2c04218020fefdf364e94a0105206f480c3dc9 | c871ac402d8b98b7cfba55092fe7b0ae1480e74e | /Anc_char_state/ANS.R | 8f24e84cdd0cc66f1950e5912fbc0a7022c04c1f | [] | no_license | sergeitarasov/Course_Helsinki_March2019 | 6a7849119336ce0d371dd6f63a8b7541ddd26b9d | 46b4b03e4841c0271c680b425ffda6d0ac8cf607 | refs/heads/master | 2023-01-12T01:30:45.583752 | 2023-01-03T17:42:54 | 2023-01-03T17:42:54 | 177,663,343 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,291 | r | ANS.R | library("corHMM")
library("phytools")
library("plyr")
#########
# Simulating data
#########
# simulate tree
tree<-pbtree(n=200, scale=100)
plot(tree)
# simulate character history
# make Q matrix
Q <- matrix(
c(
-0.03, 0.01, 0.01, 0.01,
0.03, -0.09, 0.03, 0.03,
0.01, 0.01, -0.03, 0.01,
0.03, ... |
c0c3dec3eca78a641c79be5b7ab946cd7c4b2b2a | ccbdf07cc6a176b3337dd3e650cb8904f7ab80bc | /global.R | 83011b3139efffd3ca1e381f417fb142803b29a0 | [
"MIT"
] | permissive | keegangeorge/shiny_app_dev | 29f32a045d26376ea40e75c5318a4aa32eab9cb5 | db7408070e15b66825d8ec32bd379753e3981038 | refs/heads/main | 2023-06-26T04:01:07.554448 | 2021-07-28T23:58:54 | 2021-07-28T23:58:54 | 390,544,542 | 0 | 0 | MIT | 2021-07-29T00:07:07 | 2021-07-29T00:07:07 | null | UTF-8 | R | false | false | 703 | r | global.R | # Load the libraries and import function files here.
# Global.R is run one time at app initiallization.
library(bs4Dash)
library(shiny)
library(fresh)
# other imports
packages1<-c("oligo","GEOquery","affy","limma","arrayQualityMetrics","sva","Biobase","affyPLM", "simpleaffy")#, "AffyBatch")
for(x in packages1){
l... |
233712715d5bad4b256911efa980f27e7795beab | c5cdb6ddfad911d21273feddd05b082c75c29f27 | /R/sim.index.R | 67e9e2ade3e3e2b34eda6864f415f4562150a1be | [] | no_license | cran/ONETr | 6d313681e1a124c521fdb737e469f2af8867f310 | d5f427e9f697bab27e634b120fb140de14fef9f2 | refs/heads/master | 2020-05-18T06:26:09.646327 | 2015-08-23T00:00:00 | 2015-08-23T00:00:00 | 21,559,611 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,154 | r | sim.index.R | sim.index <- function(list1, list2, FUN, index=c("sd","ji","all")){
job1 <- FUN(list1)
job2 <- FUN(list2)
if(".attrs.id" %in% names(job1) & ".attrs.id" %in% names(job2)){
if(index == "sd"){
sd <- 2*length(intersect(job1$.attrs.id,job2$.attrs.id))/(length(unique(job1$.attrs.id))+length(unique(jo... |
c44293d5ccef7774b28b4510afd5e12ecd16ac5c | 63ef3937256d030123bcb2aac6c08d73c7a372bb | /tests/testthat/test-mcmc-nnls.R | e6d9dc7d8762e02e8b5e1633381e6143601e4f27 | [] | no_license | shackett/simmer | 740c3c8caa2b6c0c6244ed9e073b6f5eab322183 | 7138a45fb9653ce50d8556676a9fd1cc00bf0395 | refs/heads/master | 2020-03-30T15:56:51.864765 | 2016-09-16T15:38:04 | 2016-09-16T15:38:04 | 58,556,604 | 7 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,443 | r | test-mcmc-nnls.R | test_that("fit_reaction_equations applies the MCMC-NNLS algorithm to one reaction equation", {
options(stringsAsFactors = F)
rMech_summary_table <- suppressMessages(readr::read_tsv(system.file("extdata", "reactionEqn_fitting", "rMech_summary_table.tsv", package = "simmer")))
reactionForms <- suppressMessages(re... |
6a7e42b1f364febd39937c369f87b078cc440d30 | dda9309eb6ab192ad4e955a46e5620791a9f9d05 | /inst/doc/FishPhyloMaker_vignette.R | b8aa09c989405ffef3e813bfaaec577e8c9109aa | [
"MIT"
] | permissive | cran/FishPhyloMaker | a9fd0aa90f4c9433b80508fbead9885418b92ba6 | e2e74e2bdaa9be715907b4f148cbdb8fad1c8686 | refs/heads/master | 2023-08-21T19:20:02.438998 | 2021-09-15T07:00:10 | 2021-09-15T07:00:10 | 406,826,654 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,734 | r | FishPhyloMaker_vignette.R | ## ---- include = FALSE---------------------------------------------------------
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
## ----install_pkg, echo=TRUE, eval=FALSE---------------------------------------
# devtools::install_github("GabrielNakamura/FishPhyloMaker", ref = "main")
## ----read_data, e... |
b5bac5850f03ddab200e990ba1d64b3e374c5272 | abb02adb369d8edf6499d048d903db1f30a3cedc | /run_analysis.R | d04428b93e6686f881086620120582961e665683 | [] | no_license | WajihaSaid/run_analysis | 63bcd948e1b56761aea65b88bfe9f63cf8f653b4 | 583df5ccbf442409172efcefcd9ea680851d3fd7 | refs/heads/master | 2021-01-19T07:53:40.044636 | 2014-08-24T19:10:13 | 2014-08-24T19:10:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,119 | r | run_analysis.R | #create folder for storing, reading and writing data
if(!file.exists("./run_analysis")) {dir.create("./run_analysis")}
#get wd to restore to at the end of the procedure
wd <- getwd()
#set wd to the directory where data is saved
setwd("./run_analysis")
#download and unzip data. Store paths to files in filehandle
down... |
65fd9229e446c897625a190493865bd285777a97 | 3646e6edc7b38488a562a99d34c4f764c7163b23 | /WTCTools/man/leaderboard15.Rd | eb125144652fe62e3d5fd4cf090b298b8ebdbdeb | [] | no_license | CSJCampbell/WTCTools | 2d98f0659ffc79edaa10a0a949799e3a577a0d64 | e97b1af05ad2003a5a7811f7f7acc72dfddb7773 | refs/heads/master | 2021-06-02T17:17:12.413625 | 2017-09-21T01:18:12 | 2017-09-21T01:18:12 | 41,179,428 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 705 | rd | leaderboard15.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/scoreSequence.R
\docType{data}
\name{leaderboard15}
\alias{leaderboard15}
\title{World Team Championships 2015 Team Leaderboard}
\format{Data frame with columns:\itemize{
\item Rank integer noting team position
\item Team character ... |
3bf7803e0aac09f4053ed8f0b95ded01f82944b1 | 93def2f4add7bbb43889435eb42fb6dda5eec619 | /hw2/hw2_Adam.R | bcccdf48b1d11a0bfd96ccfd922979e0954eaad2 | [] | no_license | mikeasilva/data-621-group-projects | 9e13c9df18956e05d6c47427ae8073204ba47cae | 0a0c33e59322e382de3d0191703b157c48d4f072 | refs/heads/master | 2020-07-23T19:47:43.130227 | 2019-12-19T17:48:26 | 2019-12-19T17:48:26 | 207,687,536 | 1 | 6 | null | 2019-12-19T17:48:28 | 2019-09-11T00:24:24 | HTML | UTF-8 | R | false | false | 1,988 | r | hw2_Adam.R | ##################################################
# Functions to compute classification measures.
##################################################
# I know you have these already, but I thought
# it may be good practice to do my own.
#
accuracy <- function(df, pred, act){
sum(pred == act)/nrow(df)
}
errors <- fu... |
2cf916aeec968f4a498df2aced90c6645ca1253c | adc2fd58b4326ecfaf0e743698246da8846c981d | /Data_Summarization/lab/Data_Summarization_Lab.R | fb6c892ef2e77b5b2ef89dca9ca9fd60031beb55 | [
"MIT"
] | permissive | andrewejaffe/summerR_2016 | c26d8e709c26100e1e40df3d9c1ad213fa34d94a | 8f47a6735f039499eba66e30e0b40c59a36c1c6b | refs/heads/gh-pages | 2020-04-06T03:36:03.439029 | 2016-06-24T19:25:02 | 2016-06-24T19:25:02 | 60,783,896 | 0 | 4 | null | 2016-06-14T02:00:58 | 2016-06-09T15:08:11 | HTML | UTF-8 | R | false | false | 1,199 | r | Data_Summarization_Lab.R | ####################
# Data Summarization - Lab
# 6/15/2016
####################
# Bike Lanes Dataset: BikeBaltimore is the Department of Transportation's bike program.
# https://data.baltimorecity.gov/Transportation/Bike-Lanes/xzfj-gyms
# Download as a CSV (like the Monuments dataset) in your current working direct... |
b612042dd5348ffb5dda8479b9610d11c87734c5 | 1ef6c2a474a51bb9cf01a8c523bae221e0c6665b | /Codes/1_GetData.R | a5afb9c9875396cc9fb6f7eda137a58487221a7c | [] | no_license | acszczep/f-curve | 0b72347f71fd19cea792417cd557b95925a478d4 | 70d72ef26dd69b627f64b9e0049b520128eb45c2 | refs/heads/master | 2022-06-17T22:02:07.532757 | 2020-05-16T10:16:28 | 2020-05-16T10:16:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,960 | r | 1_GetData.R | #-------------------------------------------------------------------------------------
# A daily fever curve for the Swiss economy
#-------------------------------------------------------------------------------------
# Feel free to copy, adapt, and use this code for your own purposes at
# your own risk.
#
# Please ci... |
a8feb13b62e8e32bcc548ace2849c6e68061df6c | d97e908015d9fafe3adf3183738a3e9fc89ceef3 | /Integrative_analysis/Integrative-FimoMotif_presence_in_Iri_MarkerGene_nearest_dynamicDMAR.r | 7680180d0bec6ca32ae1f8aec8e5eab67f6eaa2e | [
"MIT"
] | permissive | yjchen1201/zebrafish_pigment_cell_dev | ca7393fab7c6942c260c39fd9b7c2bc167d71e86 | f4c0e3f81619778cf4e13955b23209c108ba9b94 | refs/heads/main | 2023-04-17T10:06:59.855315 | 2021-09-08T22:31:54 | 2021-09-08T22:31:54 | 399,949,907 | 0 | 2 | MIT | 2021-09-07T04:56:48 | 2021-08-25T20:31:54 | R | UTF-8 | R | false | false | 10,552 | r | Integrative-FimoMotif_presence_in_Iri_MarkerGene_nearest_dynamicDMAR.r | ####### USE FIMO TO scan FOR IRI-SPECIFIC TF motifs ###########
# Read DMAR list generated from "Integrative-generate_DMAR_master_list_02.r"
DMAR <- read.table("All_DMAR_Combined_wINFO.bed",sep = "\t",header =T, stringsAsFactors =F)
DMAR_Iri_accessible <- DMAR[DMAR_new$DMRs24vIri >0 | DMAR_new$DARs24vIri >0 | DMAR_new... |
9b2969c238f5749e4643266450e8f885f45b99b2 | a79da6845229920cc17f3b25cb0b667262715b88 | /man/analyse_trscr_cnv.Rd | 91847e11d64e8c53a9111faafbd9bd96d3d4d4ad | [] | no_license | fchuffar/methmybeachup | 58d55ec37d711b7fe3a6a8cdc9022105e7c6c514 | f74cb52edac31eaf76efe174a2ae7d1c38a09750 | refs/heads/master | 2021-01-12T02:53:01.934598 | 2017-12-05T20:27:25 | 2017-12-05T20:27:25 | 78,121,581 | 0 | 2 | null | null | null | null | UTF-8 | R | false | true | 875 | rd | analyse_trscr_cnv.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/analyse_meth.R
\name{analyse_trscr_cnv}
\alias{analyse_trscr_cnv}
\title{A Function Analyses CNV and Transcriptome data}
\usage{
analyse_trscr_cnv(gene, trscr_res, cnv_res, meth_idx, ctrl_idx, cols, idxes,
PLOT = TRUE)
}
\arguments{
\item{g... |
6b75fd2e159cc608b5556b1dc887ede4efb8b627 | cd32d300faed890d520e27399e93662b47388926 | /Projekt1/trzejMuszkieterowie_Projekt1/wykresMiecze.r | 85878b565306d33658f7ca8918232583496db2e0 | [] | no_license | Siemashko/TechnikiWizualizacjiDanych2018 | f01a7b3b513cf07d31261d176e56fb7b99583df6 | c6072805f3a9b3c1f0d7db34c2728cb4e20d562f | refs/heads/master | 2020-03-30T16:08:56.922922 | 2019-01-16T11:08:26 | 2019-01-16T11:08:26 | 151,395,331 | 0 | 1 | null | 2019-01-09T11:39:22 | 2018-10-03T10:24:06 | HTML | UTF-8 | R | false | false | 4,216 | r | wykresMiecze.r | library(ggplot2)
library(ggimage)
library(extrafont)
# DO STWORZENIA WYKRESU TRZEBA POBRAĆ I WGRAĆ CZCIONKĘ DO CZCIONEK NA KOMPUTERZE
windowsFonts(k = windowsFont("starjout"))
loadfonts()
windowsFonts(sans="starjout")
loadfonts(device="win")
loadfonts(device="postscript")
colors <- c("Blue", "Red", "Gree... |
3b1956909c340cd068aa0f783cb6e75ca22e6561 | 91b06d684a3c638d6053241f5599be3f0abcd1e4 | /Part3_R기초/sec 6_1 (Vector, Factor).R | 6ac60844fe4fd2fe31d04919cb267bbefad6db02 | [] | no_license | limwonki0619/R_Data_Analysis | 2680b07e68e5f44afd5c167a7338487c4205da62 | 8efd42061be81996b0f3eb4ee6e2e1bd3ff3d8b0 | refs/heads/master | 2020-05-29T13:19:54.578617 | 2019-08-26T11:33:42 | 2019-08-26T11:33:42 | 189,156,993 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 6,999 | r | sec 6_1 (Vector, Factor).R | #--------------------------------------------------------------#
# 코딩에서 가장 중요한 것 두 가지 #
# #
# 1. Indentation #
# #
# ... |
01a939bfb765c924f31f02a288a6d6b4005fe94c | 2730ee0c85e25f0ec675f6b6060c801ca3f9642a | /tools/rpkg/man/rel_from_df.Rd | 1a00698704a632ea9daf2f1cc91f10e5dbf30b56 | [
"MIT"
] | permissive | tiagokepe/duckdb | ff725a6771b940498cedd7a32981e6a3df54b9f5 | 5b2859f520fa5bd130bf5bdd14d7113d1db0e140 | refs/heads/master | 2022-07-21T23:54:19.442338 | 2022-07-12T16:21:06 | 2022-07-12T16:21:06 | 241,940,233 | 1 | 1 | MIT | 2020-02-20T16:59:50 | 2020-02-20T16:59:49 | null | UTF-8 | R | false | true | 524 | rd | rel_from_df.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/relational.R
\name{rel_from_df}
\alias{rel_from_df}
\title{Convert a R data.frame to a DuckDB relation object}
\usage{
rel_from_df(con, df)
}
\arguments{
\item{con}{a DuckDB DBI connection object}
\item{df}{the data.frame}
}
\value{
the \cod... |
7f8f4b58b0f5ca11853810b5346baa04ea1c1719 | ade30db1a78b731ef3fe4720597390cddaa9c3c1 | /Boston2.R | 42a513d7173d4a9c6e2c160259188068ab7843d0 | [] | no_license | tiinasip/IODS-project | 98ecafc0d8c7e957fc7a16fb925ad57862c149d3 | c89019acd51ed3d1564505381dcd1d2d656214c6 | refs/heads/master | 2020-08-31T01:51:56.500785 | 2019-12-05T19:10:18 | 2019-12-05T19:10:18 | 218,550,450 | 0 | 0 | null | 2019-10-30T14:46:40 | 2019-10-30T14:46:34 | null | UTF-8 | R | false | false | 1,073 | r | Boston2.R | ##reload data, different name is given
library(MASS)
library(ggplot2)
library(tidyr)
library(cluster)
# load the data
data("Boston")
summary(Boston)
boston_scaled2 <- scale(Boston)
summary(boston_scaled2)
# class of the boston_scaled object
class(boston_scaled2)
# change the object to data frame
boston_scaled2<-as.dat... |
dfddbec54ab99a214d1143bd21000feb5295b74e | 5555c8f3f24a2e571ed10d2c59e90f8477b5a1a4 | /network_analysis.R | 17abbb31cb884fbbd6c96d361c0da34350d12a1f | [] | no_license | c2huc2hu/mcviz | 409866e19ad7aaf9b5360783f897b9cfc5be720d | a41c00a45eef36c7df17a84855e34059b31c0b24 | refs/heads/master | 2020-05-18T13:46:43.205721 | 2015-02-28T05:01:01 | 2015-02-28T05:01:01 | 31,170,494 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 381 | r | network_analysis.R | library(rPython)
library(igraph)
python_file <-file("fb.py", "r")
python.load(python_file)
post <-python.get("tree")
net_matrix <-comment_network(post)
net <-graph.edgelist(net_matrix)
net.sp <- shortest.paths(net)
net.hc <- hclust(dist(net.sp))
plot(net.hc, labels=FALSE)
net <-network_cluster(net, net.hc, 7)
plot... |
c33d747f2aea1e8b7035f3c67864baaf5e5ef9d4 | 268c1997d0fb8a1e068288fe921023f548002ad3 | /man/summary.Rd | c72fa59d68a90fca3fe6f59ff9bc366d696835f5 | [] | no_license | tom-gu/biosurvey | 686269b345f87c57ca6f2ef9179ae524badbf23f | 4f75a60de2ed42441be72ad258d54c8a3ccf3267 | refs/heads/master | 2022-12-26T03:19:35.372797 | 2020-10-03T21:43:46 | 2020-10-03T21:43:46 | 271,777,062 | 0 | 0 | null | 2020-06-12T11:00:13 | 2020-06-12T11:00:12 | null | UTF-8 | R | false | true | 1,067 | rd | summary.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Methods.R
\name{summary}
\alias{summary}
\alias{summary.master_matrix}
\alias{summary,master_matrix-method}
\alias{summary,master_selection-method}
\alias{summary,base_PAM-method}
\alias{summary,PAM_subset-method}
\alias{summary.master_select... |
f19eb12f18e643bddd047544edc7cc62ae33f96d | 18bd07f679785ef493611720aebe702cfa9a28f5 | /chapter2.R | 63c134d8ec7f8e61a9de39880c74339afaf39d4a | [] | no_license | Tomajo/StatisticalRethinkingObsolet | 0aa82c4fcdf935250447dad379174ca6d2d1f970 | 2469cd0f922086e3fc33745bb04e14bb41acae91 | refs/heads/master | 2021-09-07T21:46:56.131398 | 2018-03-01T13:19:29 | 2018-03-01T13:19:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 572 | r | chapter2.R | ##### Pagina 40 Statistics Rethinking
#define grid
p_grid<-seq(from=0, to=1,length.out = 20)
#define prior
prior<-rep(1,20)
#compute likelihood at each value in grid
likelihood<-dbinom(6,size = 9,prob = p_grid)
#compute product of likelihood and prior
unstd.posterior<-likelihood*prior
#standarize the posterior, so... |
f6fa1406d1e60c2a4415257856c149a82776ea69 | 4b290a0098c237b5c8f2737f70a406eaf78c6b2b | /Problems/control_Structures-1.R | 287670eb7e767f6c8b191f289bd06adda22affbc | [] | no_license | Philip-Abraham/JohnsHopkins_R_Programming | 71849251f51a7f9736f8abd86438c988aa98d1ae | 1c1278890530beb378fd0707ef4c4c3c7ba8689d | refs/heads/master | 2021-07-04T15:51:44.200953 | 2017-09-28T02:30:07 | 2017-09-28T02:30:07 | 105,092,754 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,122 | r | control_Structures-1.R | #This is a valid if/else structure.
x<-100
if(x > 3) {
y <- 10
} else {
y <- 0
}
#So is this one.
x<-100
y <- if(x > 3) {
10
} else {
0
}
# for loops take an interator variable and assign it successive values from a sequence or vector. For
# loops are most commonly used for iterating over the e... |
23fcdaa0dbc2b75bcf107ee0069118a5cd0d2743 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/gRain/R/loadSaveHuginNet.R | 2823d9f3d0df51f6c62f887c0124a01d8619372e | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | false | 12,680 | r | loadSaveHuginNet.R | ##
## Reading / writing Bayesian networks from / to HUGIN net files
##
#' @title Load and save Hugin net files
#'
#' @description These functions can load a net file saved in the
#' 'Hugin format' into R and save a network in R as a file in the
#' 'Hugin format'.
#'
#' @name load-save-hugin
#'
#' @aliases lo... |
a76c4dc435b4ea57b70703f854d6b212a6260494 | 72d9009d19e92b721d5cc0e8f8045e1145921130 | /GGMncv/R/predict.R | 9aa5ace38a5b984503eb102a57c1e2cfa618b643 | [] | no_license | akhikolla/TestedPackages-NoIssues | be46c49c0836b3f0cf60e247087089868adf7a62 | eb8d498cc132def615c090941bc172e17fdce267 | refs/heads/master | 2023-03-01T09:10:17.227119 | 2021-01-25T19:44:44 | 2021-01-25T19:44:44 | 332,027,727 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,219 | r | predict.R | #' Predict method for \code{ggmncv} Objects
#'
#' @description Predicted values based on a \code{ggmncv} object
#'
#' @param object An object of class \code{ggmncv}
#'
#' @param train_data Data used for model fitting.
#'
#' @param newdata An optional data frame in which to look for variables with which to predict.
#' ... |
2a0a185e33779f7c2ec2d521bbcf77df79d1e60a | 51e54e1ce824a1953d69650b56dfb31ba4b1aa69 | /ggplot_demo.R | 6aec16ecba2f27ddfd1a2a6a2368b583a6c4c9b3 | [] | no_license | DHS-OEDA/spatial_workshop | 4ba3a2aeae4da782ba61688f42f90fed029e1e41 | 7b0e686dde13c12df5f3c429d1c2fa9ff9759c3e | refs/heads/master | 2020-03-12T11:14:44.700781 | 2018-04-24T20:25:19 | 2018-04-24T20:25:19 | 130,591,810 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,275 | r | ggplot_demo.R | # static map demo in R
# this is just a quick demo of the ggplot2 development version's simple features compatibility
# To run this script you will need a US Census API key available here:
# https://api.census.gov/data/key_signup.html
# Then call this function to store your key.
# tidycensus::census_api_key("MY_KEY_... |
960fff18b6ca1625802ca989387f1313321b7984 | 6490ecf3d1374ac7f4fc146cc4d467307e3870ed | /src/ndvi_over_time.R | 718370632a444836dfcd5cf1df2dda75e5408620 | [] | no_license | danyellshub/Hayman_Fire_NDVI_Trace | 1a0ca73962f09c93758efe583fef3c32ed141d71 | 5373ffc47cc09a7db74ba57e0469b63d8c05099d | refs/heads/master | 2020-07-18T00:07:13.759696 | 2019-09-13T20:47:13 | 2019-09-13T20:47:13 | 206,130,645 | 0 | 0 | null | 2019-09-03T17:10:15 | 2019-09-03T17:10:14 | null | UTF-8 | R | false | false | 1,962 | r | ndvi_over_time.R | library(tidyverse)
library(tidyr)
library(ggthemes)
library(lubridate)
#Reading in the data and removing na
ndvi <- read_csv('data/hayman_ndvi.csv') %>%
rename(burned=2,unburned=3) %>%
filter(!is.na(burned),
!is.na(unburned))
# Converting from wide to long data
ndvi_long <- gather(ndvi,
... |
1671e1af79fee58f725069915a39ff4c37b0f64b | bc90e649b58c73662bc993b49daebf780ad68f7f | /beer_pca.r | c753835e06f82c267a5bea1a4dd9863b4528a760 | [] | no_license | YangJongWon/study | cd71d5423ce97ca49206f0b9573d5de57059d2b4 | 35170f8ffa3c95d765cffa35595ba53b543ba28b | refs/heads/master | 2020-03-31T15:49:38.947966 | 2018-12-14T00:41:34 | 2018-12-14T00:41:34 | 152,352,994 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 507 | r | beer_pca.r | install.packages("readxl")
install.packages("HSAUR")
install.packages("corrplot")
library(readxl)
library(HSAUR)
library(corrplot)
setwd("F:/BigData3/R/beer")
beer<-read_xls("beer_pca.xls")
beer_cost<-beer
beer_cost$cost<-max(beer_cost$cost)-beer_cost$cost
beer_cost.pca<-princomp(beer_cost,scale=T)
beer_cost.pca
summar... |
75b925769b933596e5267516ce2cfce880ae3671 | 5c5915807ea728324875a615a1b9c5b919f2962f | /modules/amAnalysisMergeLandCover/amServer.R | 7cfd944d3c62d61edff8803bc39b5b21f256e8fa | [] | no_license | demel/AccessMod_shiny | 3d969228ff6ca8a9076a30a75fbf94ed60a87d55 | 70ffe0ba8ea6c558466689fdb419e3061afb971e | refs/heads/master | 2021-01-17T06:44:53.433833 | 2015-11-02T18:27:09 | 2015-11-02T18:27:09 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 29,059 | r | amServer.R | # ___ __ ___ __ ______
# / | _____ _____ ___ _____ _____ / |/ /____ ____/ / / ____/
# / /| | / ___// ___// _ \ / ___// ___// /|_/ // __ \ / __ / /___ \
# / ___ |/ /__ / /__ / __/(__ )(__ )/ / / // /_/ // /_/ / ____/ /
# /_/ |_|\___/ \___/ \... |
44edb52e9d52b2194a3f4701de6998e5e382f3b9 | 4459eb5432916b4ad6c5c5d911b50c9d2fec1ad5 | /man/Selectivity.Rd | 27683b995b099c779ce26b042895265c3ad6f94f | [] | no_license | braverock/PerformanceAnalytics | 057af55b0a4ddeb4befcc02e36a85f582406b95c | 49a93f1ed6e2e159b63bf346672575f3634ed370 | refs/heads/master | 2023-08-03T10:18:27.115592 | 2023-03-29T09:23:17 | 2023-03-29T09:23:17 | 58,736,268 | 209 | 113 | null | 2023-05-23T17:46:08 | 2016-05-13T12:02:42 | R | UTF-8 | R | false | true | 1,188 | rd | Selectivity.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Selectivity.R
\name{Selectivity}
\alias{Selectivity}
\title{Selectivity of the return distribution}
\usage{
Selectivity(Ra, Rb, Rf = 0, ...)
}
\arguments{
\item{Ra}{an xts, vector, matrix, data frame, timeSeries or zoo object of
asset returns... |
e52e4adc3b7f7306ce151d45b78e1de256b266a9 | 866de7bdc48ab2f44126a44b7790b41d6b11951b | /tests/testthat/test-superdiv.R | ddd767b4b6594d1c202af0fe01e8e9258874ff88 | [
"BSD-2-Clause"
] | permissive | claireh93/rdiversity | 1ccc589b1b82125309fcfef776d9dff097c58c30 | 2826e891704b305ded35b1865d8dfd0f60a9ff76 | refs/heads/master | 2020-12-11T07:41:58.693995 | 2016-05-25T09:09:48 | 2016-05-25T09:09:48 | 59,580,987 | 0 | 0 | null | 2016-05-24T14:35:59 | 2016-05-24T14:35:58 | null | UTF-8 | R | false | false | 827 | r | test-superdiv.R | context('Testing the superdiv() function')
pop <- data.frame(a=c(1,1,0),b=c(2,0,0),c=c(3,1,0))
pop <- pop / sum(pop)
test_that("Supercommunity diversity across multiple populations", {
expect_equivalent(as.matrix(superdiv(alpha(supercommunity(pop)), 0)$diversity), t(5))
expect_equivalent(as.matrix(superdiv(alphab... |
bb2947642a6885294b004b27019dc595fe1a718b | a18c2a7cf79b96fd50d45dab7493a482d37eddb0 | /data/cellrangerRkit/man/write_cluster_specific_genes.Rd | c3962a83e4fc4c664c180d572889c06d087b2f06 | [
"MIT"
] | permissive | buenrostrolab/10x_scRNAseq | b6514c07873ae2a9c8959498234958fb833db568 | 8e65ceffd8a7186d0c81b159e6b316bc2bfdc6bf | refs/heads/master | 2021-01-11T01:53:54.856901 | 2016-11-21T03:41:37 | 2016-11-21T03:41:37 | 70,646,869 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 884 | rd | write_cluster_specific_genes.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/util.r
\name{write_cluster_specific_genes}
\alias{write_cluster_specific_genes}
\title{Write cluster-specific genes to file}
\usage{
write_cluster_specific_genes(gene_clusters, gene_folder_path, n_genes = 10,
output_type = "symbol")
}
\argu... |
dad6c5cad2cda560e02cd7c253cc02ea8c2f84fc | 12acaeb0d68e55bb2eab8c508fdd637b461f2717 | /cachematrix.R | e004e13dbc59ec529009505d9f135fd87003e82c | [] | no_license | Martin77PP/ProgrammingAssignment2 | a0a838c1fc991e74b98cce6eaecf978a27b1398f | 997969bbdccf815f49c81a68489dedb8ee8318b7 | refs/heads/master | 2021-01-17T20:20:06.451022 | 2014-08-24T12:44:57 | 2014-08-24T12:44:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,089 | r | cachematrix.R | # makeCacheMatrix is a function that take as argument a square matrix, in this
# function:
# set is a function that stores in the cache the matrix (argument of makeCacheMatrix)
# and initialize in the cache the value s of solve(matrix);
# get get the matrix;
# setSolve apply the function solve (inverse of the square... |
04658da1242caa089cef450c46a7d1e38462a639 | 6d340495ef5b1858b957b1e34ee7f53eb1b12bc7 | /kpca-sim.R | 6b5816f5cf0e0ed3e62b1dbf4cbf001e8c5fb867 | [] | no_license | chblw/stt7330-projet1 | ba52ffa7c13be1c5b271cdb00140176b59991223 | 387dea97f8784b273cb56472e94ddff239df0815 | refs/heads/master | 2021-09-11T09:54:52.770364 | 2018-04-06T15:47:40 | 2018-04-06T15:47:40 | 125,749,392 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,608 | r | kpca-sim.R | xlibrary(kernlab)
library(readr)
library(dplyr)
library(plotly)
angles <- runif(200, 0, 2 * pi)
radius <- runif(200, c(0, 7), c(2, 9))
circle_class <- rep(c(2,4), 100)
x <- radius * cos(angles)
y <- radius * sin(angles)
circle_data <- cbind(x, y)
plot(circle_data, col = circle_class, asp = 1)
phi_data = function(x,... |
fbb1a460bc6e111f8cde546ddf4d540afa392234 | 6796f2593432f8ab8bc3f3db317f22e2022184ce | /Coronavirus.R | 04d7ddb46d4f4413862328d4c843a25cf57d4fb9 | [] | no_license | aj-vy/coronavirus | bdd18e81c1938653d75286a83f22e9af63c4b27a | 447165e60c6bf475a20854228a6a6dab3e195ecb | refs/heads/master | 2022-04-11T06:31:40.340308 | 2020-03-25T14:13:18 | 2020-03-25T14:13:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,725 | r | Coronavirus.R | library(tidyverse)
library(rvest)
rm(list=ls())
# Page: https://www.worldometers.info/coronavirus/
url=read_html('https://www.worldometers.info/coronavirus/')
df=url%>%html_nodes('.main_table_countries_div')
df=url%>%html_nodes('.main_table_countries_div tbody')
df_t=df[[1]]
df_t_c=df[[1]] %>% html_nodes('tr td')%>%... |
26e60a1b1564808f4f9a63ae6a617b4e6ad9e7e4 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/ArDec/examples/ardec.lm.Rd.R | f2f0755dbb152158fc6ff37823032fb0ad17b188 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 196 | r | ardec.lm.Rd.R | library(ArDec)
### Name: ardec.lm
### Title: Fit an autoregressive model as a linear regression
### Aliases: ardec.lm
### Keywords: ts
### ** Examples
data(tempEng)
model=ardec.lm(tempEng)
|
9d1b0a9496b191bc785c21a74e8888f0e48d2312 | bdef750a2d626c9d70ddcad057dfbd83dda66245 | /tests/testthat/tests_calc_summaryStats.R | 09a55695aaf9f80e65af74e8b5120b71c3b8c6c9 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | cpenn-usgs/sedReview | 4f6cabd39f7d73f86efb0fb1c097c6f728c08526 | 505906643f56f4aec2e244e64900dba0a0729c7e | refs/heads/master | 2021-01-11T04:33:16.981342 | 2020-08-24T19:09:50 | 2020-08-24T19:09:50 | 71,158,151 | 0 | 0 | null | 2016-10-17T16:22:56 | 2016-10-17T16:22:56 | null | UTF-8 | R | false | false | 450 | r | tests_calc_summaryStats.R | context("calc_summaryStats")
test_that("Return values check", {
data("exampleData", package = "sedReview")
# calc_summaryStatsOut <- calc_summaryStats(exampleData)
# saveRDS(calc_summaryStatsOut,"tests/testthat/data/calc_summaryStatsOut.rds")
calc_summaryStatsOut <- readRDS("data/calc_summaryStatsOut.rds... |
f049ae3b0657ecdce048877661d8686f7512e40a | 51fdd67d355df9ed4378bc86e432386edd31d4ca | /man/tremmel_shape_pal.Rd | 1f6d389f67f6be99f9dac500188c88dd901bf8e3 | [] | no_license | bobbbbbi/Data-Visualisation-with-ggplot2-ggthemes | f434c6dede486849236ddc26d6a31a3ee093ffe9 | 6ff7f1589b6199bf4c11ffde12b5fed9ceee4fce | refs/heads/master | 2020-06-19T08:08:40.380067 | 2017-05-01T00:02:28 | 2017-05-01T00:02:28 | 94,182,518 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,499 | rd | tremmel_shape_pal.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/shapes.R
\name{tremmel_shape_pal}
\alias{tremmel_shape_pal}
\title{Shape palette from Tremmel (1995) (discrete)}
\usage{
tremmel_shape_pal(overlap = FALSE, n3alt = TRUE)
}
\arguments{
\item{overlap}{use an empty circle instead of a solid circ... |
df935f73d3c3301ca8086ac740067180a8135a0d | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/minimaxdesign/examples/CtoB.Rd.R | 8d389e88a9cae832d170c6a62d2bde72f3c90996 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 465 | r | CtoB.Rd.R | library(minimaxdesign)
### Name: CtoB
### Title: Inverse Rosenblatt transformation from the unit hypercube to the
### unit ball.
### Aliases: CtoB
### ** Examples
## Not run:
##D # Map the first 100 points of the Sobol' sequence in 3D
##D # onto the unit ball in 3D
##D library(randtoolbox)
##D ... |
3dce69cd7ee476ec0b459e1679a2268d9d30fe24 | 767ef79477c8c9cd67906280ff11553e84386cfc | /server.r | df5e76942b26790dabf8efc06892770f861be0c2 | [] | no_license | RichardKen1/Health-insurance-comparer | 6d8c6afa05db9bcfd54b4e1d6e69f8c0e34234d0 | b454debb684e0b1787987a20994f90476bd1de95 | refs/heads/master | 2016-09-13T03:08:13.316164 | 2016-04-22T19:23:24 | 2016-04-22T19:23:24 | 56,879,789 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,478 | r | server.r |
library(shiny)
library(Rcpp)
library(ggplot2)
cost<-read.csv("age.and.gender/age and gender.csv", header=FALSE)
fillout<- read.csv("fillout.data/Copy of fillout dataset.csv", header=TRUE)
pop<-read.csv("Polished.population/Polished Population Data.csv")
percentile<- read.csv("Polished.percentile/Polished Pe... |
38d03891985c79c2bd10edae22543c3118ca3064 | 903da089f3ac659f7295a2b1d351981394e8bcdc | /man/mc.bootstrap.Rd | 08887bbe3a68986c1c7d177bfa7cd6446e25503d | [] | no_license | cran/mcr | 1f27b59cda2a87be199a8f6534bec6882154b042 | 069b879be631491ed07a54a0f348b1adbebf7867 | refs/heads/master | 2023-02-06T22:38:44.942104 | 2023-01-26T21:00:19 | 2023-01-26T21:00:19 | 17,697,375 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 4,856 | rd | mc.bootstrap.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mcBootstrap.r
\name{mc.bootstrap}
\alias{mc.bootstrap}
\title{Resampling estimation of regression parameters and standard errors.}
\usage{
mc.bootstrap(
method.reg = c("LinReg", "WLinReg", "Deming", "WDeming", "PaBa", "PaBaLarge", "... |
81c2f92d7dbee97d2f4be12a03c0e47b80fff821 | ff7141cb3fe8fe044dc3381a5672726d3733496b | /Chunk.R | 12007162e01fe6184e518f61ff31aab88036e783 | [] | no_license | kenjimyzk/knitr-template | f5cfd87f69d891cd96151bb989ab021d7f373e92 | 184e75e43d812f44467638e2d189447abbe2ec58 | refs/heads/master | 2021-01-16T18:43:21.655575 | 2014-01-19T08:24:37 | 2014-01-19T08:24:37 | 15,764,462 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 244 | r | Chunk.R | ## ---- Chunk01 ----
x <- runif(100)
y <- 10 + 2 * x + rnorm(100)
## ---- Chunk02 ----
result <- lm(y~x)
## ---- Chunk03 ----
library(xtable)
print(xtable(result, digits=3), floating=FALSE)
## ---- Chunk04 ----
plot(x,y)
abline(result)
|
6d3f9e7daeb2dd19566147de6da047fa26601ffd | 3d084d7aba8db3cbcd9acbbcb9d7684d56645ed1 | /Tournament.R | f4925c2f546729511b9229fba330a42183916613 | [] | no_license | profnote/MLB_Playoffs_Prediction | 3d46b32e9be580978fc27727475cd15447bdc587 | 8dfe769e0d2f650dddd3f53b9974d8b4354616f4 | refs/heads/master | 2022-12-03T23:24:06.784802 | 2020-08-21T15:25:13 | 2020-08-21T15:25:13 | 226,808,965 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,376 | r | Tournament.R | # Tournament.R
#
# Predicts the outcome of the entire tounament of 8 MLB teams
# The logistic regression model predictors selected by lasso: A.b.K and B.b.K (strikeouts per plate)
library(caret)
# import and filter data
team_stats <- read.csv("dataPPS.csv")
teams <- team_stats[team_stats$Season==2019,-c(1,21:27)]
col... |
769e48edc76c9954fccd90f7bcf1cf344d8a62ff | 06f0689d9b960bf8a86e96cea4a0308e24e1413b | /man/PERFect_sim.Rd | 6958791c436ec51c49930e7038f2694c86ed568a | [] | no_license | cxquy91/PERFect | 4746fc51dcf45dd86b4765759ea08601b65b79b6 | 199ad444e10c81c472deefe5dff5e32dff977b41 | refs/heads/master | 2020-07-24T08:07:50.134566 | 2020-04-26T03:33:03 | 2020-04-26T03:33:03 | 207,858,306 | 3 | 0 | null | 2019-09-16T22:58:11 | 2019-09-11T16:31:48 | R | UTF-8 | R | false | true | 5,881 | rd | PERFect_sim.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/PERFect_sim.R
\name{PERFect_sim}
\alias{PERFect_sim}
\title{Simulation PERFect filtering for microbiome data}
\usage{
PERFect_sim(X,infocol = NULL, Order = "NP", Order.user = NULL, normalize = "counts",
center = FALSE, quant = c(0.1,... |
3ea434768bf909fb4c83f156c9f5433c376652d4 | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/9491_0/rinput.R | 7c6cc7bf3a9ab123fa17672882185e3c04c776a4 | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 135 | r | rinput.R | library(ape)
testtree <- read.tree("9491_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="9491_0_unrooted.txt") |
5596ecff3b491ec02fd217f92e00ddef0ed8f09a | f5ecf7e7692092ddb3d77242a239d43f49d446f2 | /man/FlowLiteral-class.Rd | 4502b074515927ac0c32906e165daaa88ce677d8 | [] | no_license | andref1989/Flow | 5c3aee2f206f2918d47d535b65132325f2047bd9 | 7526166ff94d6ae3fa9ee9627f830c4e0a25a0a7 | refs/heads/new_master | 2020-06-06T15:31:39.702865 | 2019-07-15T20:17:04 | 2019-07-15T20:17:04 | 192,778,870 | 0 | 0 | null | 2019-07-11T20:15:40 | 2019-06-19T17:45:07 | R | UTF-8 | R | false | true | 633 | rd | FlowLiteral-class.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Flow.R
\docType{class}
\name{FlowLiteral-class}
\alias{FlowLiteral-class}
\title{Class to represent a literal argument to a task (ie a static path or value), used for wiring modules into tasks}
\description{
S4 class for \code{FlowLite... |
d0a6a43778c9f4b70fc24a3208e58ef12007ffcc | cebf0d6fbb54696c4a9209734cdc466bb623b46f | /Exercise_7.R | f647c550deb19ae6f76e2d9aa93558d711dc09c9 | [] | no_license | slynch5/ICB2019_Exercise07 | d0649fbd13dee6954e51c16c6b3fd364099c6a66 | 6fed1d2992ecd3e30d12651f25a403cae910c513 | refs/heads/master | 2020-09-06T17:32:37.838291 | 2019-11-12T01:38:17 | 2019-11-12T01:38:17 | 220,495,645 | 0 | 0 | null | 2019-11-08T15:32:12 | 2019-11-08T15:32:11 | null | UTF-8 | R | false | false | 1,824 | r | Exercise_7.R | ## Exercise_7: Custom Functions in R
## Write a function that returns the odd (1,3,5,etc.) rows of any
## dataframe passed as an argument
iris = read.csv("iris.csv", header = TRUE, sep = ",", quote = "") # Read in .csv file (Test file)
oddFunc <- function(dataFrame){
oddOut <- dataFrame[(seq(from=1,to=nrow(iris),... |
90fe2ebb511cd385cc6f4a3d76e0dea91f49bc13 | 50959bf31e007657fe5f5dcf65f86b276e6fb4c1 | /man/strr_process_property.Rd | da0454f5ef74ddb9e3ac8e94621e06e4caf77a02 | [] | no_license | UPGo-McGill/strr | dc1aebc2f1d9eed9733058215b4cc75975ce8491 | d960ca300d6efc8b865beeaa267819bf3f0d9717 | refs/heads/master | 2023-07-26T14:01:09.518232 | 2023-07-06T19:07:38 | 2023-07-06T19:07:38 | 183,255,784 | 1 | 0 | null | 2020-07-29T02:30:48 | 2019-04-24T15:22:28 | R | UTF-8 | R | false | true | 2,666 | rd | strr_process_property.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/strr_process_property.R
\name{strr_process_property}
\alias{strr_process_property}
\title{Function to process raw property STR tables into UPGo format}
\usage{
strr_process_property(property, keep_cols = FALSE, quiet = FALSE)
}
\arguments{
\i... |
09922be36faef4ff2b3282c081af17bf12c9b308 | 771bcf8c606a6b9313b1583e4dceaa15d0d44ad4 | /inst/examples/sales/man/print-methods.Rd | a7ead2d559e8a4120801e401010a6b0b6cf27c43 | [] | no_license | MangoTheCat/testCoverage | 5aa438f202636f9b464817a367f7d6d55911ddfa | 339ffef39d851c79a0011fc3444e1128b687308c | refs/heads/master | 2020-12-24T05:17:25.157657 | 2018-11-19T10:01:29 | 2018-11-19T10:01:29 | 23,995,468 | 18 | 4 | null | 2014-10-02T09:49:37 | 2014-09-13T13:53:25 | R | UTF-8 | R | false | true | 570 | rd | print-methods.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/unique.R
\docType{methods}
\name{print,SalesData-method}
\alias{print,SalesData}
\alias{print,SalesData-method}
\title{Print Sales Data}
\usage{
\S4method{print}{SalesData}(x, ...)
}
\arguments{
\item{x}{SalesData object.}
\item{\dots}{furth... |
957752c8fd4e1074f86036422b81c9d0056227f8 | a8751ed8f4113510037204fb0f03964235fa2250 | /man/plot.MSLT.S.Rd | ce62943f074ee5790031bd8b3eafc869bcbc7e08 | [] | no_license | al00014/Biograph | 83ed141195adfec30634576e6a99c4ed54cbf0a3 | 15b46e3416f83964aab1baeaa58d1d92fa4e7e2b | refs/heads/master | 2023-04-23T19:58:23.499789 | 2016-03-31T17:50:43 | 2016-03-31T17:50:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,647 | rd | plot.MSLT.S.Rd | \name{plot.MSLT.S}
\alias{plot.MSLT.S}
\title{Plots survival function. }
\description{Plot method for object of class 'MSLT.S' using the ggplot2 package. It plots the multistate survival function by as estimated by \code{\link{MSLT.S}}
}
\usage{
\method{plot}{MSLT.S}(x, e0, order,colours,title,area,xmin,xmax,...)
}
\ar... |
17383a1bc7f7d4925c65ee0958224584675f7f29 | 030d72630276cb91cc7be3647c25dda7942d8842 | /6_3_Mtry_OOBerror_RF(spam)/code/Question_6_3.R | 6602ee0fe7d6bf242a98ab0027b7158f56bf6d1d | [] | no_license | WL0118/Supervised_Learning | a2ba36c84ad5aa41a2bb5a8264173c6e5c51fb54 | 9b0d3aefb2baf3fb8b257c2b9549048969fd89b0 | refs/heads/master | 2023-03-18T09:18:30.842612 | 2021-03-12T16:46:25 | 2021-03-12T16:46:25 | 327,725,976 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,966 | r | Question_6_3.R | rm(list = ls())
set.seed(777)
library(randomForest)
library(trainControl)
library(caret)
SPAM = read.csv("Data/SPAM.csv",header = FALSE,sep=' ')
train_ind = sample(1:nrow(SPAM), nrow(SPAM)*0.60)
train = SPAM[train_ind,]
test = SPAM[-train_ind,]
error_store_test <- c()
error_store <- c()
for(i in 4:8){
... |
cefbdbf7b2cf2006cf4b1df8da181e0b53ab4da6 | 144b6d59fc15074f37713eff96eb0aefab6537a6 | /client2UseCaseTest.R | 05ad41701b7377d7337275218bca30d46d56e99b | [] | no_license | dkdupuis/R | 0aaab4d0183ebc7ff96f3261e326268c4cc8445a | 95cf3dc4efd7048de7a33d1df19d2411066db89d | refs/heads/master | 2021-01-20T18:20:13.436051 | 2020-02-04T15:09:34 | 2020-02-04T15:09:34 | 60,870,121 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,500 | r | client2UseCaseTest.R | parDirLoc <- paste(getwd(),"/c1/", sep = "")
parDir <- dir(parDirLoc)
for(i in 1:length(parDir))
{
subDirLoc <- paste(parDirLoc, parDir[i], "/", sep = "")
subDir <- dir(subDirLoc)
for(r in 1:length(subDir))
{
file <- paste(subDirLoc, subDir[r], sep = "")
watchData <- ... |
ecf5f89701ad2bab29c14bd5eac971bb7db19842 | 845a71cc97ffeef053d0ca142649d4f231126e5d | /R/shiny_2/server.R | d7b4407586ee6572dc0d3a687997004228633556 | [] | no_license | ewkerez/data_science | 94b086c20c0ea30f89f0a6c33537c904a0e488ae | 6095188091af2dc6e90983c7f28101b13fe40878 | refs/heads/master | 2021-04-27T03:41:24.735415 | 2018-06-13T15:06:56 | 2018-06-13T15:06:56 | 122,718,381 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,583 | r | server.R | ################################################################################
# A file including backend code (server)
################################################################################
# global r otwiera się tylko raz i dopeiro potem patrzymy na ui i server
# dobre to wciagania paczek, możemy trzyma... |
c150b6470c04d58be091343b3c6ab5a7c724fe82 | e205d4542b2f7d13bc3c1a3bba2eae4c16cfc743 | /man/Qconduction_substrate.Rd | 372c4ddb61319398766763c18b231ddd6ffb6142 | [
"MIT"
] | permissive | trenchproject/TrenchR | 03afe917e19b5149eae8a76d4a8e12979c2b752f | 7164ca324b67949044827b743c58196483e90360 | refs/heads/main | 2023-08-20T11:54:26.054952 | 2023-08-04T03:52:42 | 2023-08-04T03:52:42 | 78,060,371 | 8 | 8 | NOASSERTION | 2022-09-15T21:36:08 | 2017-01-04T23:09:28 | R | UTF-8 | R | false | true | 2,934 | rd | Qconduction_substrate.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/energybalance_functions.R
\name{Qconduction_substrate}
\alias{Qconduction_substrate}
\title{Conductance Assuming Substrate Thermal Conductivity is Rate Limiting}
\usage{
Qconduction_substrate(T_g, T_b, D, K_g = 0.5, A, proportion)
}
\argument... |
d2d1050e1ac734deacdcbfd214df6d838f1caa90 | c8fd30b59b962df19adff091bfa28fb766520d13 | /R/archived_20181010/gp_archive_20180504/gp_univariate/stan_gp_test.R | 0b40af4bc3cfec293e3ecd290233c7a6c9c1af61 | [] | no_license | tkmckenzie/Iterative_ML | bdde722ce8ffb90561e155339105ade24ee2f9b8 | ee274ef242d4e73b0138cb39fdb323382654b2bf | refs/heads/master | 2021-06-20T10:55:42.637141 | 2019-06-18T22:12:59 | 2019-06-18T22:12:59 | 136,051,159 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 614 | r | stan_gp_test.R | library(rstan)
setwd("~/docs/Iterative_ML_paper/R/gp_univariate")
rm(list = ls())
load("data.RData")
N = length(x)
N.pred = 100
x.pred = seq(min(x), max(x), length.out = N.pred)
alpha = 1
length.scale = 0.15
sigma = 0.32
stan.data = list(N = N, N_pred = N.pred,
x_pred = x.pred, y = y, x = x,
... |
f936824bf619ca4d8a617ad6bf457b800a0ab67b | 785085d938a1178aac085aa1bc220c355c82692b | /plot4.R | 867d5ca062c897c25734ddd97715ffbecade1d70 | [] | no_license | mandeldm/ExData_Plotting1 | ee2a9af830d361c63f12713000fb33a8c63fdb26 | 4b9507c64063bf40409b3a7b332fc477baf87f9b | refs/heads/master | 2020-12-25T10:14:01.102344 | 2015-04-12T22:45:31 | 2015-04-12T22:45:31 | 31,859,562 | 0 | 0 | null | 2015-03-08T18:02:42 | 2015-03-08T18:02:42 | null | UTF-8 | R | false | false | 1,835 | r | plot4.R | powdata2 <- read.table("household_power_consumption.txt",
sep=";",
dec=".",
header=TRUE,
stringsAsFactors=FALSE,
na.strings="?",
... |
7490c661b57932e70ca98056a8bb13d43199c21c | 20bb25b978b163ac11161d7c455d4ef42233d520 | /basicR.R | 7c6687a642e392a18eb97a798cc0774d463e0a4e | [] | no_license | monicamurugesan/DS-Basics | 4fecbcda0e811b240f6d6ae9ab31b7a1caf98ebe | 50308cde07b08bdc58924af3b17c76be5a4377af | refs/heads/master | 2022-12-03T12:24:25.051826 | 2020-08-27T15:17:23 | 2020-08-27T15:17:23 | 290,532,225 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 488 | r | basicR.R | 1+1
x<- 1+1
x
a <-50
b <-20
a*b+x
a+b*x
(6*3)+5/2
exp(1)
db <-c(1,2,4.5)
db
d <-(1,2,4)
rep(1,10)
rep(2,3)
vect_x <-c(2,0,0,4)
vect <-c(1,2,3,4)
vec1 <-vect_x+vect
vec1
vec1*4
vec1[1:4]
vec1[2]=3
vect_char <- c('R','python','java',10,100.5)
vect2<-c('R','python','java',1)
c <-c("a","b","c")
c
d... |
ab4af11f38dd5251af26ebb3229c1bc5e9b320aa | 78132aee39db22e146b6fd42c525cc74d2004e26 | /01GenerateData.R | 96de13920bcfae74160d822df28d8692167b9ad1 | [
"MIT"
] | permissive | jamespaul007/GeospatialLineGraphs | fa2878cfc63738beae2e63926b82061debd6eda8 | 717569c9e70cf90e503242f6dc4f269b66655a4d | refs/heads/master | 2021-01-18T06:14:09.689996 | 2014-08-04T15:16:48 | 2014-08-04T15:16:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,567 | r | 01GenerateData.R | library(foreach)
library(doParallel)
all.data <- read.csv("./DataSets/WorldPopulation.csv", header=TRUE, stringsAsFactors=FALSE)
# The following are used to manipulate various data sets
# colnames(all.data) <- c("Name", "Mass", "Latitude", "Longitude") # Meteorites
# all.data$X <- as.numeric(all.data$X)
# all.data$Y ... |
561223d8f72b369a61264c3d9aa72d889ca7de9e | da725622bc962b639e1eb6df535b433e4366bcc5 | /skillPathways/skillsData.R | 96d387f0fa1b59fff3019ea5cf5dbd2a61f24f31 | [] | no_license | bekahdevore/rKW | 5649a24e803b88aa51a3e64020b232a23bd459fa | 970dcf8dc93d4ec0e5e6a79552e27ddc0f850b91 | refs/heads/master | 2020-04-15T12:41:49.567456 | 2017-07-25T16:29:31 | 2017-07-25T16:29:31 | 63,880,311 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 363 | r | skillsData.R | library(dplyr)
library(stringr)
skills <- read.csv("skills.csv")
wagesEducation <- read.csv("skillsOccupationsWagesAndEducation.csv")
#Remove - from SOC in EMSI data
wagesEducation$SOC <- str_replace_all(wagesEducation$SOC, '-','')
skillsData <- merge(wagesEducation, skills, by="SOC")
write... |
361d95eaefb124b1940917e68e0ce577e758a982 | 55f449a5496f173f62fc037574c4d7fc5a1c72b3 | /man/mbes.Rd | da337cd727cbcbe8e66df1d6762d14d2d1862bd9 | [] | no_license | davan690/samplingbook | 3db105da3416cd48f824c9df37127c5d0d0683af | 62cf8cc97d27be5bb9ef02bdedd82f21a1e69e4c | refs/heads/master | 2023-04-06T16:24:40.942282 | 2021-04-02T21:13:07 | 2021-04-02T21:13:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,937 | rd | mbes.Rd | \name{mbes}
\alias{mbes}
\title{Model Based Estimation}
\description{
mbes is used for model based estimation of population means using auxiliary variables. Difference, ratio and regression estimates are available.
}
\usage{
mbes(formula, data, aux, N = Inf, method = 'all', level = 0.95, ...)
}
\arguments{
... |
d7d49e705160cfcca4dbd9e282dd93c4c8c0079c | 95e509eb99116d4311c0b71c39a0863e15c2da86 | /plot4.R | cc5356f6b22632cf99c03021eb35864e5d46477b | [] | no_license | weiweigithub/ExData_Plotting1 | 8f5edb839f67131865e7a5ea4feaa53afa8ce554 | 764c72852a61fe9a201437ac84adeaa988661452 | refs/heads/master | 2021-01-17T16:22:18.121627 | 2015-03-08T22:40:47 | 2015-03-08T22:40:47 | 31,867,993 | 0 | 0 | null | 2015-03-08T22:18:25 | 2015-03-08T22:18:25 | null | UTF-8 | R | false | false | 1,516 | r | plot4.R | ## Reading the downloaded data file from local folder
rawdata<-read.table("household_power_consumption.txt", header = TRUE, colClasses = "character", sep = ";")
## Extract the portion of the data within the specified time period
data<-filter(rawdata, Date=="1/2/2007" | Date=='2/2/2007')
## Extract the data for plotti... |
f75729e56d623ea273cf1329d87623f72edcbbf2 | 42f4fea527642694954067192d4c881f387f1264 | /R/RcppExports.R | 3a739d2838f62d4b6b0b37abb57b649123fd68f9 | [] | no_license | jonbramble/RScattnlay | 34e520c75e58e1562d56655d846bde8e3ef2294b | f0e2e2e8d74f37084249aaa41c4e26cf98f300a9 | refs/heads/master | 2022-11-22T15:23:15.009484 | 2018-04-28T16:57:01 | 2018-04-28T16:57:01 | 30,366,821 | 1 | 1 | null | 2020-01-29T20:25:49 | 2015-02-05T16:54:04 | C | UTF-8 | R | false | false | 345 | r | RcppExports.R | # Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
S4_AMPL <- function(fullstack) {
.Call('_Rscattnlay_S4_AMPL', PACKAGE = 'Rscattnlay', fullstack)
}
S4_SCATTNLAY <- function(fullstack) {
.Call('_Rscattnlay_S4_SCATTNLAY', PACKAGE = 'Rs... |
c1774094b8aadb4e398687da45f40fd07ab5b17d | bb226480c35979bb7ec0ef70c53fa0a8c4fec5ed | /R/hello.R | 0533166e7e367f75bfc191652fd08f80c3a3bba5 | [] | no_license | hulinhui-code/hulinhui | 78b078bcb2eff2ab0622aa8dab3610cb01bb63ca | 50226bd2a2fa410628d5967ddaf5ccb38163ef3e | refs/heads/main | 2023-03-24T20:28:00.620345 | 2021-03-22T03:57:32 | 2021-03-22T03:57:32 | 332,137,455 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,210 | r | hello.R | # Hello, world!
#' @export
hello <- function() {
print('Good luck')
}
updateR <- function() {
lib <- (.packages()) # 已加载包列表
if ('mypkg' %in% lib) {detach(package:mypkg)} #如果mypkg已加载,则卸载
library(devtools)
install_github('hulinhui-code/hulinhui', lib = c('D:/R pkg lib', 'C:/Users/Jack/Documents/R/win-libr... |
e25c4c77acc0c58017a8c261bc750c837f05b6f4 | 6ee5627b7d048d87dd4527badf7ca0443358382a | /mammals_simulated_bootstrap/templates/plot_bk.R | 0295f36f3f55761035a8487ef22ca05de799b07a | [] | no_license | evolbioinfo/booster-workflows | 0bae01d5b9f41316c555cb985cfac8a1841a6499 | 341b012a99f706a5e363af83d6b85d8b7c3f089e | refs/heads/master | 2021-01-23T12:32:13.905501 | 2018-04-03T07:52:03 | 2018-04-03T07:52:03 | 93,164,761 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,341 | r | plot_bk.R | #!/bin/env Rscript
library(ggplot2)
library(plyr)
## FBP
fbp=read.table("!{fbp}",header=T,na.strings = "N/A")
colnames(fbp)=c("tree","brid","length","boot","depth","simu")
fbp=fbp[fbp$depth>1,]
svg("fbp_simu_vs_boot.svg")
ggplot(fbp,aes(x=simu,y=boot))+geom_point(size=2,alpha=0.2)+ggtitle("FBP")
dev.off()
## TBE
tbe... |
d75f0ac02cf216d3f4b98407c83b008c5f2090b5 | a02204c9d3c1c5fac13696196431d64baaf4f835 | /R/new_samples.R | 27aa61d311be1fc7abe7c8261bffc8039296d5d2 | [] | no_license | haihaba/gcms | 2e5de03ae8ca734bc972b79d116b6a36a6c77b17 | 8f9c7ec06f7ab27a3a51f7f4b4398d3cc9c02853 | refs/heads/master | 2020-04-15T06:04:38.335020 | 2018-05-26T14:31:01 | 2018-05-26T14:31:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 32,599 | r | new_samples.R | ##' Function new_samples
##'
##' Function new_samples
##' @export
##' @param projectpath
new_samples<-function(projectpath){
require(tcltk)
## Skapa prediktionskatalog
startup <- 1
while(startup){
cat("\n\n===============================\n")
cat("===== Process new samples =====\n")
cat("===============... |
504754e38750c4fb1d36d5134f3546a00a720a90 | a17795f03e21930af5dcbac26d8e19f7500585c4 | /lecture9/in_class_exercise.R | 70ff9f1476c2564cf3e27687b1a0447f5f0ec30f | [] | no_license | shrebirth1223/Seunghyun_park | 7c6764f36404b9a374ca90b4f626041f4099106f | 016776b2394f7dec12959a9c94b963e99926419e | refs/heads/master | 2020-07-21T20:01:37.639932 | 2015-07-15T12:31:54 | 2015-07-15T12:31:54 | 38,341,928 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,921 | r | in_class_exercise.R | #1. A store keeps track of purchase history. The manager wonders if there is an association between the amount of money a customer spends on their first visit to the store and their second visit. Below is data collected on 10 customers. Each column corresponds to one customer. For example, the first customer spend $20 ... |
2c46afbd9847c9d2f34d3c89e1017750b6f8821a | f508935a612e29d265e1501544f94fdaec9d4c47 | /plot4.R | 76a95b0ed20afc89ba8718284ce343a2952512c6 | [] | no_license | Folgs/ExData_Plotting1 | 54d31e638c9d1d1e4d4a14371fbcfdd0f01e239b | 52494f332fba06b6543764ad5754a528877451cc | refs/heads/master | 2020-12-28T21:06:42.344077 | 2016-07-08T10:22:46 | 2016-07-08T10:22:46 | 62,880,312 | 0 | 0 | null | 2016-07-08T10:19:03 | 2016-07-08T10:19:03 | null | UTF-8 | R | false | false | 1,189 | r | plot4.R | mydata<-read.table(file="household_power_consumption.txt",sep=";",header=TRUE,stringsAsFactors = FALSE,na.strings = "?")
##We pick the dates we want.
mydata<-mydata[(mydata$Date=="2/2/2007")|(mydata$Date=="1/2/2007"),]
##Then we convert the columns we will is into their units
mydata$Time<-paste(mydata$Date,mydata... |
457d901a108ca00a12f857e5aa6203301bf254d2 | 95799d6e1ddc4bbbbbbcfb3a8e61d90176fc01a4 | /Chapter III/chapter_3_3.R | fa2e236ac1696eb69ca086ae01d1b0ded90dcfa1 | [] | no_license | drnmy/mlf | e8e7846a763e5dd89cc965806296b1f9b80142ed | 092e3f8db633d4013c6f77022553b3246cb4f401 | refs/heads/master | 2022-12-04T01:42:18.313331 | 2020-08-17T15:36:44 | 2020-08-17T15:36:44 | 284,404,931 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,591 | r | chapter_3_3.R | # Данните са https://archive.ics.uci.edu/ml/datasets/Polish+companies+bankruptcy+data#
library(foreign)
library(stats)
library(caret)
readData <- function(bAllData = FALSE)
{
if (TRUE == bAllData) {
d1 <- read.arff("c:/Stanio/Mono_S/Data/1year.arff")
d2 <- read.arff("c:/Stanio/Mono_S/Data/2year.arff")
d... |
d6728aedd0e7c0964a9b291c42fd34475209f112 | e5c43a31a082bbfec5ebbc20b34d373896721579 | /R/functions/round.extent.R | 9434812c525fc251f314410e60918e70ae00ac10 | [] | no_license | geryan/rfst | 3dde3a499651f3a1ccc736f8c6597c5972f0e17c | 0aac1f0c3b17096af0c5b0b06e1ad80ac6d709ca | refs/heads/master | 2023-05-02T12:32:51.743467 | 2021-04-27T01:26:47 | 2021-04-27T01:26:47 | 164,573,310 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 104 | r | round.extent.R | round.extent <- function(x){
library(raster)
extent(x) <- round(extent(x))
return(x)
} |
8f3c421e6a2985cefeae26cdf716500177b571e9 | e26f9101996074842a8bc796aae6280572489aec | /man/copyMatricesToVirtualSdy.Rd | ef8f020b3b6824d6dfc68e9c36f3ee52cada07da | [] | no_license | ehfhcrc/UpdateAnno | 5c31ea9aac2ecf0f1b5e256cce3abd93f6c79da8 | f8e561750e1d5cdee90d08753a34ff78a9813926 | refs/heads/master | 2021-01-19T08:03:01.670544 | 2018-10-10T16:30:29 | 2018-10-10T16:30:29 | 87,593,499 | 1 | 1 | null | 2021-01-11T18:32:19 | 2017-04-07T23:09:30 | R | UTF-8 | R | false | true | 533 | rd | copyMatricesToVirtualSdy.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/CopyMatricesToVirtualSdy.R
\name{copyMatricesToVirtualSdy}
\alias{copyMatricesToVirtualSdy}
\title{Function to migrate a copy of EMs from /Studies/ to a virtual study container}
\usage{
copyMatricesToVirtualSdy(ISserver, virtualSdy)
}
\argume... |
3e82818e1a312d77cbd0e0d3e89ad3aeba967f26 | 473dfd3f5c89fd2bf2087c524c52e484ecc823b6 | /man/lineLength.Rd | 8949706184a7cf2ac1709685fde996c2176c8908 | [] | no_license | cran/SDraw | 038ec0a0f2d8a094f89d258d43edb15a003303b2 | 0b06c5ecbd424a0d9ba59fe5fd4f4bf30a1ce326 | refs/heads/master | 2021-01-17T19:20:33.351896 | 2020-07-03T15:20:09 | 2020-07-03T15:20:09 | 60,879,512 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,888 | rd | lineLength.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/lineLength.r
\name{lineLength}
\alias{lineLength}
\title{Line length}
\usage{
lineLength(x, byid = FALSE)
}
\arguments{
\item{x}{A spatial object inheriting from \code{SpatialLines}, \code{SpatialPolygons},
or \code{SpatialPoints}.... |
f7515a79f77d5c8425a0f1e0eef9bd37d1d57bd6 | 92427118c4b0dd55689ce8e6cb57555743e54c6b | /tools/dockerfiles/scripts/sc_tools/sc_rna_cluster.R | 1fc5c5846e3f4f61b0d73e4aba6b132c21914ee6 | [] | no_license | Barski-lab/workflows | c8edc08020a5fedcd4d49cd16ac6ea3bda8b9c15 | 839de7ba3d04bf73c5884b0e30e0b332fcc07830 | refs/heads/master | 2023-08-16T19:43:56.821249 | 2023-08-09T17:28:26 | 2023-08-09T17:28:26 | 152,797,483 | 5 | 11 | null | 2023-07-05T20:09:52 | 2018-10-12T19:17:32 | Common Workflow Language | UTF-8 | R | false | false | 28,119 | r | sc_rna_cluster.R | #!/usr/bin/env Rscript
options(warn=-1)
options("width"=200)
options(error=function(){traceback(3); quit(save="no", status=1, runLast=FALSE)})
suppressMessages(library(dplyr))
suppressMessages(library(Seurat))
suppressMessages(library(Signac))
suppressMessages(library(modules))
suppressMessages(library(forcats))
suppr... |
b452902ede75d4c4a9e2968ef63637da4b90adcc | eb62b4e11c2fabee75b4dcfbe5ab2e11a64450b9 | /man/get_variant_set.Rd | b87431f87be33f4cfd52a94addf32e05f5ca5817 | [] | no_license | cran/Rga4gh | af195a0de5a16298c01d9c0692715ec1e582bf5b | 76cd4974e4a1d9fc6dcebe3c46c27f4f164b75e6 | refs/heads/master | 2020-12-24T10:57:01.533892 | 2016-11-07T21:07:40 | 2016-11-07T21:07:40 | 73,116,702 | 0 | 1 | null | 2017-02-08T20:45:22 | 2016-11-07T20:12:44 | R | UTF-8 | R | false | true | 599 | rd | get_variant_set.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get.R
\name{get_variant_set}
\alias{get_variant_set}
\title{GET a Variant Set}
\usage{
get_variant_set(client, variant_set_id)
}
\arguments{
\item{client}{A ga4gh_client object}
\item{variant_set_id}{The ID of the Variant Set}
}
... |
77ef98fdf4c2f87ece177ebc4507cc0aef08b928 | 67f31a9f56d85ede80920358fe40462c2cb710ed | /man/ctrlP.Rd | d5261e134412bd5a31436e68fb80821abe0485de | [] | no_license | vh-d/VHtools | ff95b01424c210b3451f4ee63d5aaa016e553c2e | a7907e8ba370523ca92985fb73f734a3284896b8 | refs/heads/master | 2020-04-12T06:25:18.169942 | 2019-04-09T20:09:34 | 2019-04-09T20:09:34 | 60,918,606 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 526 | rd | ctrlP.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/io.R
\name{ctrlP}
\alias{ctrlP}
\title{read from clipboard for easy copy-paste from spreasdsheet (Excel)
\code{ctrlP} reads clipboard (copied from excel or other spreasheet) and returns a \code{data.frame}.}
\usage{
ctrlP(dec = ",", sep = "\\... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.